sip-router
6 years agoall: updated FSF address in GPL text
Anthony Messina [Fri, 4 Jul 2014 09:36:37 +0000 (11:36 +0200)]
all: updated FSF address in GPL text

6 years agortpengine: add support for TOS=... flag
Richard Fuchs [Wed, 2 Jul 2014 18:53:36 +0000 (14:53 -0400)]
rtpengine: add support for TOS=... flag

6 years agotm: run reply callbacks under lock
Daniel-Constantin Mierla [Tue, 1 Jul 2014 14:10:20 +0000 (16:10 +0200)]
tm: run reply callbacks under lock

- callback functions can modify the request from transaction (e.g., acc for
  parsing headers needed for accounting)

6 years agotmx: handle branch_route for $T_reply_code
Daniel-Constantin Mierla [Mon, 30 Jun 2014 12:37:40 +0000 (14:37 +0200)]
tmx: handle branch_route for $T_reply_code

- use latest sent reply code
- related to the log message reported in FS#445

6 years agokamctl: use DEFAULT_Q variable in ul_add command
Daniel-Constantin Mierla [Mon, 30 Jun 2014 10:34:24 +0000 (12:34 +0200)]
kamctl: use DEFAULT_Q variable in ul_add command

6 years agogeoip: free allocated pointers at startup in case of error
Daniel-Constantin Mierla [Mon, 30 Jun 2014 10:11:45 +0000 (12:11 +0200)]
geoip: free allocated pointers at startup in case of error

- cleaner shut down

6 years agocore: reset cur_opt shortcut after use, it points to local variable
Daniel-Constantin Mierla [Mon, 30 Jun 2014 10:05:19 +0000 (12:05 +0200)]
core: reset cur_opt shortcut after use, it points to local variable

- safety to prevent invalid access on future extensions

6 years agouac: print new and old uri in log message in case of error
Daniel-Constantin Mierla [Mon, 30 Jun 2014 09:06:41 +0000 (11:06 +0200)]
uac: print new and old uri in log message in case of error

6 years agomodules/cdp: prevent possible seg fault if no MSCC AVP present in CCA response to...
Jason Penton [Thu, 26 Jun 2014 07:46:16 +0000 (09:46 +0200)]
modules/cdp: prevent possible seg fault if no MSCC AVP present in CCA response to update GSU timers

6 years agoauth: README regenerated
Ovidiu Sas [Tue, 17 Jun 2014 17:06:20 +0000 (13:06 -0400)]
auth: README regenerated

6 years agoauth: document '-8' return code for pv_www_authenticate
Ovidiu Sas [Tue, 17 Jun 2014 15:47:50 +0000 (11:47 -0400)]
auth: document '-8' return code for pv_www_authenticate

6 years agoregistrar: Add check for contact header before checking outbound support
Hugh Waite [Mon, 16 Jun 2014 10:53:11 +0000 (11:53 +0100)]
registrar: Add check for contact header before checking outbound support

- Fixes crash when processing REGISTER without a contact

6 years agopkg/kamailio/deb: Add Ubuntu trusty support
Victor Seva [Sat, 14 Jun 2014 23:32:32 +0000 (01:32 +0200)]
pkg/kamailio/deb: Add Ubuntu trusty support

6 years agopkg/kamailio/deb: Use gcj-jdk
Victor Seva [Sat, 14 Jun 2014 16:50:56 +0000 (18:50 +0200)]
pkg/kamailio/deb: Use gcj-jdk

6 years agoapp_java: Use generic libgcj
Victor Seva [Sat, 14 Jun 2014 16:20:06 +0000 (18:20 +0200)]
app_java: Use generic libgcj

6 years agodialog: backup and restore exiting route type when executing dialog event_route blocks
Daniel-Constantin Mierla [Fri, 13 Jun 2014 10:00:21 +0000 (12:00 +0200)]
dialog: backup and restore exiting route type when executing dialog event_route blocks

- reported by Nuno Miguel Reis

6 years agocore: fix crash related to core sockets_list command
Ovidiu Sas [Thu, 12 Jun 2014 16:46:39 +0000 (12:46 -0400)]
core: fix crash related to core sockets_list  command
 - reported by Nuno Reis <nreis@wavecom.pt>

6 years agortpengine: allow usage of arbitrary/unknown flags within the protocol
Richard Fuchs [Thu, 12 Jun 2014 15:06:44 +0000 (11:06 -0400)]
rtpengine: allow usage of arbitrary/unknown flags within the protocol

