sip-router
6 years agoipops: added dsn_int_match_ip(hostname, ipaddr)
Daniel-Constantin Mierla [Fri, 12 Jul 2013 16:09:09 +0000 (18:09 +0200)]
ipops: added dsn_int_match_ip(hostname, ipaddr)

- function that uses the internal resolver to match a hostname with an
  ip (similar operation like 'scr_ip=="hostname"')
- rename dns_nc_match_ip() to dns_sys_match_ip() to be more suggestive
  about what kind of resolver is used

6 years agoipops: new cfg function dns_nc_match_ip(hostname, ipaddr)
Daniel-Constantin Mierla [Fri, 12 Jul 2013 11:31:12 +0000 (13:31 +0200)]
ipops: new cfg function dns_nc_match_ip(hostname, ipaddr)

- do dns query for the hostname and compare the result to see if is a
  match with ipaddr

6 years agodispatcher: allow pv in ds_is_from_list(setid) parameter
Daniel-Constantin Mierla [Fri, 12 Jul 2013 08:22:33 +0000 (10:22 +0200)]
dispatcher: allow pv in ds_is_from_list(setid) parameter

6 years agocore: avoid doing dns srv again after naptr function that includes srv lookup
Daniel-Constantin Mierla [Thu, 11 Jul 2013 22:44:51 +0000 (00:44 +0200)]
core: avoid doing dns srv again after naptr function that includes srv lookup

6 years agomodules/sipcapture: a sip message must be stored after bad parsing also.
Alexandr Dubovikov [Fri, 12 Jul 2013 08:14:31 +0000 (10:14 +0200)]
modules/sipcapture: a sip message must be stored after bad parsing also.

6 years agodialplan: don't free attrs pvar at shutdown, it is core pv cache reference
Daniel-Constantin Mierla [Thu, 11 Jul 2013 19:57:58 +0000 (21:57 +0200)]
dialplan: don't free attrs pvar at shutdown, it is core pv cache reference

- reported by Juha Heinanen

6 years agomodules/tls: config param can now specify a file or directory
Juha Heinanen [Thu, 11 Jul 2013 19:47:37 +0000 (22:47 +0300)]
modules/tls: config param can now specify a file or directory

6 years agoMakefile.defs: version set to 4.1.0-dev7
Daniel-Constantin Mierla [Thu, 11 Jul 2013 18:43:54 +0000 (20:43 +0200)]
Makefile.defs: version set to 4.1.0-dev7

6 years agodb_unixodbc: fixed typo added by previous commit
Daniel-Constantin Mierla [Thu, 11 Jul 2013 14:47:47 +0000 (16:47 +0200)]
db_unixodbc: fixed typo added by previous commit

6 years agodb_unixodbc: renamed files with reserved name on some oses
Daniel-Constantin Mierla [Thu, 11 Jul 2013 14:43:31 +0000 (16:43 +0200)]
db_unixodbc: renamed files with reserved name on some oses

6 years agodisptacher: added documentation for parameter attrs_pvname
Daniel-Constantin Mierla [Thu, 11 Jul 2013 14:26:15 +0000 (16:26 +0200)]
disptacher: added documentation for parameter attrs_pvname

6 years agodispatcher: new parameter to specify the pv where to store attrs for matched address...
Daniel-Constantin Mierla [Thu, 11 Jul 2013 14:25:06 +0000 (16:25 +0200)]
dispatcher: new parameter to specify the pv where to store attrs for matched address in ds_is_from_list()

- attrs_pvname can be set to get attributes of matched address in
  config file

6 years agopv: added transformations for url encode/decode
Daniel-Constantin Mierla [Thu, 11 Jul 2013 13:27:16 +0000 (15:27 +0200)]
pv: added transformations for url encode/decode

- patch by JoshE, FS#311

6 years agomodules/nathelper: removed natping_proceses limit
Victor Seva [Thu, 11 Jul 2013 13:03:08 +0000 (15:03 +0200)]
modules/nathelper: removed natping_proceses limit

6 years agopipelimit: avoid double locking when changing pipe via rpc
Daniel-Constantin Mierla [Thu, 11 Jul 2013 12:36:02 +0000 (14:36 +0200)]
pipelimit: avoid double locking when changing pipe via rpc

