sip-router
4 years agoMakefile.defs: version set to 5.0.0-dev5
Daniel-Constantin Mierla [Tue, 7 Jun 2016 14:21:25 +0000 (16:21 +0200)]
Makefile.defs: version set to 5.0.0-dev5

4 years agousrloc: use recursive locks for location hash table
Daniel-Constantin Mierla [Tue, 7 Jun 2016 14:12:28 +0000 (16:12 +0200)]
usrloc: use recursive locks for location hash table

- allow recursive access to the same slot
- reported by Olle E. Johansson, GH #577

4 years agodialog Update docs on states - Early state is not saved in database
Olle E. Johansson [Tue, 7 Jun 2016 13:54:44 +0000 (15:54 +0200)]
dialog Update docs on states - Early state is not saved in database

4 years agodialog Clarify some error messages
Olle E. Johansson [Tue, 7 Jun 2016 13:53:38 +0000 (15:53 +0200)]
dialog Clarify some error messages

4 years agotm: relocated pointers in cfg group structure to align them to 8bytes
Daniel-Constantin Mierla [Tue, 7 Jun 2016 13:35:04 +0000 (15:35 +0200)]
tm: relocated pointers in cfg group structure to align them to 8bytes

- cope with stricter cpu architectures like sparc
- reported by GH #655

4 years agotls: proper check of libssl versions used for compilation and available on system
Daniel-Constantin Mierla [Tue, 7 Jun 2016 13:21:06 +0000 (15:21 +0200)]
tls: proper check of libssl versions used for compilation and available on system

- shift out the last 12bits, being the patch version and status (see man
  SSLeay)
- reported by Victor Seva, GH #662

4 years agocore: locking - added recursive lock apis
Daniel-Constantin Mierla [Tue, 7 Jun 2016 13:14:22 +0000 (15:14 +0200)]
core: locking - added recursive lock apis

- new structure rec_lock_t
- api functions:
- rec_lock_alloc()
- rec_lock_init(rlock)
- rec_lock_destroy(rlock)
- rec_lock_dealloc(rlock)
- rec_lock_get(rlock)
- rec_lock_release(rlock)

4 years agodialog Document states of a dialog
Olle E. Johansson [Tue, 7 Jun 2016 12:25:31 +0000 (14:25 +0200)]
dialog Document states of a dialog

The states are stored in the state_column in the database, but was only explained in source code previously

4 years agodialog Use proper name for parameter
Olle E. Johansson [Tue, 7 Jun 2016 12:13:58 +0000 (14:13 +0200)]
dialog Use proper name for parameter

4 years agodialog Use correct default name for toroute_name database column
Olle E. Johansson [Tue, 7 Jun 2016 12:05:17 +0000 (14:05 +0200)]
dialog Use correct default name for toroute_name database column

4 years agodialog fix typo in README and doc
Olle E. Johansson [Tue, 7 Jun 2016 11:48:52 +0000 (13:48 +0200)]
dialog fix typo in README and doc

The call_id_column variable was named callid_column in the doc.

(cherry picked from commit 09cb608ee56ca4d336d5a02c8bf2fd5ea05ff4d0)

4 years agoMerge pull request #657 from linuxmaniac/vseva/fix_warnings
Victor Seva [Tue, 7 Jun 2016 10:19:41 +0000 (12:19 +0200)]
Merge pull request #657 from linuxmaniac/vseva/fix_warnings

fix compilation warnings

4 years agomodules/ims_qos,modules/ims_registrar_scscf,modules/ims_auth: Warning logical-op...
jaybeepee [Tue, 7 Jun 2016 06:40:29 +0000 (08:40 +0200)]
modules/ims_qos,modules/ims_registrar_scscf,modules/ims_auth: Warning logical-op-parentheses

4 years agomodules/ims_qos: bandiwdth only added to AAR if > 0
jaybeepee [Tue, 7 Jun 2016 06:33:30 +0000 (08:33 +0200)]
modules/ims_qos: bandiwdth only added to AAR if > 0

4 years agomodules/ims_registrar_scscf: expires should be int and not unsigned int
jaybeepee [Tue, 7 Jun 2016 06:30:45 +0000 (08:30 +0200)]
modules/ims_registrar_scscf: expires should be int and not unsigned int