6 years agopkg/kamailio/deb: new 4.2.0~dev7 version
Victor Seva [Thu, 12 Jun 2014 10:57:27 +0000 (12:57 +0200)]
pkg/kamailio/deb: new 4.2.0~dev7 version

6 years agoMakefile.defs: version set to 4.2.0-dev7
Daniel-Constantin Mierla [Thu, 12 Jun 2014 10:15:59 +0000 (12:15 +0200)]
Makefile.defs: version set to 4.2.0-dev7

6 years agoacc: clear new parsed headers when evaluating acc attributes
Daniel-Constantin Mierla [Thu, 12 Jun 2014 10:12:02 +0000 (12:12 +0200)]
acc: clear new parsed headers when evaluating acc attributes

- the structures are in pkg, while request is taken from shm clone, can
  cause reference to the space of another process
- reported by Igor Potjevlesch

6 years agoacc: allow recording to the rest of backends even when setting db table fails
Daniel-Constantin Mierla [Thu, 12 Jun 2014 09:48:01 +0000 (11:48 +0200)]
acc: allow recording to the rest of backends even when setting db table fails

- such error doesn't affect radius or custom backends

6 years agoauth: proper fixup for optional method parameter in pv_www_authenticate()
Daniel-Constantin Mierla [Thu, 12 Jun 2014 09:39:55 +0000 (11:39 +0200)]
auth: proper fixup for optional method parameter in pv_www_authenticate()

- reported by Muhammad Shahzad

6 years agocore: sync definition of destroy_rpcs()
Daniel-Constantin Mierla [Thu, 12 Jun 2014 07:59:44 +0000 (09:59 +0200)]
core: sync definition of destroy_rpcs()

- reported by Victor Seva

6 years agoauth: enhanced log message when method param fails to be retrieved
Daniel-Constantin Mierla [Wed, 11 Jun 2014 17:01:17 +0000 (19:01 +0200)]
auth: enhanced log message when method param fails to be retrieved

6 years agodialog: execute internal event_route blocks under local_route type
Daniel-Constantin Mierla [Wed, 11 Jun 2014 15:12:37 +0000 (17:12 +0200)]
dialog: execute internal event_route blocks under local_route type

- request_route type triggers additional script callbacks that could
  reset the transaction and can cause crashing
- reported by  Nuno Miguel Reis, FS#440