6 years agopipelimit: avoid double locking when changing pipe via mi
Daniel-Constantin Mierla [Thu, 11 Jul 2013 12:32:48 +0000 (14:32 +0200)]
pipelimit: avoid double locking when changing pipe via mi

- reported by Krischan Udelhoven, FS#315

6 years agohtable: sht_lock() and sht_unlock() documented in readme
Elena-Ramona Modroiu [Sat, 6 Jul 2013 17:03:49 +0000 (19:03 +0200)]
htable: sht_lock() and sht_unlock() documented in readme

6 years agohtable: two new functions to lock htable slots based on item name
Elena-Ramona Modroiu [Sat, 6 Jul 2013 16:31:17 +0000 (18:31 +0200)]
htable: two new functions to lock htable slots based on item name

- sht_lock("htable=>key") and sht_unlock("htable=>key")
- useful to update existing items without aditional locks

6 years agomodules/app_lua: added param to sr.xavp.get to choose between all the values (default...
Victor Seva [Tue, 9 Jul 2013 15:50:06 +0000 (17:50 +0200)]
modules/app_lua: added param to sr.xavp.get to choose between all the values (default) or just the first ones.

6 years agomodules/app_lua: fix sr.xavp.get. Get all the values not only the first one.
Victor Seva [Tue, 9 Jul 2013 13:55:35 +0000 (15:55 +0200)]
modules/app_lua: fix sr.xavp.get. Get all the values not only the first one.

6 years agomodules/sipt: deleted unused method
Torrey Searle [Tue, 9 Jul 2013 12:55:22 +0000 (14:55 +0200)]
modules/sipt: deleted unused method

6 years agomodules/sipt: ss7 messages are now modified in place
Torrey Searle [Tue, 9 Jul 2013 09:21:52 +0000 (11:21 +0200)]
modules/sipt: ss7 messages are now modified in place

 - lumps are now used to modify individual ss7 headers instead
   of rebuilding the full body from scratch.  This should result
   in a performance increase

7 years agomodules/debugger: refresh README
Victor Seva [Sun, 7 Jul 2013 05:25:34 +0000 (07:25 +0200)]
modules/debugger: refresh README

7 years agomodules/debugger: add dbg_pv_dump config function documentation.
Victor Seva [Sun, 7 Jul 2013 05:24:30 +0000 (07:24 +0200)]
modules/debugger: add dbg_pv_dump config function documentation.

7 years agomodules/debugger: add dbg_pv_dump config function.
Victor Seva [Sun, 7 Jul 2013 05:23:11 +0000 (07:23 +0200)]
modules/debugger: add dbg_pv_dump config function.

It dumps the content of pv_cache on json format.

7 years agomodules/sdpops: refresh README
Victor Seva [Sat, 6 Jul 2013 13:13:00 +0000 (15:13 +0200)]
modules/sdpops: refresh README

7 years agomodules/sdpops: update documentation sdp_[with|remove]_transport
Victor Seva [Sat, 6 Jul 2013 13:09:47 +0000 (15:09 +0200)]
modules/sdpops: update documentation sdp_[with|remove]_transport

7 years agomodules/sdpops: added sdp_with_transport/sdp_remove_transport functions.
Victor Seva [Sat, 6 Jul 2013 13:00:49 +0000 (15:00 +0200)]
modules/sdpops: added sdp_with_transport/sdp_remove_transport functions.

7 years agodialog: added timer process to clean unconfirmed dialogs older than 5min
Daniel-Constantin Mierla [Fri, 5 Jul 2013 07:23:32 +0000 (09:23 +0200)]
dialog: added timer process to clean unconfirmed dialogs older than 5min

- timer runs every 90sec (customization to be added in the future)
- safety procedure for cleaning dialog list

7 years agotextopsx: updated docs for msg_apply_changes() and added sections ids
Daniel-Constantin Mierla [Thu, 4 Jul 2013 20:34:41 +0000 (22:34 +0200)]
textopsx: updated docs for msg_apply_changes() and added sections ids

7 years agotextopsx: enable usage of msg_apply_changes() for sip replies
Daniel-Constantin Mierla [Thu, 4 Jul 2013 20:29:06 +0000 (22:29 +0200)]
textopsx: enable usage of msg_apply_changes() for sip replies

7 years agocore: helper function to generate sip reply content without removing top via
Daniel-Constantin Mierla [Thu, 4 Jul 2013 20:27:32 +0000 (22:27 +0200)]
core: helper function to generate sip reply content without removing top via

7 years agotm: avoid double execution of response-in callbacks
Daniel-Constantin Mierla [Thu, 4 Jul 2013 09:48:26 +0000 (11:48 +0200)]
tm: avoid double execution of response-in callbacks

- double execution of response-in callbacks could happen when using tm
  pvs inside core reply route, being done in transaction matching
  function, which is executed again by tm reply received function

7 years agocore: new internam sip msg flag FL_TM_RPL_MATCHED
Daniel-Constantin Mierla [Thu, 4 Jul 2013 09:47:18 +0000 (11:47 +0200)]
core: new internam sip msg flag FL_TM_RPL_MATCHED

- mark sip reply when matched first time by tm
- used to avoid double execution of response-in callbacks

7 years agomodules/websocket: Fix connection leaks
Hugh Waite [Thu, 4 Jul 2013 09:31:46 +0000 (10:31 +0100)]
modules/websocket: Fix connection leaks

- Decrease the TCP connection reference count after each use

7 years agocore: Fix connection leak with websockets
Hugh Waite [Thu, 4 Jul 2013 09:30:51 +0000 (10:30 +0100)]
core: Fix connection leak with websockets

- Decrease connection ref count after using connection

7 years agocore: Improve tcp stats output
Hugh Waite [Thu, 4 Jul 2013 08:33:56 +0000 (09:33 +0100)]
core: Improve tcp stats output

- Add connection ref count
- Add websocket protocols

7 years agomodules/websocket: Fix pkg memory leaks
Hugh Waite [Wed, 3 Jul 2013 09:46:44 +0000 (10:46 +0100)]
modules/websocket: Fix pkg memory leaks

- Fix pkg memory leaks in error cases
- Fix incorrect memory allocation size for ws connections
- Fix typo in websocket stats

7 years agomodules/tls: Free TLS data for secure websocket connections
Hugh Waite [Wed, 3 Jul 2013 09:39:32 +0000 (10:39 +0100)]
modules/tls: Free TLS data for secure websocket connections

7 years agouac_redirect: fetch all contact headers in redirect replies
Daniel-Constantin Mierla [Wed, 3 Jul 2013 21:23:40 +0000 (23:23 +0200)]
uac_redirect: fetch all contact headers in redirect replies

- only first header was considered for redirect handling
- based on a report by Geoffrey Mina
- generate fake ruid (used as instance and user-agent) to satisfy the
  requirements of t_load_contacts()/t_next_contacts()

7 years agodialog: detect if no trasaction is created after config execution for new dialogs
Daniel-Constantin Mierla [Tue, 2 Jul 2013 21:32:37 +0000 (23:32 +0200)]
dialog: detect if no trasaction is created after config execution for new dialogs

- release the dialog to avoid endless storage in state 1

7 years agokamailio-basic.cfg: added basic cfg config file
Daniel-Constantin Mierla [Tue, 2 Jul 2013 19:40:32 +0000 (21:40 +0200)]
kamailio-basic.cfg: added basic cfg config file

- get the same set of configs as expected by former ser flavour

7 years agodialog: increment cseq in early stage for PRACK and UPDATE
Daniel-Constantin Mierla [Mon, 1 Jul 2013 13:22:33 +0000 (15:22 +0200)]
dialog: increment cseq in early stage for PRACK and UPDATE

- rework from a patch by Halina Nowak

7 years agodialog: avoid realloc of memory for cseq when setting leg info
Daniel-Constantin Mierla [Mon, 1 Jul 2013 12:51:03 +0000 (14:51 +0200)]
dialog: avoid realloc of memory for cseq when setting leg info

- free already allocated structs when needed
- has part of a patch by Halina Nowak

7 years agodialog: fixed callee cseq reference
Daniel-Constantin Mierla [Mon, 1 Jul 2013 12:44:45 +0000 (14:44 +0200)]
dialog: fixed callee cseq reference

- part of patch by Halina Nowak

7 years agocore: Also consider PROTO_WS(S) in forward().
Victor Seva [Mon, 1 Jul 2013 11:37:42 +0000 (13:37 +0200)]
core: Also consider PROTO_WS(S) in forward().

7 years agodialog_ng: include dialog function dlg_get in dialog_ng
Richard Good [Mon, 1 Jul 2013 09:47:50 +0000 (11:47 +0200)]
dialog_ng: include dialog function dlg_get in dialog_ng
- In first iteration of dialog_ng module the dialog function dlg_get was not included
- This function is now included; it searches and sets current dialog based on Call-ID, From-Tag and To-Tag

7 years agomemcached: document new memory parameter for memory manager setting
Henning Westerholt [Sun, 30 Jun 2013 14:06:16 +0000 (16:06 +0200)]
memcached: document new memory parameter for memory manager setting

7 years agomemcached: update module docs, patch from Charles Chance, charles dot chance at sipce...
Henning Westerholt [Sun, 30 Jun 2013 13:50:29 +0000 (15:50 +0200)]
memcached: update module docs, patch from Charles Chance, charles dot chance at sipcentric dot com

7 years agomemcached: fix crash during shutdown, make used memory manager configurable
Henning Westerholt [Sun, 30 Jun 2013 13:42:17 +0000 (15:42 +0200)]
memcached: fix crash during shutdown, make used memory manager configurable

* fix a crash during shutwdown, as reported from Dragos Oancea, droancea at yahoo dot com
* make memcache client library memory manager configurable, as default use
  the one from the system as this is probably the most tested configuration
  in the field
* the internal memory manager should provide a better performance in this case,
  but as the old library has some issues with the internal one, we better stay
  with this
* documentation will be provided in the next commit

7 years agomodules/ims_icscf: updated documentation
Richard Good [Tue, 25 Jun 2013 13:42:44 +0000 (15:42 +0200)]
modules/ims_icscf: updated documentation
  - updated documentation to use route blocks after async diameter

7 years agomodules/ims_auth: updated documentation
Richard Good [Tue, 25 Jun 2013 13:41:42 +0000 (15:41 +0200)]
modules/ims_auth: updated documentation
- updated documentation to use route blocks after async diameter

7 years agoIMS example config files: update icscf and scscf config files to correctly use async...
Richard Good [Tue, 25 Jun 2013 12:11:13 +0000 (14:11 +0200)]
IMS example config files: update icscf and scscf config files to correctly use async route blocks
- This fix updates the example ICSCF and SCSCF config files to correctly use route blocks for the replies of any asynchronous Diameter messages

7 years agomodules/ims_icscf: execute route block on async reply to UAR and LIR
Richard Good [Tue, 25 Jun 2013 12:09:00 +0000 (14:09 +0200)]
modules/ims_icscf: execute route block on async reply to UAR and LIR
- Changed this to make the use of async CDP cleaner
- Fixes inconsistencies we are experiencing with async TM and not using route blocks
- Note this fix is for UAR replies called from I_perform_user_authorization_request() and LIR replies called from I_perform_location_information_request()

7 years agomodules/ims_auth: execute route block on async reply on REG MAR
Richard Good [Tue, 25 Jun 2013 12:07:12 +0000 (14:07 +0200)]
modules/ims_auth: execute route block on async reply on REG MAR
        - changed this to make the use of async CDP cleaner
        - Fixes inconsistencies we are experiencing with async TM and not using route blocks
        - Note this fix is for REG MAR called from ims_www_challenge()

7 years agomodules/ims_registrar_scscf: execute route block on async reply on REG SAR
Richard Good [Tue, 25 Jun 2013 12:04:46 +0000 (14:04 +0200)]
modules/ims_registrar_scscf: execute route block on async reply on REG SAR
- changed this to make the use of async CDP cleaner
- Fixes inconsistencies we are experiencing with async TM and not using route blocks
- Note this fix is REG SAR called from save()

7 years agocore: allow c++ style of one line comments
Daniel-Constantin Mierla [Sun, 23 Jun 2013 03:37:34 +0000 (05:37 +0200)]
core: allow c++ style of one line comments

- can make easier the read of config files with defines and comments

7 years agoexamples: Make S-CSCF more quiet
Carsten Bock [Mon, 24 Jun 2013 20:13:26 +0000 (22:13 +0200)]
examples: Make S-CSCF more quiet

7 years agoauth_ims: New option to store authentication vectors using the IMPU only, instead...
Carsten Bock [Mon, 24 Jun 2013 20:10:33 +0000 (22:10 +0200)]
auth_ims: New option to store authentication vectors using the IMPU only, instead of IMPI/IMPU.
(this is required to work with some SIP-clients)
- added some more debug info
- replaced the hashing function with core_hash from Kamailio-core

7 years agoAdded missing parameters to documentation
Carsten Bock [Mon, 24 Jun 2013 16:08:29 +0000 (18:08 +0200)]
Added missing parameters to documentation

7 years agoFixed Editor note
Carsten Bock [Mon, 24 Jun 2013 16:08:05 +0000 (18:08 +0200)]
Fixed Editor note

7 years agomodules/ims_registrar_scscf: execute route block on async reply of unreg. SAR
Jason Penton [Mon, 24 Jun 2013 13:24:49 +0000 (15:24 +0200)]
modules/ims_registrar_scscf: execute route block on async reply of unreg. SAR
- changed this to make the use of saync CDP cleaner
- fixes inconsistencies we are experienceing with async TM and not using route block

7 years agoauth: set ids for elements in the documentation
Daniel-Constantin Mierla [Fri, 21 Jun 2013 02:23:38 +0000 (04:23 +0200)]
auth: set ids for elements in the documentation

- split checks parameters in own section for easier reference

7 years agoAdded support to limit number of calls per customer/profile
Carlos Ruiz Diaz [Thu, 20 Jun 2013 21:34:49 +0000 (17:34 -0400)]
Added support to limit number of calls per customer/profile

- added function cnxcc_set_max_channels() per customer/profile
- added function cnxcc_get_channel_count() per customer/profile
- added function cnxcc_terminate_all() to terminate calls per customer/profile
- added select @cnxcc.channels["customer/profile"].count
- added modified version of kamailio-cnxcc.cfg to reflect changes and examples

7 years agomodules/dialplan: allow xavp vars as parameters.
Victor Seva [Thu, 20 Jun 2013 06:34:05 +0000 (08:34 +0200)]
modules/dialplan: allow xavp vars as parameters.

7 years agomodules/dialplan: use pv_cache_get function instead of create pv_spec_t
Victor Seva [Thu, 20 Jun 2013 06:32:47 +0000 (08:32 +0200)]
modules/dialplan: use pv_cache_get function instead of create pv_spec_t

7 years agopv: $xavp(name) is marked as PVT_XAVP type
Daniel-Constantin Mierla [Mon, 17 Jun 2013 12:48:52 +0000 (14:48 +0200)]
pv: $xavp(name) is marked as PVT_XAVP type

7 years agocore: define PVT_XAVP as type for xavp pseudo-variables
Daniel-Constantin Mierla [Mon, 17 Jun 2013 12:47:56 +0000 (14:47 +0200)]
core: define PVT_XAVP as type for xavp pseudo-variables

- they may need special handling for debug purposes

7 years agopipelimit: fixed typo in module parameter name
Daniel-Constantin Mierla [Mon, 17 Jun 2013 09:00:29 +0000 (11:00 +0200)]
pipelimit: fixed typo in module parameter name

- patch by Krischan Udelhoven

7 years agomodules/app_lua: fixed runtime warning: exports dlflags interface is deprecated
Victor Seva [Mon, 17 Jun 2013 08:48:45 +0000 (10:48 +0200)]
modules/app_lua: fixed runtime warning: exports dlflags interface is deprecated

7 years agotopoh: safety check for To header
Daniel-Constantin Mierla [Sun, 16 Jun 2013 15:17:36 +0000 (17:17 +0200)]
topoh: safety check for To header

- protection for the case when sanity module checks are not enabled
- reported in FS#303 by Michel de Weerd

7 years agomtree: fixed typo in log function name
Daniel-Constantin Mierla [Sun, 16 Jun 2013 14:40:59 +0000 (16:40 +0200)]
mtree: fixed typo in log function name

7 years agocore: added function to get the pv cache table
Daniel-Constantin Mierla [Sun, 16 Jun 2013 14:39:14 +0000 (16:39 +0200)]
core: added function to get the pv cache table

- pv cache struct moved to header file

7 years agokamctl: new commands can be defined in separate files
Daniel-Constantin Mierla [Sat, 15 Jun 2013 20:03:58 +0000 (22:03 +0200)]
kamctl: new commands can be defined in separate files

- write new kamctl commands either in CFGDIR/kamctl.newcmd.ext or
  ~/.kamctl/kamctl.newcmd.ext
- 'newcmd' has to be replaced with the name of the command
- the file must include cmd_newcmd() function which is executed with the
  parameters after the command name
- example: adding new command 'sample'
- content of ~/.kamctl/kamctl.sample.ext file:

usage_sample() {
    echo
    mecho " -- command 'sample' - kamctl sample extension command"
    echo
cat <<EOF
 test ............................... print test message
 help ............................... help text
EOF
}

cmd_sample() {
    case $1 in
        test)
            echo "message from sample test command"
        ;;
        *)
            usage_sample
        ;;
    esac
    exit 1;
}