4 years agomodules/ims_charging: remove useless conditions
jaybeepee [Tue, 7 Jun 2016 06:29:49 +0000 (08:29 +0200)]
modules/ims_charging: remove useless conditions

4 years agomodules/ims_auth: return null instead of integer
jaybeepee [Tue, 7 Jun 2016 06:07:38 +0000 (08:07 +0200)]
modules/ims_auth: return null instead of integer

4 years agohttpapitest Small cosmetic fixes
Olle E. Johansson [Fri, 3 Jun 2016 20:25:39 +0000 (22:25 +0200)]
httpapitest Small cosmetic fixes

4 years agohttpapitest Actually use the API function :-)
Olle E. Johansson [Fri, 3 Jun 2016 20:14:31 +0000 (22:14 +0200)]
httpapitest Actually use the API function :-)

4 years agohttpapitest Fixing test function
Olle E. Johansson [Fri, 3 Jun 2016 20:06:36 +0000 (22:06 +0200)]
httpapitest Fixing test function

4 years agoutils/misc/vim: added few missing tokens to vim syntax highlighting
Daniel-Constantin Mierla [Mon, 6 Jun 2016 15:33:08 +0000 (17:33 +0200)]
utils/misc/vim: added few missing tokens to vim syntax highlighting

4 years agotls: fix compilation warning 657/head
Victor Seva [Mon, 6 Jun 2016 09:47:23 +0000 (11:47 +0200)]
tls: fix compilation warning

> tls_config.c:403:6: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>                                         write(out_fd, &ch, 1);
>                                         ^~~~~ ~~~~~~~~~~~~~~
> tls_config.c:408:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>                                 write(out_fd, &ch, 1);
>                                 ^~~~~ ~~~~~~~~~~~~~~
> 2 warnings generated.

4 years agoapp_java: fix compiler warning
Victor Seva [Mon, 6 Jun 2016 09:41:14 +0000 (11:41 +0200)]
app_java: fix compiler warning

> java_msgobj.c:233:80: warning: comparison of array 'msg->add_to_branch_s' equal to a null pointer is always false [-Wtautological-pointer-compare]
>     jStrParam = (*env)->NewStringUTF(env, (msg->add_to_branch_len <= 0 || msg->add_to_branch_s == NULL) ? "" : strdup(msg->add_to_branch_s));
>                                                                           ~~~~~^~~~~~~~~~~~~~~    ~~~~
> 1 warning generated.

4 years agoims_auth: fix compilation warnigns
Victor Seva [Mon, 6 Jun 2016 09:03:10 +0000 (11:03 +0200)]
ims_auth: fix compilation warnigns

> cxdx_avp.c:661:26: warning: comparison of constant 4 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
>         if (!avp||!avp->data.len==4) *item_number=0;
>                   ~~~~~~~~~~~~~~^ ~
> 1 warning generated.

> cxdx_mar.c:372:45: warning: comparison of constant 32 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
>                 if (!tmp->response_auth.len == 32
>                     ~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~

4 years agoims_dialog: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:58:29 +0000 (10:58 +0200)]
ims_dialog: fix compilation warning

> dlg_handlers.c:1345:63: warning: address of 'rpl->via1->branch->value' will always evaluate to 'true' [-Wpointer-bool-conversion]
>                 if (rpl->via1->branch && (&rpl->via1->branch->value) && (rpl->via1->branch->value.len > 0)) {
>                                       ~~   ~~~~~~~~~~~~~~~~~~~^~~~~
> 1 warning generated.

4 years agocdp: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:39:43 +0000 (10:39 +0200)]
cdp: fix compilation warning

> diameter_msg.c:443:10: warning: implicit conversion from enumeration type 'AAAReturnCode' to different enumeration type 'AAAResultCode' [-Wenum-conversion]
>                 return AAA_ERR_SUCCESS;
>                 ~~~~~~ ^~~~~~~~~~~~~~~
> 1 warning generated.

4 years agocdp: fix compilation warnings
Victor Seva [Mon, 6 Jun 2016 08:24:01 +0000 (10:24 +0200)]
cdp: fix compilation warnings