6 years agoims_registrar_pcscf: Bugfix: Update Received Info, when updating contact (it may...
Carsten Bock [Tue, 10 Jun 2014 10:22:03 +0000 (12:22 +0200)]
ims_registrar_pcscf: Bugfix: Update Received Info, when updating contact (it may have changed)

6 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
lucian balanceanu [Tue, 10 Jun 2014 09:31:19 +0000 (12:31 +0300)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

6 years agoacc: log cdrs for expired dialogs
Sven Knoblich, Lucian Balaceanu [Tue, 10 Jun 2014 08:47:27 +0000 (11:47 +0300)]
acc: log cdrs for expired dialogs

- added the cdr_expired_dlg_enable module parameter to toggle on/off
  the cdr writing feature (default is off=0)
  If enabled, only the dlg_vars in the cdr_extra will get printed on
  dialog expiry; the other parameters' values in the cdr extra will
  be left empty

6 years agodebugger: show routename in cfgtrace output
Victor Seva [Sat, 7 Jun 2014 07:19:38 +0000 (09:19 +0200)]
debugger: show routename in cfgtrace output

6 years agocore: add route name to action struct
Victor Seva [Sat, 7 Jun 2014 07:19:03 +0000 (09:19 +0200)]
core: add route name to action struct

6 years agoims_usrloc_pcscf: Bugfix: Fix priorities in if statement
Carsten Bock [Fri, 6 Jun 2014 23:26:05 +0000 (01:26 +0200)]
ims_usrloc_pcscf: Bugfix: Fix priorities in if statement

6 years agoBugfix: Fix previous commit
Carsten Bock [Fri, 6 Jun 2014 22:47:22 +0000 (00:47 +0200)]
Bugfix: Fix previous commit

6 years agoBugfix: Add missing */
Carsten Bock [Fri, 6 Jun 2014 17:38:12 +0000 (19:38 +0200)]
Bugfix: Add missing */

6 years agoims_usrloc_pcscf: Add option, to disable the "received check" upon lookup.
Carsten Bock [Fri, 6 Jun 2014 17:09:55 +0000 (19:09 +0200)]
ims_usrloc_pcscf: Add option, to disable the "received check" upon lookup.

6 years agomodules/ims_auth: small cleanup/refactor in ims_get_body
Jason Penton [Fri, 6 Jun 2014 09:40:13 +0000 (11:40 +0200)]
modules/ims_auth: small cleanup/refactor in ims_get_body

6 years agomodules/ims_auth: remove useless/incorrect log line
Jason Penton [Fri, 6 Jun 2014 09:38:50 +0000 (11:38 +0200)]
modules/ims_auth: remove useless/incorrect log line

6 years agomodules/ims_registrar_scscf: updated doc for cxdx_forced_peer
Jason Penton [Tue, 3 Jun 2014 07:42:41 +0000 (09:42 +0200)]
modules/ims_registrar_scscf: updated doc for cxdx_forced_peer

6 years agomodules/ims_qos: updated doc for rx_forced_peer
Jason Penton [Tue, 3 Jun 2014 07:42:18 +0000 (09:42 +0200)]
modules/ims_qos: updated doc for rx_forced_peer

6 years agomodules/ims_icscf: updated doc for cxdx_forced_peer
Jason Penton [Tue, 3 Jun 2014 07:41:56 +0000 (09:41 +0200)]
modules/ims_icscf: updated doc for cxdx_forced_peer

6 years agomodules/ims_charging: updated doc for ro_forced_peer
Jason Penton [Tue, 3 Jun 2014 07:41:29 +0000 (09:41 +0200)]
modules/ims_charging: updated doc for ro_forced_peer

6 years agomodules/ims_auth: updated docs for cxdx_forced_peer
Jason Penton [Tue, 3 Jun 2014 07:41:05 +0000 (09:41 +0200)]
modules/ims_auth: updated docs for cxdx_forced_peer

6 years agosrdb1: fix memory leak in db-id
Torrey Searle [Mon, 2 Jun 2014 17:51:19 +0000 (19:51 +0200)]
srdb1: fix memory leak in db-id

- When getting an existing connection from the pool, free the newly
  created db-id as the pool connection already has a reference to the
  existing one.  Fixes FS#436

6 years agomodules/ims_charging: improvement on failed CCR during initial routing (no longer...
Jason Penton [Mon, 2 Jun 2014 09:07:02 +0000 (11:07 +0200)]
modules/ims_charging: improvement on failed CCR during initial routing (no longer just wait for timeout)
- some minor cleanup too

6 years agomodules/acc: renamed module param reason_from_reason_hf => reason_from_hf
Juha Heinanen [Sat, 31 May 2014 16:38:30 +0000 (19:38 +0300)]
modules/acc: renamed module param reason_from_reason_hf => reason_from_hf

- as per Daniel's suggestion

6 years agomodules/acc: added reason_from_reason_hf module paramater
Juha Heinanen [Sat, 31 May 2014 07:34:19 +0000 (10:34 +0300)]
modules/acc: added reason_from_reason_hf module paramater

- in schema, increased size of sip_reason field to 128 chars

6 years agomodules/ims_charging: possible seg fault on diameter CCR timeout fixed
Jason Penton [Fri, 30 May 2014 16:26:48 +0000 (18:26 +0200)]
modules/ims_charging: possible seg fault on diameter CCR timeout fixed

6 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Jason Penton [Fri, 30 May 2014 14:52:46 +0000 (16:52 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

6 years agomodules/cdp: omitted last_selected time when choosing a loadbalanced peer
Jason Penton [Fri, 30 May 2014 14:51:20 +0000 (16:51 +0200)]
modules/cdp: omitted last_selected time when choosing a loadbalanced peer

6 years agocore/parse/sdp: proper parsing of a=rtpmap line
Daniel-Constantin Mierla [Fri, 30 May 2014 11:34:08 +0000 (13:34 +0200)]
core/parse/sdp: proper parsing of a=rtpmap line

- error handling when malformed line, avoiding crash to due to invalid
  offsetting when clockrate is missing
- reported by  Michael Ricordeau, FS#435

6 years agoArrghh. Poor memory. My apologies for this commit.
Olle E. Johansson [Fri, 30 May 2014 08:21:24 +0000 (09:21 +0100)]
Arrghh. Poor memory. My apologies for this commit.

Merge branch 'master' of ssh://git.sip-router.org/sip-router

6 years agoauth_radius: Improve error message to simplify debugging
Olle E. Johansson [Fri, 30 May 2014 08:20:49 +0000 (09:20 +0100)]
auth_radius: Improve error message to simplify debugging

6 years agopv: safety check for PAI header parsed structure
Daniel-Constantin Mierla [Thu, 29 May 2014 15:06:13 +0000 (17:06 +0200)]
pv: safety check for PAI header parsed structure

- reported by Igor Potjevlesch

6 years agomodules/cdp: added loadbalancing across diameter peers within the same realm and...
Jason Penton [Thu, 29 May 2014 11:04:33 +0000 (13:04 +0200)]
modules/cdp: added loadbalancing across diameter peers within the same realm and with the same metric

6 years agomodules/ims_charging: possible crash fixed on CCR timeout and some cleanup
Jason Penton [Thu, 29 May 2014 10:57:16 +0000 (12:57 +0200)]
modules/ims_charging: possible crash fixed on CCR timeout and some cleanup
- diameter destination realm correctly setup for routing/load balancing of request to multiple peers

6 years agopkg/rpm: use pkg memory size when checking config in init script
Daniel-Constantin Mierla [Wed, 28 May 2014 13:47:10 +0000 (15:47 +0200)]
pkg/rpm: use pkg memory size when checking config in init script

- for large configs, check can fail due to low memory

6 years agomodules/cdp: added RPC cmd to list diameter information, including peers and their...
Jason Penton [Wed, 28 May 2014 10:12:35 +0000 (12:12 +0200)]
modules/cdp: added RPC cmd to list diameter information, including peers and their detail

6 years agorls: Fix memory leak with duplicate entries in lists
Hugh Waite [Tue, 27 May 2014 14:42:08 +0000 (15:42 +0100)]
rls: Fix memory leak with duplicate entries in lists

- When duplicate detection is requested, free the string and container
- When duplicate detection is not requested, insert the duplicate anyway

6 years agomodules/cdp: new RPC commands to disable/enable a peer dynamically
Jason Penton [Tue, 27 May 2014 18:55:11 +0000 (20:55 +0200)]
modules/cdp: new RPC commands to disable/enable a peer dynamically
- this is useful to disable a particular diameter peer in a cluster

6 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Henning Westerholt [Tue, 27 May 2014 10:17:37 +0000 (12:17 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  db_mysql: proper handling of mysql_next_result(...) return code
  ims_charging: bugfix: Make ims_charging:ccr_timeouts resettable

6 years agodb_mysql: fixes FS#434, Kamailio will eat sometimes 100% CPU due a bug in db_mysql
Henning Westerholt [Tue, 27 May 2014 10:14:24 +0000 (12:14 +0200)]
db_mysql: fixes FS#434, Kamailio will eat sometimes 100% CPU due a bug in db_mysql

* Fixes FS#434 reported from Maxim, incorrect mysql API usage for mysql_next_result(..)
* According MySQL doc, return values for mysql_next_result(..) can be the following:
  0 - Successful and there are more results
  -1 - Successful and there are no more results
  >0 - An error occured
* Thus, if there will be an error when reading a next result, the code will be infinitely
  looped in “while” cycle and current process will eat 100% CPU (The mysql_more_results
  will not help here because it just checks a local flag that will be set to TRUE in cases
  when there will be more than one result).
* The solution is to replace " > 0” with " == 0”:

6 years agodb_mysql: proper handling of mysql_next_result(...) return code
Daniel-Constantin Mierla [Tue, 27 May 2014 10:07:42 +0000 (12:07 +0200)]
db_mysql: proper handling of mysql_next_result(...) return code

- it indicates the presence of another result if return is 0
- reported by  Maxim (simax), FS#434

6 years agoims_charging: bugfix: Make ims_charging:ccr_timeouts resettable
Carsten Bock [Tue, 27 May 2014 09:56:32 +0000 (11:56 +0200)]
ims_charging: bugfix: Make ims_charging:ccr_timeouts resettable

6 years agoapp_perl: added documentation for perl_destroy_func parameter
Daniel-Constantin Mierla [Mon, 26 May 2014 13:55:22 +0000 (15:55 +0200)]
app_perl: added documentation for perl_destroy_func parameter

6 years agoapp_perl: new param perl_destroy_func to specify perl destroy function
Daniel-Constantin Mierla [Mon, 26 May 2014 13:47:07 +0000 (15:47 +0200)]
app_perl: new param perl_destroy_func to specify perl destroy function

- if set, the module will execute the specified perl function before
  re-initializing the interpreter at runtime

6 years agotls: added missed include file for accessing outgoing connection certificate
Daniel-Constantin Mierla [Mon, 26 May 2014 13:00:29 +0000 (15:00 +0200)]
tls: added missed include file for accessing outgoing connection certificate

6 years agoauth_db: auth_check() to get the auth header from the used api
Daniel-Constantin Mierla [Mon, 26 May 2014 12:47:37 +0000 (14:47 +0200)]
auth_db: auth_check() to get the auth header from the used api

- this avoids using a different auth header that might be in the request
  before checking usernames in from/to headers against auth user

6 years agotls: execute event_route[tls:connection-out]
Daniel-Constantin Mierla [Mon, 26 May 2014 12:17:43 +0000 (14:17 +0200)]
tls: execute event_route[tls:connection-out]

- done when a new outgoing tls connection is opened
- ongoing work, to allow an option to drop the connection based on
  config decision

6 years agocore: option to specify whether the send info has to be set before sending out
Daniel-Constantin Mierla [Mon, 26 May 2014 12:16:49 +0000 (14:16 +0200)]
core: option to specify whether the send info has to be set before sending out

6 years agocore: added field to link sip msg in onsend structure
Daniel-Constantin Mierla [Mon, 26 May 2014 12:13:30 +0000 (14:13 +0200)]
core: added field to link sip msg in onsend structure

- to be used when opening an ongoing stream (tcp/tls) connection

6 years agoAdded app_java to modules list
Konstantin Mosesov [Sat, 24 May 2014 13:16:07 +0000 (17:16 +0400)]
Added app_java to modules list

6 years agoAdded requirements for modules app_python and app_java
Konstantin Mosesov [Sat, 24 May 2014 13:14:30 +0000 (17:14 +0400)]
Added requirements for modules app_python and app_java

6 years agoNew generated file
Konstantin Mosesov [Sat, 24 May 2014 02:00:47 +0000 (06:00 +0400)]
New generated file

6 years agoAdded application name in error description.
Konstantin Mosesov [Sat, 24 May 2014 01:59:56 +0000 (05:59 +0400)]
Added application name in error description.

6 years agoFixed misstypes and indents in docs.
Konstantin Mosesov [Sat, 24 May 2014 01:58:19 +0000 (05:58 +0400)]
Fixed misstypes and indents in docs.

6 years agoFixed bug with JAVA_HOME detection.
Konstantin Mosesov [Sat, 24 May 2014 01:57:16 +0000 (05:57 +0400)]
Fixed bug with JAVA_HOME detection.

6 years agomodules:ims_registrar_scscf: notify partial reg info body incorrect when q is set
Richard Good [Fri, 23 May 2014 16:06:03 +0000 (18:06 +0200)]
modules:ims_registrar_scscf: notify partial reg info body incorrect when q is set

6 years agomodules:ims_registrar_scscf: fixed domain lockup when generating notifications if...
Richard Good [Fri, 23 May 2014 16:04:03 +0000 (18:04 +0200)]
modules:ims_registrar_scscf: fixed domain lockup when generating notifications if impu not found

6 years agomodules:ims_registrar_pcscf: added support for notification event deactivated
Richard Good [Fri, 23 May 2014 16:01:42 +0000 (18:01 +0200)]
modules:ims_registrar_pcscf:  added support for notification event deactivated

6 years agoCore: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.
Carsten Bock [Thu, 22 May 2014 19:07:17 +0000 (21:07 +0200)]
Core: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.

6 years agomodules/ims_usrloc_pcscf: fixed bug, not fetching associated IMPUs from DB during...
Jason Penton [Thu, 22 May 2014 12:52:43 +0000 (14:52 +0200)]
modules/ims_usrloc_pcscf: fixed bug, not fetching associated IMPUs from DB during preload of domain on startup

6 years agomodules/ims_usrloc_scscf: Added ability to do AKA resync of auth vectors
Jason Penton [Wed, 21 May 2014 19:51:11 +0000 (21:51 +0200)]
modules/ims_usrloc_scscf: Added ability to do AKA resync of auth vectors
        - this functionality is required for AKA authentication between network and SIM should they get out
                of sync with each other re. sequence numbers

6 years agomodules/ims_auth: fixed unlocking of usrloc hash slots
Jason Penton [Wed, 21 May 2014 19:47:38 +0000 (21:47 +0200)]
modules/ims_auth: fixed unlocking of usrloc hash slots
- can cause deadlock

6 years agocore: allow listening on tls without listening on tcp
Daniel-Constantin Mierla [Wed, 21 May 2014 07:55:46 +0000 (09:55 +0200)]
core: allow listening on tls without listening on tcp

- reported in FS#425

6 years agodispatcher: ds_select_dst/domain can take args as string (not only int)
Ovidiu Sas [Tue, 20 May 2014 17:47:44 +0000 (13:47 -0400)]
dispatcher: ds_select_dst/domain can take args as string (not only int)
 - internal converion of string->int (if possible)

6 years agosr_module: new fixup function: get_is_fparam()
Ovidiu Sas [Tue, 20 May 2014 17:45:40 +0000 (13:45 -0400)]
sr_module: new fixup function: get_is_fparam()
 - retrieve parameter value as string or/and integer (if possible)

6 years agokex: count unsupported methods only for SIP requests
Daniel-Constantin Mierla [Tue, 20 May 2014 14:14:32 +0000 (16:14 +0200)]
kex: count unsupported methods only for SIP requests

- reported by Juha Heinanen, FS#432

6 years agomodules/siputils: generate error message if parsing of is_gruu() uri fails
Juha Heinanen [Tue, 20 May 2014 13:22:58 +0000 (16:22 +0300)]
modules/siputils:  generate error message if parsing of is_gruu() uri fails

6 years agocore: print number of parameters used for searching cfg function
Daniel-Constantin Mierla [Tue, 20 May 2014 07:16:01 +0000 (09:16 +0200)]
core: print number of parameters used for searching cfg function

6 years agosdpops: added note about dtmf and telepheone-event to docs of spd_keep_codecs_by_name()
Daniel-Constantin Mierla [Tue, 20 May 2014 06:46:04 +0000 (08:46 +0200)]
sdpops: added note about dtmf and telepheone-event to docs of spd_keep_codecs_by_name()

6 years agomodules/kex: fixed type of stats.get_statistics result
Juha Heinanen [Mon, 19 May 2014 09:16:58 +0000 (12:16 +0300)]
modules/kex: fixed type of stats.get_statistics result

6 years agodialog: add wait-for-ack callback before response unref
Daniel-Constantin Mierla [Mon, 19 May 2014 06:56:38 +0000 (08:56 +0200)]
dialog: add wait-for-ack callback before response unref

- in case of a sipral for ending in a negative response from initial
  state, ack to second iteration can unref prematurely the dialog
- reported by Pawel Sternal, FS#427

6 years agotextops: Refresh README
Victor Seva [Tue, 18 Mar 2014 10:18:56 +0000 (11:18 +0100)]
textops: Refresh README

6 years agotextops: add new multipart functions documentation
Victor Seva [Sun, 16 Mar 2014 09:04:38 +0000 (10:04 +0100)]
textops: add new multipart functions documentation

6 years agotextops: functions to convert, append and remove multipart bodies
Victor Seva [Fri, 21 Mar 2014 20:59:41 +0000 (21:59 +0100)]
textops: functions to convert, append and remove multipart bodies

6 years agocore: add check_boundaries() to build_req_buf_from_sip_req().
Victor Seva [Fri, 21 Mar 2014 20:56:04 +0000 (21:56 +0100)]
core: add check_boundaries() to build_req_buf_from_sip_req().

This checks and fixes the boundaries of a multipart body if the
FL_BODY_MULTIPART flag is set.

6 years agocore: add str_append helper function
Victor Seva [Mon, 28 Apr 2014 14:20:57 +0000 (16:20 +0200)]
core: add str_append helper function

6 years agomtree: replace tree structure even there are no records in db table
Daniel-Constantin Mierla [Sun, 18 May 2014 17:07:38 +0000 (19:07 +0200)]
mtree: replace tree structure even there are no records in db table

- reload didn't replaced old tree if no records in db table
- reported by Juha Heinanen

6 years agosiputils: allocate enough space to hold ending zero for tel uri in tel2sip()
Daniel-Constantin Mierla [Thu, 15 May 2014 11:59:03 +0000 (13:59 +0200)]
siputils: allocate enough space to hold ending zero for tel uri in tel2sip()

- reported by Juha Heinanen

6 years agocore: use port 5061 for checking self when uri has transport tls
Daniel-Constantin Mierla [Thu, 15 May 2014 10:48:04 +0000 (12:48 +0200)]
core: use port 5061 for checking self when uri has transport tls

- 5060 was used, failing to match myself condition