sip-router
4 years agoMerge pull request #307 from mawis/typo_fix
Daniel-Constantin Mierla [Tue, 1 Sep 2015 07:06:41 +0000 (09:06 +0200)]
Merge pull request #307 from mawis/typo_fix

Small typo fix in config.

4 years agoSmall typo fix in config. 307/head
Matthias Wimmer [Fri, 28 Aug 2015 23:03:34 +0000 (01:03 +0200)]
Small typo fix in config.

4 years agogeoip: set null termination to the field used for query
Daniel-Constantin Mierla [Fri, 28 Aug 2015 10:31:24 +0000 (12:31 +0200)]
geoip: set null termination to the field used for query

4 years agodb_postgres: Fix heap use after free error in db_postgres module curl
Carsten Bock [Fri, 28 Aug 2015 10:08:10 +0000 (12:08 +0200)]
db_postgres: Fix heap use after free error in db_postgres module

The result structure for a query holds a pointer returned by
PQfname. When sql_do_query executes the query it gets this
database result structure returned but the PQfname pointer
has already been free'd by a call to db_postgres_free_query
from within db_postgres_store_result.

sql_do_query then tries to copy the free'd string into another
result structure resulting in a heap use after free.

The fix here copies the PQfname result.

Fix by Chris Double

4 years agoutils: Fix buffer overflow; do not NULL-terminate HTTP result
Carsten Bock [Fri, 28 Aug 2015 08:56:37 +0000 (10:56 +0200)]
utils: Fix buffer overflow; do not NULL-terminate HTTP result

Fix buffer overflow in the `write_function` that takes the resulting
data from libcurl. The function was trying to NULL terminate the
string, but this could result in overwriting the buffer by one byte
when size*nmemb == 1.
This also caused some memory corruptions, reported on sr-dev.

Reported by: Travis Cross <tc@traviscross.com>

4 years agousrloc: regenerated the readme
Daniel-Constantin Mierla [Fri, 28 Aug 2015 09:18:38 +0000 (11:18 +0200)]
usrloc: regenerated the readme

4 years agorr: regenerated the readme
Daniel-Constantin Mierla [Fri, 28 Aug 2015 09:18:24 +0000 (11:18 +0200)]
rr: regenerated the readme

4 years agoauth: regenerated the readme
Daniel-Constantin Mierla [Fri, 28 Aug 2015 09:18:10 +0000 (11:18 +0200)]
auth: regenerated the readme

4 years agodmq_usrloc: check existence of usrloc domain before continuing.
Charles Chance [Fri, 28 Aug 2015 06:58:13 +0000 (07:58 +0100)]
dmq_usrloc: check existence of usrloc domain before continuing.

4 years agoxlog: regenerated the readme
Elena-Ramona Modroiu [Thu, 27 Aug 2015 17:02:23 +0000 (19:02 +0200)]
xlog: regenerated the readme

4 years agoxlog: documented new functions
Elena-Ramona Modroiu [Thu, 27 Aug 2015 17:01:07 +0000 (19:01 +0200)]
xlog: documented new functions

- xinfo(), xnotice(), xwarn(), xerr(), xbug(), xcrit(), xalert()

4 years agoxlog: convenience functions for various log levels
Elena-Ramona Modroiu [Thu, 27 Aug 2015 16:59:23 +0000 (18:59 +0200)]
xlog: convenience functions for various log levels

- xinfo(), xnotice(), xwarn(), xerr(), xbug(), xcrit(), xalert()

4 years agojsonrpc-c: proper error handling for pipe cmd callback
Daniel-Constantin Mierla [Thu, 27 Aug 2015 13:58:48 +0000 (15:58 +0200)]
jsonrpc-c: proper error handling for pipe cmd callback

- credits to Hugh Waite for spotting missing return
- free vars if already set when error handling is done

4 years agomem: safety prev free checks for f_malloc extract operation
Daniel-Constantin Mierla [Thu, 27 Aug 2015 13:38:03 +0000 (15:38 +0200)]
mem: safety prev free checks for f_malloc extract operation

- following a report by Alex Balashov