> peerstatemachine.c:97:19: warning: implicit conversion from enumeration type 'peer_state_t' to different enumeration type 'peer_event_t' [-Wenum-conversion]
>                                         next_event = I_Snd_Conn_Req(p);
>                                                    ~ ^~~~~~~~~~~~~~~~~
> peerstatemachine.c:531:10: warning: implicit conversion from enumeration type 'peer_event_t' to different enumeration type 'peer_state_t' [-Wenum-conversion]
>                 return I_Rcv_Conn_NAck;
>                 ~~~~~~ ^~~~~~~~~~~~~~~
> peerstatemachine.c:534:9: warning: implicit conversion from enumeration type 'peer_event_t' to different enumeration type 'peer_state_t' [-Wenum-conversion]
>         return I_Rcv_Conn_Ack;
>         ~~~~~~ ^~~~~~~~~~~~~~
> 3 warnings generated.

4 years agocdp: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:22:57 +0000 (10:22 +0200)]
cdp: fix compilation warning

> peerstatemachine.c:97:19: warning: implicit conversion from enumeration type 'peer_state_t' to different enumeration type 'peer_event_t' [-Wenum-conversion]
>                                         next_event = I_Snd_Conn_Req(p);
>                                                    ~ ^~~~~~~~~~~~~~~~~
> peerstatemachine.c:531:10: warning: implicit conversion from enumeration type 'peer_event_t' to different enumeration type 'peer_state_t' [-Wenum-conversion]
>                 return I_Rcv_Conn_NAck;
>                 ~~~~~~ ^~~~~~~~~~~~~~~
> peerstatemachine.c:534:9: warning: implicit conversion from enumeration type 'peer_event_t' to different enumeration type 'peer_state_t' [-Wenum-conversion]
>         return I_Rcv_Conn_Ack;
>         ~~~~~~ ^~~~~~~~~~~~~~
> 3 warnings generated.

4 years agopua_xmpp: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:10:13 +0000 (10:10 +0200)]
pua_xmpp: fix compilation warning

> xmpp2simple.c:372:10: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
>                 slash= '\0';
>                        ^~~~
> 1 warning generated.

4 years agopeering: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:05:45 +0000 (10:05 +0200)]
peering: fix compilation warning

> verify.c:58:30: warning: comparison of array 'vp->strvalue' equal to a null pointer is always false [-Wtautological-pointer-compare]
>     if (vp->lvalue==0 || vp->strvalue==0)
>                          ~~~~^~~~~~~~  ~
> 1 warning generated.

4 years agomisc_radius: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 08:03:42 +0000 (10:03 +0200)]
misc_radius: fix compilation warning

> functions.c:47:27: warning: comparison of array 'vp->strvalue' equal to a null pointer is always false [-Wtautological-pointer-compare]
>         if (vp->lvalue==0 || vp->strvalue==0)
>                              ~~~~^~~~~~~~  ~
> 1 warning generated.

4 years agoauth_radius: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 07:45:38 +0000 (09:45 +0200)]
auth_radius: fix compilation warning

> authorize.c:110:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_NONCE_REUSED;
>             ~ ^~~~~~~~~~~~~~~~~
> authorize.c:114:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_STALE_NONCE;
>             ~ ^~~~~~~~~~~~~~~~
> authorize.c:120:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_ERROR;
>             ~ ^~~~~~~~~~
> authorize.c:124:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_NO_CREDENTIALS;
>             ~ ^~~~~~~~~~~~~~~~~~~
> authorize.c:131:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_OK;
>             ~ ^~~~~~~
> authorize.c:148:9: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>                 ret = AUTH_ERROR;
>                     ~ ^~~~~~~~~~
> authorize.c:153:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>             ret = AUTH_ERROR;
>                 ~ ^~~~~~~~~~
> authorize.c:159:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>             ret = AUTH_ERROR;;
>                 ~ ^~~~~~~~~~
> authorize.c:186:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>             ret = AUTH_ERROR;
>                 ~ ^~~~~~~~~~
> authorize.c:189:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>             ret = AUTH_OK;
>                 ~ ^~~~~~~
> authorize.c:193:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
>         ret = AUTH_INVALID_PASSWORD;
>             ~ ^~~~~~~~~~~~~~~~~~~~~
> 11 warnings generated.