- new command 'sample' can be executed with:

kamctl sample test

7 years agokamctl: set internal version to 4.1.0
Daniel-Constantin Mierla [Sat, 15 Jun 2013 17:33:50 +0000 (19:33 +0200)]
kamctl: set internal version to 4.1.0

7 years agotm: readme updated based on latest docbook
Daniel-Constantin Mierla [Sat, 15 Jun 2013 17:31:43 +0000 (19:31 +0200)]
tm: readme updated based on latest docbook

7 years agotm: documented dn_reuse_rcv_socket parameter
Daniel-Constantin Mierla [Sat, 15 Jun 2013 17:30:59 +0000 (19:30 +0200)]
tm: documented dn_reuse_rcv_socket parameter

7 years agotm: new module parameter - dns_reuse_rcv_socket
Daniel-Constantin Mierla [Sat, 15 Jun 2013 17:08:38 +0000 (19:08 +0200)]
tm: new module parameter - dns_reuse_rcv_socket

- control reuse of the receive socket for additional branches added by
  dns failover
- if 1, the rcv socket is used, if not it depends on mhomed - when that
  is 0, the first socket is used, otherwise will be selected based on
  routing table
- default is 0
- therefore beware when setting this parameter and mhomed=1
- based on discussion for FS#313

7 years agotm: copy tm routing blocks ids for new branches added by dns failover
Daniel-Constantin Mierla [Sat, 15 Jun 2013 16:54:59 +0000 (18:54 +0200)]
tm: copy tm routing blocks ids for new branches added by dns failover