4 years agoMerge pull request #306 from zxcpoiu/master
Daniel-Constantin Mierla [Thu, 27 Aug 2015 11:39:11 +0000 (13:39 +0200)]
Merge pull request #306 from zxcpoiu/master

usrloc: really do the ignore location record if it's a non-local socket

4 years agousrloc: new param to skip non-local location record 306/head
zxcpoiu [Thu, 27 Aug 2015 08:34:42 +0000 (16:34 +0800)]
usrloc: new param to skip non-local location record

- If set, kamailio will skip record if socket value doesn't in
  listening socket list when loading record from database.

4 years agousrloc: fixed typo in skipping record LM_ERR msg
zxcpoiu [Thu, 27 Aug 2015 07:29:12 +0000 (15:29 +0800)]
usrloc: fixed typo in skipping record LM_ERR msg

- doing "skip" action instead "sip" action

4 years agodialog: set the db null flag properly for contact fields
Daniel-Constantin Mierla [Thu, 27 Aug 2015 07:24:31 +0000 (09:24 +0200)]
dialog: set the db null flag properly for contact fields

4 years agodialog: handle malloc result for separated contact value
Daniel-Constantin Mierla [Thu, 27 Aug 2015 06:57:52 +0000 (08:57 +0200)]
dialog: handle malloc result for separated contact value

4 years agoMerge pull request #305 from mslehto/sipcapture-domain
Alexandr Dubovikov [Wed, 26 Aug 2015 19:57:21 +0000 (21:57 +0200)]
Merge pull request #305 from mslehto/sipcapture-domain

modules/sipcapture: adds insertion of request, From, and To URI domain part

4 years agomodules/sipcapture: stores request URI domain part 305/head
Mikko Lehto [Wed, 26 Aug 2015 19:20:25 +0000 (22:20 +0300)]
modules/sipcapture: stores request URI domain part

4 years agokamcmd: do binrpc read in non-strict mode
Daniel-Constantin Mierla [Wed, 26 Aug 2015 17:07:11 +0000 (19:07 +0200)]
kamcmd: do binrpc read in non-strict mode

- reported by Dmitri Savolainen, GH#145

4 years agolib/binrpc: updated code for the new prototype of binrpc read function
Daniel-Constantin Mierla [Wed, 26 Aug 2015 17:06:43 +0000 (19:06 +0200)]
lib/binrpc: updated code for the new prototype of binrpc read function

4 years agoctl: internal mode to allow non-strict reading binrpc packets
Daniel-Constantin Mierla [Wed, 26 Aug 2015 17:03:55 +0000 (19:03 +0200)]
ctl: internal mode to allow non-strict reading binrpc packets

- allow handling structs with simple values inside, some rpc responses
  are not strictly build as per xmlrpc/jsonrpc specs

4 years agokamcmd: lower max size for socket name
Daniel-Constantin Mierla [Wed, 26 Aug 2015 13:16:13 +0000 (15:16 +0200)]
kamcmd: lower max size for socket name

- was set to 108 which is common for linux, but mac os x has it 104
- set to 100 now

4 years agokamcmd: updated default server name references
Daniel-Constantin Mierla [Wed, 26 Aug 2015 13:09:17 +0000 (15:09 +0200)]
kamcmd: updated default server name references

4 years agousrloc: take in consideration aor case sensitive value for rpc commands
Daniel-Constantin Mierla [Wed, 26 Aug 2015 11:55:54 +0000 (13:55 +0200)]
usrloc: take in consideration aor case sensitive value for rpc commands

- reported by GH#264

4 years agoregistrar: propagate value of case_sensitive for aor to core
Daniel-Constantin Mierla [Wed, 26 Aug 2015 11:55:33 +0000 (13:55 +0200)]
registrar: propagate value of case_sensitive for aor to core

4 years agocore: keep info about aor being considered case sensitive or not
Daniel-Constantin Mierla [Wed, 26 Aug 2015 11:47:13 +0000 (13:47 +0200)]
core: keep info about aor being considered case sensitive or not

4 years agocore: partial revert from 546e624a859 wrong clear or routename
Victor Seva [Wed, 26 Aug 2015 08:56:32 +0000 (10:56 +0200)]
core: partial revert from 546e624a859 wrong clear or routename