4 years agodb_berkeley: fix compilation warning
Victor Seva [Mon, 6 Jun 2016 07:37:36 +0000 (09:37 +0200)]
db_berkeley: fix compilation warning

> km_db_berkeley.c:486:58: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>                 if ((ret = bdb_get_columns(_tbc->dtp, *_r, lres, _nc)) < 0)
>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> km_db_berkeley.c:513:50: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>                         if ((ret=bdb_append_row( *_r, dbuf, lres, i)) < 0)
>                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> km_db_berkeley.c:567:58: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>                 if ((ret = bdb_get_columns(_tbc->dtp, *_r, lres, _nc)) < 0)
>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> km_db_berkeley.c:572:47: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>                 if ((ret=bdb_convert_row( *_r, dbuf, lres)) < 0)
>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> 4 warnings generated.

4 years agomodules/ims_qos, modules/ims_registrar_scscf: cast 0 to U for unsigned comparisions
jaybeepee [Mon, 6 Jun 2016 09:46:35 +0000 (11:46 +0200)]
modules/ims_qos, modules/ims_registrar_scscf: cast 0 to U for unsigned comparisions
- strict compiler silencing

4 years agomodules/ims_registrar_scscf: fixed possible shm corruption
jaybeepee [Mon, 6 Jun 2016 09:31:00 +0000 (11:31 +0200)]
modules/ims_registrar_scscf: fixed possible shm corruption
- in async reply mode, working on shm orig request is bad
- instead work on a copy of original request in pkg (parsing, etc)

4 years agomodules/ims_registrar_pcscf: incorrect flag when searching for pcontact
jaybeepee [Mon, 6 Jun 2016 09:28:03 +0000 (11:28 +0200)]
modules/ims_registrar_pcscf: incorrect flag when searching for pcontact

4 years agomodules/ims_charging: fix charging error in race between interim update and final...
jaybeepee [Mon, 6 Jun 2016 09:27:08 +0000 (11:27 +0200)]
modules/ims_charging: fix charging error in race between interim update and final charge

4 years agomodules/ims_charging: change WARN to DBG
jaybeepee [Mon, 6 Jun 2016 09:08:43 +0000 (11:08 +0200)]
modules/ims_charging: change WARN to DBG

4 years agomodules/ims_auth: fixed possible shm corruption
jaybeepee [Mon, 6 Jun 2016 09:06:24 +0000 (11:06 +0200)]
modules/ims_auth: fixed possible shm corruption
- in async mode getting SIP req from tx, working on shm orig request is bad
- instead work on a copy in pkg (parsing, etc)

4 years agomodules/ims_auth: fixed possible shm corruption
jaybeepee [Mon, 6 Jun 2016 09:05:30 +0000 (11:05 +0200)]
modules/ims_auth: fixed possible shm corruption
- in async mode getting SIP req from tx, working on shm orig request is bad
- instead work on a copy in pkg (parsing, etc)

4 years agomodules/ims_qos: fixed possible shm corruption
jaybeepee [Mon, 6 Jun 2016 09:03:41 +0000 (11:03 +0200)]
modules/ims_qos: fixed possible shm corruption
- in async reply mode, working on shm orig request is bad
- instead work on a copy of original request in pkg (parsing, etc)

4 years agoMerge pull request #656 from grumvalski/fix-563
Federico Cabiddu [Mon, 6 Jun 2016 09:06:00 +0000 (11:06 +0200)]
Merge pull request #656 from grumvalski/fix-563

cnxcc: release credit_data in terminate_all_calls

4 years agocnxcc: release credit_data in terminate_all_calls 656/head
grumvalski [Sun, 5 Jun 2016 06:27:37 +0000 (08:27 +0200)]
cnxcc: release credit_data in terminate_all_calls

- GH #563

4 years agotest Adding test configuration starting point
Olle E. Johansson [Fri, 3 Jun 2016 19:50:52 +0000 (21:50 +0200)]
test Adding test configuration starting point

4 years agotest Adding documentation on module test
Olle E. Johansson [Fri, 3 Jun 2016 19:27:26 +0000 (21:27 +0200)]
test Adding documentation on module test