- patch by Jasmin Schnatterbeck, part of FS#313

7 years agokamailio.cfg: route subscribe for event message-summary to voicemail server
Daniel-Constantin Mierla [Sat, 15 Jun 2013 16:23:48 +0000 (18:23 +0200)]
kamailio.cfg: route subscribe for event message-summary to voicemail server

7 years agokamctl: added show command to display user attributes in subscriber table
Daniel-Constantin Mierla [Fri, 14 Jun 2013 06:42:37 +0000 (08:42 +0200)]
kamctl: added show command to display user attributes in subscriber table

7 years agocore: do not repeat key names on xavp_get_list_key_names function result
Victor Seva [Wed, 12 Jun 2013 13:58:29 +0000 (15:58 +0200)]
core: do not repeat key names on xavp_get_list_key_names function result

7 years agomtree: print more details if the record in db is broken
Daniel-Constantin Mierla [Wed, 12 Jun 2013 06:50:26 +0000 (08:50 +0200)]
mtree: print more details if the record in db is broken

7 years agomtree: make log message on not maching character a debug instead of error
Daniel-Constantin Mierla [Tue, 11 Jun 2013 16:47:54 +0000 (18:47 +0200)]
mtree: make log message on not maching character a debug instead of error

7 years agoregistrar: readme regenerated
Daniel-Constantin Mierla [Tue, 11 Jun 2013 16:41:05 +0000 (18:41 +0200)]
registrar: readme regenerated