4 years agodialog: regenerated the readme file
Daniel-Constantin Mierla [Wed, 26 Aug 2015 10:10:30 +0000 (12:10 +0200)]
dialog: regenerated the readme file

4 years agoMerge pull request #304 from jaybinks/JB-db_skip_load3
Daniel-Constantin Mierla [Wed, 26 Aug 2015 10:09:39 +0000 (12:09 +0200)]
Merge pull request #304 from jaybinks/JB-db_skip_load3

dialog: implement db_skip_load to skip loading dialogs on startup

4 years agocore: fix routename for event_route
Victor Seva [Tue, 25 Aug 2015 13:43:29 +0000 (15:43 +0200)]
core: fix routename for event_route

4 years agodialog: implement db_skip_load to skip loading dialogs on startup 304/head
Jay Binks [Wed, 26 Aug 2015 01:38:36 +0000 (11:38 +1000)]
dialog: implement db_skip_load to skip loading dialogs on startup

4 years agomi_datagram: free async handler when command completed
Daniel-Constantin Mierla [Tue, 25 Aug 2015 14:12:51 +0000 (16:12 +0200)]
mi_datagram: free async handler when command completed

- reported by Torge Szczepanek, GH#298

4 years agojsonrpc-c: free pipe cmd for notifications
Daniel-Constantin Mierla [Tue, 25 Aug 2015 13:53:02 +0000 (15:53 +0200)]
jsonrpc-c: free pipe cmd for notifications

- fixes leak reported by GH#296

4 years agodialog: refresh value for contact uri for each re-invite
Daniel-Constantin Mierla [Tue, 25 Aug 2015 13:37:34 +0000 (15:37 +0200)]
dialog: refresh value for contact uri for each re-invite

4 years agodialog: split out storage of contact from common memory block
Daniel-Constantin Mierla [Tue, 25 Aug 2015 13:13:16 +0000 (15:13 +0200)]
dialog: split out storage of contact from common memory block

- kept now in its own malloc'ed chunk

4 years agodialog: dlg var value stored as zero terminated string
Daniel-Constantin Mierla [Tue, 25 Aug 2015 12:28:17 +0000 (14:28 +0200)]
dialog: dlg var value stored as zero terminated string

- easier to use in std lib operations

4 years agodialog: set dlg var table as static and rename to avoid name conflicts
Daniel-Constantin Mierla [Tue, 25 Aug 2015 11:35:30 +0000 (13:35 +0200)]
dialog: set dlg var table as static and rename to avoid name conflicts

4 years agodispatcher: reformated code to fit in 80char lines for keepalives function
Daniel-Constantin Mierla [Tue, 25 Aug 2015 06:59:44 +0000 (08:59 +0200)]
dispatcher: reformated code to fit in 80char lines for keepalives function

4 years agoMerge pull request #297 from evolvetsi/master
Daniel-Constantin Mierla [Tue, 25 Aug 2015 06:57:43 +0000 (08:57 +0200)]
Merge pull request #297 from evolvetsi/master

dispatcher: add new probing_mode=3 to always probe flagged gateways

4 years agoMerge pull request #300 from grumvalski/ontimeout_bye_dlg_ctx
Daniel-Constantin Mierla [Tue, 25 Aug 2015 06:49:13 +0000 (08:49 +0200)]
Merge pull request #300 from grumvalski/ontimeout_bye_dlg_ctx

modules/dialog: make dialog context available in event route tm:local…

4 years agomodules/dialog: make dialog context available in event route tm:local-request 300/head
Federico Cabiddu [Tue, 25 Aug 2015 05:26:19 +0000 (07:26 +0200)]
modules/dialog: make dialog context available in event route tm:local-request

4 years agodispatcher: updated dispatcher_admin.xml to document new probing_mode 297/head
root [Mon, 24 Aug 2015 20:37:20 +0000 (16:37 -0400)]
dispatcher: updated dispatcher_admin.xml to document new probing_mode

   - as per @miconda, I moved my documentation for probing_mode=3 to
     the dispatcher_admin.xml file and regenerated the README.