At this point this is just ideas and a proposal. Let's test it. Includes ideas on
variant of the abort() function in cfg_utils

4 years agoAdding test modules for http_client API
Olle E. Johansson [Fri, 3 Jun 2016 19:18:35 +0000 (21:18 +0200)]
Adding test modules for http_client API

4 years agomodules_ims: fix to ensure active media session stats are correctly decremented
Richard Good [Fri, 3 Jun 2016 13:46:54 +0000 (15:46 +0200)]
modules_ims: fix to ensure active media session stats are correctly decremented

4 years agoMerge pull request #652 from linuxmaniac/vseva_xmlrpc_fix
Victor Seva [Fri, 3 Jun 2016 12:06:45 +0000 (14:06 +0200)]
Merge pull request #652 from linuxmaniac/vseva_xmlrpc_fix

xmlrpc: remove redeclaration of snprintf and vsnprintf

4 years agoxmlrpc: remove redeclaration of snprintf and vsnprintf 652/head
Victor Seva [Fri, 3 Jun 2016 11:55:42 +0000 (13:55 +0200)]
xmlrpc: remove redeclaration of snprintf and vsnprintf

compilation was failling with clang:

> CC (clang) [M xmlrpc.so] xmlrpc.o
> xmlrpc.c:152:5: error: expected parameter declarator
> int snprintf(char *str, size_t size, const char *format, ...);
>     ^
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:39: note: expanded from macro 'snprintf'
>   __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \
>                                       ^
> /usr/include/features.h:329:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
> #  define __USE_FORTIFY_LEVEL 2
>                               ^
> xmlrpc.c:152:5: error: expected ')'
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:39: note: expanded from macro 'snprintf'
>   __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \
>                                       ^
> /usr/include/features.h:329:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
> #  define __USE_FORTIFY_LEVEL 2
>                               ^
> xmlrpc.c:152:5: note: to match this '('
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:28: note: expanded from macro 'snprintf'
>   __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \
>                            ^
> xmlrpc.c:152:5: error: conflicting types for '__builtin___snprintf_chk'
> int snprintf(char *str, size_t size, const char *format, ...);
>     ^
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:3: note: expanded from macro 'snprintf'
>   __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \
>   ^
> xmlrpc.c:152:5: note: '__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int, unsigned long, const char *, ...)'
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:69:3: note: expanded from macro 'snprintf'
>   __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \
>   ^
> 3 errors generated.

4 years agotravis: remove rebuild twice for MEMDBG test
Victor Seva [Fri, 3 Jun 2016 09:17:07 +0000 (11:17 +0200)]
travis: remove rebuild twice for MEMDBG test

4 years agopkg/kamailio/deb: fix build rule for modules
Victor Seva [Fri, 3 Jun 2016 09:12:50 +0000 (11:12 +0200)]
pkg/kamailio/deb: fix build rule for modules

4 years agohttp_client Rename the API in .h file
Olle E. Johansson [Fri, 3 Jun 2016 08:35:02 +0000 (10:35 +0200)]
http_client Rename the API in .h file

4 years agokamctl remove svn ID's and history
Olle E. Johansson [Fri, 3 Jun 2016 08:34:25 +0000 (10:34 +0200)]
kamctl remove svn ID's and history

4 years agoMerge pull request #637 from mslehto/ims-warning
Daniel-Constantin Mierla [Fri, 3 Jun 2016 07:25:43 +0000 (09:25 +0200)]
Merge pull request #637 from mslehto/ims-warning

Fix or silence warnings given by Clang

4 years agortpengine: cookie is now $server_id_$mypid_$myseqn
Lucian Balaceanu [Thu, 2 Jun 2016 15:34:39 +0000 (17:34 +0200)]
rtpengine: cookie is now $server_id_$mypid_$myseqn