7 years agoregistrar: fixed typo in example of xavp_rcd parameter
Daniel-Constantin Mierla [Tue, 11 Jun 2013 16:39:31 +0000 (18:39 +0200)]
registrar: fixed typo in example of xavp_rcd parameter

7 years agoregistrar: more debug messages when adding ruid xavp
Daniel-Constantin Mierla [Tue, 11 Jun 2013 16:37:32 +0000 (18:37 +0200)]
registrar: more debug messages when adding ruid xavp

- free local ruid xavp if cannot be added to root list

7 years agomodules/ims_isc: several safety checks
Camille Oudot [Tue, 11 Jun 2013 14:34:49 +0000 (16:34 +0200)]
modules/ims_isc: several safety checks

- fixed potential buffer overflow
- fixed potential crash if regcomp fails

7 years agomodules/ims_isc: fix several compiler warnings
Camille Oudot [Tue, 11 Jun 2013 14:24:15 +0000 (16:24 +0200)]
modules/ims_isc: fix several compiler warnings

7 years agoapp_lua: solve crash when setting a variable not convertible to string.
Vicente Hernando [Mon, 10 Jun 2013 10:14:54 +0000 (12:14 +0200)]
app_lua: solve crash when setting a variable not convertible to string.

7 years agomodules/ims_registrar_scscf: safety check for log line when recieving an SAR_UNREGIST...
Camille Oudot [Tue, 28 May 2013 15:53:07 +0000 (17:53 +0200)]
modules/ims_registrar_scscf: safety check for log line when recieving an SAR_UNREGISTERED_USER response