4 years agoMerge pull request #299 from mslehto/warn-p_usrloc
Daniel-Constantin Mierla [Mon, 24 Aug 2015 20:31:35 +0000 (22:31 +0200)]
Merge pull request #299 from mslehto/warn-p_usrloc

modules/p_usrloc: fixes get_all_ucontacts() function signature

4 years agomodules/p_usrloc: fixes get_all_ucontacts() function signature 299/head
Mikko Lehto [Mon, 24 Aug 2015 19:26:30 +0000 (22:26 +0300)]
modules/p_usrloc: fixes get_all_ucontacts() function signature

usrloc.c:61:26: warning: incompatible pointer types assigning to
'get_all_ucontacts_t' (aka 'int (*)(void *, int, unsigned int, unsigned int, unsigned int, int)') from
'int (void *, int, unsigned int, unsigned int, unsigned int)'
[-Wincompatible-pointer-types]

4 years agodispatcher: add new probing_mode=3 to always probe flagged gateways
root [Mon, 24 Aug 2015 18:29:23 +0000 (14:29 -0400)]
dispatcher: add new probing_mode=3 to always probe flagged gateways

   - added DS_PROBE_ONLYFLAGGED probing_mode option.  If set,
     any gateways with a state of PROBING will be continually
     probed and the PROBING flag will never be cleared.  This
     allows probing specific gateways continually, keeping
     their up/down status current.

4 years agodmq_usrloc: fix indentation
Charles Chance [Mon, 24 Aug 2015 17:41:12 +0000 (18:41 +0100)]
dmq_usrloc: fix indentation

4 years agodmq_usrloc: check existence of usrloc domain before continuing.
Charles Chance [Mon, 24 Aug 2015 17:17:23 +0000 (18:17 +0100)]
dmq_usrloc: check existence of usrloc domain before continuing.

- avoids crash caused by passing null pointer to get_urecord_by_ruid().
- eventually need to implement multi-domain replication but usrloc API needs enhancing first.

4 years agosanity: adjusted log messages for check_proxy_require()
Daniel-Constantin Mierla [Mon, 24 Aug 2015 07:28:29 +0000 (09:28 +0200)]
sanity: adjusted log messages for check_proxy_require()

4 years agoevapi: do cfg framework update on i/o events
Daniel-Constantin Mierla [Sat, 22 Aug 2015 11:47:47 +0000 (13:47 +0200)]
evapi: do cfg framework update on i/o events

4 years agodb_postgres: memset vars to 0 to avoid using invalid values inside db_postgres_new_co...
Daniel-Constantin Mierla [Sat, 22 Aug 2015 07:44:12 +0000 (09:44 +0200)]
db_postgres: memset vars to 0 to avoid using invalid values inside db_postgres_new_connection()

- reported by mading087, GH#292

4 years agoMerge pull request #289 from kamailio/vseva/session_timers
Daniel-Constantin Mierla [Sat, 22 Aug 2015 07:38:40 +0000 (09:38 +0200)]
Merge pull request #289 from kamailio/vseva/session_timers

stt: add refresher param following RFC 4028

4 years agosanity: commented priting require header on error level
Daniel-Constantin Mierla [Sat, 22 Aug 2015 07:28:29 +0000 (09:28 +0200)]
sanity: commented priting require header on error level

4 years agomodules/sipcapture: stores From and To domain part
Mikko Lehto [Thu, 20 Aug 2015 10:08:04 +0000 (13:08 +0300)]
modules/sipcapture: stores From and To domain part

4 years agomodules/sipcapture: indentation and whitespace fixes
Mikko Lehto [Thu, 20 Aug 2015 09:55:43 +0000 (12:55 +0300)]
modules/sipcapture: indentation and whitespace fixes

4 years agousrloc: New matching mode: CALLID_ONLY
Carsten Bock [Thu, 20 Aug 2015 08:48:55 +0000 (10:48 +0200)]
usrloc: New matching mode: CALLID_ONLY