4 years agoJANSSON: Improved support for JSON-Type "Integer", which can in fact be long (or...
Carsten Bock [Thu, 2 Jun 2016 14:46:51 +0000 (17:46 +0300)]
JANSSON: Improved support for JSON-Type "Integer", which can in fact be long (or even long long)

4 years agomodules/ims_usrloc_scscf: do not use DB functions if db_mode not enabled.
jaybeepee [Thu, 2 Jun 2016 14:30:21 +0000 (16:30 +0200)]
modules/ims_usrloc_scscf: do not use DB functions if db_mode not enabled.

4 years agoRevert "modules/ims_qos modules/ims_registrar_scscf: fix comparison of unsigned expre... 637/head
Mikko Lehto [Thu, 2 Jun 2016 13:50:35 +0000 (16:50 +0300)]
Revert "modules/ims_qos modules/ims_registrar_scscf: fix comparison of unsigned expression"

This reverts commit 94b4c25640c0f486c578a9e0670dad0aa5dda0c1.

4 years agortpengine: change cookie to hostname_pid_seqno
Lucian Balaceanu [Thu, 2 Jun 2016 10:50:02 +0000 (13:50 +0300)]
rtpengine: change cookie to hostname_pid_seqno

- pid_seqno in gencookie() is not a unique identifictor in a multi kamailio setup

4 years agopresence: documentation for retrieve_order_by parameter
Daniel-Constantin Mierla [Thu, 2 Jun 2016 06:41:04 +0000 (08:41 +0200)]
presence: documentation for retrieve_order_by parameter

4 years agopresence: new parameter to set the order by string for fetching records
Daniel-Constantin Mierla [Thu, 2 Jun 2016 06:34:16 +0000 (08:34 +0200)]
presence: new parameter to set the order by string for fetching records

- used when retrieve_order is 1
- new param: retrieve_order_by - default value is 'priority'

4 years agoMerge pull request #651 from adubovikov/master
Alexandr Dubovikov [Wed, 1 Jun 2016 14:57:23 +0000 (16:57 +0200)]
Merge pull request #651 from adubovikov/master

module/sipcapture added missed diversion.

4 years agodiversion_user -> diversion 651/head
Alexandr Dubovikov [Wed, 1 Jun 2016 14:12:36 +0000 (16:12 +0200)]
diversion_user -> diversion

4 years agoadded missed diversion.
Alexandr Dubovikov [Wed, 1 Jun 2016 14:03:22 +0000 (16:03 +0200)]
added missed diversion.

thanks  lcligny for report

4 years agoMerge pull request #649 from athonet-open/fix-ims_registrar_pcscf
ng-voice GmbH [Wed, 1 Jun 2016 11:05:36 +0000 (13:05 +0200)]
Merge pull request #649 from athonet-open/fix-ims_registrar_pcscf

ims_registrar_pcscf: fix getContactP() for is_registered_fallback2ip param.

4 years agoMerge pull request #647 from smititelu/master
Daniel-Constantin Mierla [Wed, 1 Jun 2016 09:08:22 +0000 (11:08 +0200)]
Merge pull request #647 from smititelu/master

mem: Add on-error log messages for q_/f_ functions

4 years agohttp_client Improve error messages
Olle E. Johansson [Tue, 31 May 2016 20:21:12 +0000 (22:21 +0200)]
http_client Improve error messages

4 years agohttp_client Extend API with function to retrieve content-type of previous
Olle E. Johansson [Tue, 31 May 2016 19:53:52 +0000 (21:53 +0200)]
http_client Extend API with function to retrieve content-type of previous
transaction in the same process

4 years agomisc/vim: syntax highlighting for log facility values
Daniel-Constantin Mierla [Tue, 31 May 2016 15:21:29 +0000 (17:21 +0200)]
misc/vim: syntax highlighting for log facility values

4 years agodb_perlvdb update README
Olle E. Johansson [Tue, 31 May 2016 15:12:30 +0000 (17:12 +0200)]
db_perlvdb update README

4 years agohtable update README
Olle E. Johansson [Tue, 31 May 2016 15:02:15 +0000 (17:02 +0200)]
htable update README

4 years agodomainpolicy update README
Olle E. Johansson [Tue, 31 May 2016 15:02:02 +0000 (17:02 +0200)]
domainpolicy update README

4 years agopresence update README
Olle E. Johansson [Tue, 31 May 2016 15:00:48 +0000 (17:00 +0200)]
presence update README

4 years agodb_berkeley update README
Olle E. Johansson [Tue, 31 May 2016 14:59:24 +0000 (16:59 +0200)]
db_berkeley update README

4 years agocounters update README
Olle E. Johansson [Tue, 31 May 2016 14:59:11 +0000 (16:59 +0200)]
counters update README

4 years agocorex update README
Olle E. Johansson [Tue, 31 May 2016 14:58:57 +0000 (16:58 +0200)]
corex update README

4 years agocarrierroute update README
Olle E. Johansson [Tue, 31 May 2016 14:58:45 +0000 (16:58 +0200)]
carrierroute update README

4 years agocdp_avp update README
Olle E. Johansson [Tue, 31 May 2016 14:58:26 +0000 (16:58 +0200)]
cdp_avp update README

4 years agoregistrar update README
Olle E. Johansson [Tue, 31 May 2016 14:58:09 +0000 (16:58 +0200)]
registrar update README

4 years agopua_dialoginfo update README
Olle E. Johansson [Tue, 31 May 2016 14:57:55 +0000 (16:57 +0200)]
pua_dialoginfo update README

4 years agopua update README
Olle E. Johansson [Tue, 31 May 2016 14:57:40 +0000 (16:57 +0200)]
pua update README

4 years agodb_mysql update README
Olle E. Johansson [Tue, 31 May 2016 14:57:26 +0000 (16:57 +0200)]
db_mysql update README

4 years agocall_control update README
Olle E. Johansson [Tue, 31 May 2016 14:57:11 +0000 (16:57 +0200)]
call_control update README

4 years agoauth Update README
Olle E. Johansson [Tue, 31 May 2016 14:56:57 +0000 (16:56 +0200)]
auth Update README

4 years agonathelper update README
Olle E. Johansson [Tue, 31 May 2016 14:56:33 +0000 (16:56 +0200)]
nathelper update README

4 years agodialog update README
Olle E. Johansson [Tue, 31 May 2016 14:56:18 +0000 (16:56 +0200)]
dialog update README

4 years agodebugger update README
Olle E. Johansson [Tue, 31 May 2016 14:56:07 +0000 (16:56 +0200)]
debugger update README

4 years agopdt update README
Olle E. Johansson [Tue, 31 May 2016 14:55:34 +0000 (16:55 +0200)]
pdt update README

4 years agoims_dialog Update README
Olle E. Johansson [Tue, 31 May 2016 14:55:14 +0000 (16:55 +0200)]
ims_dialog Update README

4 years agodb_text update README
Olle E. Johansson [Tue, 31 May 2016 14:55:02 +0000 (16:55 +0200)]
db_text update README

4 years agodispatcher update README
Olle E. Johansson [Tue, 31 May 2016 14:54:35 +0000 (16:54 +0200)]
dispatcher update README

4 years agomi_datagram Update README
Olle E. Johansson [Tue, 31 May 2016 14:54:18 +0000 (16:54 +0200)]
mi_datagram Update README

4 years agopua_usrloc Update README
Olle E. Johansson [Tue, 31 May 2016 14:51:37 +0000 (16:51 +0200)]
pua_usrloc Update README

4 years agorls update README
Olle E. Johansson [Tue, 31 May 2016 14:50:15 +0000 (16:50 +0200)]
rls update README

4 years agortpproxy update README
Olle E. Johansson [Tue, 31 May 2016 14:49:59 +0000 (16:49 +0200)]
rtpproxy update README

4 years agosiputils update README
Olle E. Johansson [Tue, 31 May 2016 14:49:48 +0000 (16:49 +0200)]
siputils update README

4 years agosnmpstats Update README
Olle E. Johansson [Tue, 31 May 2016 14:49:35 +0000 (16:49 +0200)]
snmpstats Update README

4 years agoxmlrpc Update README (new example code)
Olle E. Johansson [Tue, 31 May 2016 14:48:47 +0000 (16:48 +0200)]
xmlrpc Update README (new example code)

4 years agoxcap_server Update README
Olle E. Johansson [Tue, 31 May 2016 14:47:43 +0000 (16:47 +0200)]
xcap_server Update README

4 years agoxcap_client Update README
Olle E. Johansson [Tue, 31 May 2016 14:46:56 +0000 (16:46 +0200)]
xcap_client Update README