7 years agoMakefile: update de-stable target: squeeze -> wheezy
Ovidiu Sas [Fri, 7 Jun 2013 16:09:38 +0000 (12:09 -0400)]
Makefile: update de-stable target: squeeze -> wheezy

7 years agoregistrar: print bogus AoR in error log
Ovidiu Sas [Thu, 6 Jun 2013 19:21:19 +0000 (15:21 -0400)]
registrar: print bogus AoR in error log

7 years agoacc_radius: exit at startup if radius_config is not set
Daniel-Constantin Mierla [Thu, 6 Jun 2013 13:58:58 +0000 (15:58 +0200)]
acc_radius: exit at startup if radius_config is not set

7 years agocfgutils: updated docs to specify correct time unit for usleep
Daniel-Constantin Mierla [Thu, 6 Jun 2013 09:47:10 +0000 (11:47 +0200)]
cfgutils: updated docs to specify correct time unit for usleep

- it is microseconds, pointed by David K

7 years agokamailio.cfg: reset $du for voicemail re-routing in failure route
Daniel-Constantin Mierla [Thu, 6 Jun 2013 07:09:14 +0000 (09:09 +0200)]
kamailio.cfg: reset $du for voicemail re-routing in failure route

7 years agosiputils: added new function is_first_hop()
Daniel-Constantin Mierla [Thu, 6 Jun 2013 07:05:28 +0000 (09:05 +0200)]
siputils: added new function is_first_hop()

- detect if it is first hop after original sender
- added section ids for functions, remove a duplicate content for
  is_rpid_user_e164()

7 years agokamailio.cfg: few updates related to nat traversal
Daniel-Constantin Mierla [Wed, 5 Jun 2013 20:44:13 +0000 (22:44 +0200)]
kamailio.cfg: few updates related to nat traversal

- added "co" flags to rtpproxy_manage() to change all IPs in sdp, many
  phone get confused if only media ip is changed
- add nat=yes parameter only for in branch route to avoid multiple
  occurences

7 years agomodule/ims_auth: protection against crash if there is no auth vector initialised.
Jason Penton [Wed, 5 Jun 2013 06:58:29 +0000 (08:58 +0200)]
module/ims_auth: protection against crash if there is no auth vector initialised.
- patch submitted by Camille Oudot

7 years agomodules/ims_isc: Add support for P-Serverd-User header
Jason Penton [Wed, 5 Jun 2013 06:46:13 +0000 (08:46 +0200)]
modules/ims_isc: Add support for P-Serverd-User header
- This header allows a triggered Application Server to know the IMS user for who it was
triggered, and in what state (originating/terminating, registered/unregistered)
- Thanks to Camille Oudot for patch!