4 years agoapp_lua: Export more sdpops functions to LUA
Hugh Waite [Wed, 12 Aug 2015 16:51:25 +0000 (17:51 +0100)]
app_lua: Export more sdpops functions to LUA
 - sdp_with_active_media
 - sdp_with_transport
 - sdp_with_codecs_by_id
 - sdp_with_codecs_by_name
 - sdp_with_ice
 - sdp_keep_codecs_by_id
 - sdp_keep_codecs_by_name
 - sdp_remove_media
 - sdp_remove_transport
 - sdp_remove_line_by_prefix
 - sdp_remove_codecs_by_id
 - sdp_remove_codecs_by_name

4 years agostt: add refresher param following RFC 4028 vseva/session_timers vseva/session_timers-5b97d817 289/head
Victor Seva [Wed, 12 Aug 2015 16:50:11 +0000 (18:50 +0200)]
stt: add refresher param following RFC 4028

Fixes: #288
Patch by: https://github.com/nbougues

4 years agosdpops: Export more sdpops functions
Hugh Waite [Thu, 11 Jun 2015 12:27:31 +0000 (13:27 +0100)]
sdpops: Export more sdpops functions

- sdp_with_active_media
- sdp_with_transport
- sdp_with_codecs_by_id
- sdp_with_codecs_by_name
- sdp_with_ice
- sdp_keep_codecs_by_id
- sdp_keep_codecs_by_name
- sdp_remove_media
- sdp_remove_transport
- sdp_remove_line_by_prefix
- sdp_remove_codecs_by_id
- sdp_remove_codecs_by_name

4 years agoauth: modify doc to reflect current implementation
Camille Oudot [Wed, 12 Aug 2015 15:33:00 +0000 (17:33 +0200)]
auth: modify doc to reflect current implementation

4 years agoMerge pull request #284 from jnewmano/master
Daniel-Constantin Mierla [Wed, 12 Aug 2015 09:17:53 +0000 (11:17 +0200)]
Merge pull request #284 from jnewmano/master

janssonrpc-c: allow null json error property in rpc response

4 years agotls: generate README
Victor Seva [Wed, 12 Aug 2015 09:11:26 +0000 (11:11 +0200)]
tls: generate README

4 years agoMerge pull request #282 from kamailio/vseva/tls_no_install_certs
Victor Seva [Wed, 12 Aug 2015 09:08:15 +0000 (11:08 +0200)]
Merge pull request #282 from kamailio/vseva/tls_no_install_certs

tls: install-cfg: do not generate tls-cert by default

4 years agoMerge pull request #285 from kamailio/vseva/kamcmd_version_nodate
Victor Seva [Wed, 12 Aug 2015 09:05:41 +0000 (11:05 +0200)]
Merge pull request #285 from kamailio/vseva/kamcmd_version_nodate

kamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds

4 years agotls: install-cfg: do not generate tls-cert by default vseva/tls_no_install_certs vseva/tls_no_install_certs-6490d95a 282/head
Victor Seva [Tue, 11 Aug 2015 07:44:49 +0000 (09:44 +0200)]
tls: install-cfg: do not generate tls-cert by default

4 years agokamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds vseva/kamcmd_version_nodate vseva/kamcmd_version_nodate-19359772 285/head
Victor Seva [Wed, 12 Aug 2015 06:16:52 +0000 (08:16 +0200)]
kamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds

support added e03d1279f49709e0d320478fa1ff7c27161c30ed

Related: #60

4 years agojanssonrpc-c: allow null json error property in rpc response 284/head
Jason Newman [Tue, 11 Aug 2015 20:30:31 +0000 (14:30 -0600)]
janssonrpc-c: allow null json error property in rpc response

If the JSON RPC response contains an error property, check to see if it is a json_null or not before flagging the response as an error.

4 years agortpengine: add example in doc for write_sdp_pv
Camille Oudot [Tue, 11 Aug 2015 16:16:04 +0000 (18:16 +0200)]
rtpengine: add example in doc for write_sdp_pv

4 years agodtrie: Set child to NULL when run out of SHM
Stefan Mititelu [Tue, 11 Aug 2015 12:31:02 +0000 (15:31 +0300)]
dtrie: Set child to NULL when run out of SHM

The stop condition in dtrie_delete is node==NULL. Suppose the case when there
is no SHM memory left when trying to dtrie_insert(). The memory gets freed
by shm_free() but the pointer still points to it. This leads to segfault when
dtrie_delete tries to access that memory zone, in the given case. GDB says:
"Cannot access memory at address 0x1130000001d"

4 years agomem: fix compilation warning in TLSF
Camille Oudot [Tue, 11 Aug 2015 11:25:52 +0000 (13:25 +0200)]
mem: fix compilation warning in TLSF

4 years agoMerge pull request #281 from jnewmano/master
Victor Seva [Tue, 11 Aug 2015 06:16:04 +0000 (08:16 +0200)]
Merge pull request #281 from jnewmano/master

janssonrpc-c: correct jansson_get parameter order in examples

4 years agojanssonrpc-c: correct jansson_get parameter order in examples 281/head
Jason Newman [Mon, 10 Aug 2015 23:20:26 +0000 (17:20 -0600)]
janssonrpc-c: correct jansson_get parameter order in examples

parameter order should be jansson_get(key/path, src, dst) and not jansson_get(src, key/path, dst)

4 years agomem: add TLSF malloc() and free() memory debug log
Camille Oudot [Mon, 10 Aug 2015 17:46:44 +0000 (19:46 +0200)]
mem: add TLSF malloc() and free() memory debug log

4 years agocore: add TLSF in version flags string
Camille Oudot [Mon, 10 Aug 2015 13:07:10 +0000 (15:07 +0200)]
core: add TLSF in version flags string

4 years agomem: TLSF, fix real used memory count
Camille Oudot [Mon, 10 Aug 2015 12:29:51 +0000 (14:29 +0200)]
mem: TLSF, fix real used memory count

4 years agomem: display the 2 levels matrix in TLSF status
Camille Oudot [Fri, 7 Aug 2015 17:21:26 +0000 (19:21 +0200)]
mem: display the 2 levels matrix in TLSF status

Displays a matrix of non-empty free blocks lists rather than the list of
all used blocks. tlsf_status() displays a letter reflecting the order of
magnitude of the free blocks list length in each bucket

4 years agortpengine: regenerate README
Camille Oudot [Mon, 10 Aug 2015 13:30:26 +0000 (15:30 +0200)]
rtpengine: regenerate README

4 years agortpengine: fix typo in documentation
Camille Oudot [Mon, 10 Aug 2015 13:24:27 +0000 (15:24 +0200)]
rtpengine: fix typo in documentation

4 years agodmq_usrloc: implement deleted contact replication
Charles Chance [Sat, 8 Aug 2015 17:00:21 +0000 (18:00 +0100)]
dmq_usrloc: implement deleted contact replication

4 years agoMerge pull request #279 from kamailio/vseva/registrar_max_contacts_instance
Victor Seva [Fri, 7 Aug 2015 09:27:42 +0000 (11:27 +0200)]
Merge pull request #279 from kamailio/vseva/registrar_max_contacts_instance

registrar: ci_pack,  get instance and ref_id when using msg

4 years agoMerge pull request #277 from fredposner/master
Daniel-Constantin Mierla [Fri, 7 Aug 2015 08:39:04 +0000 (10:39 +0200)]
Merge pull request #277 from fredposner/master

etc: simple typo fixes in kamailio.cfg

4 years agodrouting: fixed typo in reload cmd response
Daniel-Constantin Mierla [Fri, 7 Aug 2015 08:36:50 +0000 (10:36 +0200)]
drouting: fixed typo in reload cmd response

- reported by GH#275

4 years agoregistrar: get instance and ref_id when using msg vseva/registrar_max_contacts_instance vseva/registrar_max_contacts_instance-99ce64fc 279/head
Victor Seva [Thu, 6 Aug 2015 18:36:22 +0000 (20:36 +0200)]
registrar: get instance and ref_id when using msg

needed for check max_contacts properly if sip.instance exists
as contact parameter

See: #278

4 years agoetc: simple typo fixes in kamailio.cfg 277/head
qxork [Thu, 6 Aug 2015 17:29:23 +0000 (13:29 -0400)]
etc: simple typo fixes in kamailio.cfg

- fixed small typos within comments of default kamailio config

4 years agoRevert "pua_reginfo: use ul.get_urecord_by_ruid instead of ul.get_urecord"
Victor Seva [Thu, 6 Aug 2015 12:58:52 +0000 (14:58 +0200)]
Revert "pua_reginfo: use ul.get_urecord_by_ruid instead of ul.get_urecord"

This reverts commit 9a6d8d2bffe13b442ed5e880fb0dd2c6572c29e2.

4 years agoutils: Additional headers need to be added as chunk, not as a string
Carsten Bock [Tue, 4 Aug 2015 18:51:23 +0000 (20:51 +0200)]
utils: Additional headers need to be added as chunk, not as a string

4 years agoregistrar: updated the docs for registered(...) function
Daniel-Constantin Mierla [Fri, 31 Jul 2015 16:39:41 +0000 (18:39 +0200)]
registrar: updated the docs for registered(...) function

4 years agoregistrar: allow registered() in any route
Daniel-Constantin Mierla [Fri, 31 Jul 2015 16:35:55 +0000 (18:35 +0200)]
registrar: allow registered() in any route

- if used for a sip reply and URI is not provided, then To URI is used

4 years agopua: fix typo in matching presence.winfo
Daniel-Constantin Mierla [Thu, 30 Jul 2015 18:54:56 +0000 (20:54 +0200)]
pua: fix typo in matching presence.winfo

- patch by foucse, GH #270

4 years agoMerge pull request #271 from kamailio/vseva/jsonrpc_fixes
Daniel-Constantin Mierla [Fri, 31 Jul 2015 15:38:49 +0000 (17:38 +0200)]
Merge pull request #271 from kamailio/vseva/jsonrpc_fixes

jsonrpc-c: support load module even if no server is online and max reconnect attempts

4 years agoMerge pull request #272 from kamailio/lazedo-htable-patch-1
Daniel-Constantin Mierla [Fri, 31 Jul 2015 15:37:05 +0000 (17:37 +0200)]
Merge pull request #272 from kamailio/lazedo-htable-patch-1

htable : fix  $shtrecord(value) returned value

4 years agoutils: Add/Update doc for the new header-parameter
Carsten Bock [Fri, 31 Jul 2015 13:50:26 +0000 (15:50 +0200)]
utils: Add/Update doc for the new header-parameter

4 years agoutils: Add optional parameter for additional headers
Carsten Bock [Fri, 31 Jul 2015 13:43:17 +0000 (15:43 +0200)]
utils: Add optional parameter for additional headers

4 years agohtable : fix $shtrecord(value) returned value lazedo-htable-patch-1 lazedo-htable-patch-1-c446840e 272/head
lazedo [Fri, 31 Jul 2015 13:06:29 +0000 (14:06 +0100)]
htable : fix  $shtrecord(value) returned value

 $shtrecord(value) does not return correct value when it is an integer

4 years agojsonrpc-c: add max_conn_attempt parameter to control max number of reconnections vseva/jsonrpc_fixes vseva/jsonrpc_fixes-6f18e01b 271/head
Victor Seva [Fri, 31 Jul 2015 08:05:50 +0000 (10:05 +0200)]
jsonrpc-c: add max_conn_attempt parameter to control max number of reconnections

Related: #269

4 years agojsonrpc-c: don't fail if no connection to any of the servers when module is loaded
Victor Seva [Thu, 30 Jul 2015 14:45:25 +0000 (16:45 +0200)]
jsonrpc-c: don't fail if no connection to any of the servers when module is loaded

Related: #269

4 years agoMerge pull request #268 from kamailio/vseva/jsonrpc_fixes
Daniel-Constantin Mierla [Thu, 30 Jul 2015 18:51:50 +0000 (20:51 +0200)]
Merge pull request #268 from kamailio/vseva/jsonrpc_fixes

jsonrpc-c: fix crash at reconnect_cb if server was never connected

4 years agoims_registrar_scscf: Vendor-ID of Call-ID AVP should be 0 or 3GPP, never 50
Carsten Bock [Thu, 30 Jul 2015 15:07:18 +0000 (17:07 +0200)]
ims_registrar_scscf: Vendor-ID of Call-ID AVP should be 0 or 3GPP, never 50