sip-router
4 years agocore: use system MD5 on Solaris 740/head
Spencer Thomason [Mon, 8 Aug 2016 23:40:14 +0000 (16:40 -0700)]
core: use system MD5 on Solaris

- Allows use of SPARC optimized functions

4 years agomodules: readme files regenerated - uri_db ...
Kamailio Dev [Mon, 8 Aug 2016 07:01:27 +0000 (09:01 +0200)]
modules: readme files regenerated - uri_db ...

4 years agoMerge pull request #737 from dunst0/master
Daniel-Constantin Mierla [Mon, 8 Aug 2016 06:49:03 +0000 (08:49 +0200)]
Merge pull request #737 from dunst0/master

uri_db: added function to check any sip uri

4 years agoMerge pull request #738 from kamailio/lazedo-patch-1
Daniel-Constantin Mierla [Mon, 8 Aug 2016 06:47:17 +0000 (08:47 +0200)]
Merge pull request #738 from kamailio/lazedo-patch-1

presence: fix crash when field value is null

4 years agopresence: fix crash when field value is null 738/head
lazedo [Sun, 7 Aug 2016 12:32:50 +0000 (13:32 +0100)]
presence: fix crash when field value is null

4 years agokazoo: init cfg framework in child processes
lazedo [Sat, 6 Aug 2016 11:41:14 +0000 (12:41 +0100)]
kazoo: init cfg framework in child processes

fixes crashing since commit c7bec3320f6907c4edd8416a5e5cfa89b071a411

4 years agotopos: skip comma at the end when reinserting rr headers
Daniel-Constantin Mierla [Fri, 5 Aug 2016 06:27:41 +0000 (08:27 +0200)]
topos: skip comma at the end when reinserting rr headers

- reported by GH #716

4 years agomodules: readme files regenerated - ims_qos ...
Kamailio Dev [Thu, 4 Aug 2016 11:01:23 +0000 (13:01 +0200)]
modules: readme files regenerated - ims_qos ...

4 years agomodules/ims_qos: new mod param delete_contact_on_rx_failure
Richard Good [Thu, 4 Aug 2016 10:57:47 +0000 (12:57 +0200)]
modules/ims_qos: new mod param delete_contact_on_rx_failure
New param to decide whether to delete a contact if the associated Rx signalling session
is torn down

4 years agouri_db: added function to check any sip uri 737/head
Rick Barenthin [Thu, 4 Aug 2016 07:50:08 +0000 (09:50 +0200)]
uri_db: added function to check any sip uri

- until now only from and to uri can be checked
- so added a function check_uri to check any uri

4 years agoMerge pull request #736 from adubovikov/master
Alexandr Dubovikov [Wed, 3 Aug 2016 15:04:32 +0000 (17:04 +0200)]
Merge pull request #736 from adubovikov/master

modules/sipcapture: added nonsip_hook support. Now $hep variable available

4 years agomodules/sipcapture: added nonsip_hook support. Now $hep variable available 736/head
Alexandr Dubovikov [Wed, 3 Aug 2016 14:34:11 +0000 (16:34 +0200)]
modules/sipcapture: added nonsip_hook support. Now $hep variable available

4 years agoMerge pull request #733 from gaaf/rtimer-mode
Daniel-Constantin Mierla [Wed, 3 Aug 2016 06:19:15 +0000 (08:19 +0200)]
Merge pull request #733 from gaaf/rtimer-mode

Let multiple processes handle an rtimer

4 years agoMerge pull request #731 from adubovikov/master
Daniel-Constantin Mierla [Tue, 2 Aug 2016 17:05:27 +0000 (19:05 +0200)]
Merge pull request #731 from adubovikov/master

core: added more flexible processing for nonsip_hook messages

4 years agoMerge pull request #730 from athonet-open/fix_DB_scscf
ng-voice GmbH [Tue, 2 Aug 2016 12:45:07 +0000 (14:45 +0200)]
Merge pull request #730 from athonet-open/fix_DB_scscf

Improvements on DB handling on S-CSCF usrloc

4 years agortimer: Allow multiple timer processes per timer 733/head
Alex Hermann [Thu, 13 Nov 2014 15:15:06 +0000 (16:15 +0100)]
rtimer: Allow multiple timer processes per timer

Reuse the mode parameter to specify the number of processes handling the timer.

4 years agortimer: Validate mode parameter
Alex Hermann [Thu, 13 Nov 2014 15:13:21 +0000 (16:13 +0100)]
rtimer: Validate mode parameter

4 years agoims_usrloc_scscf: Print contact state as string 730/head
Federico Favaro [Mon, 1 Aug 2016 13:07:23 +0000 (15:07 +0200)]
ims_usrloc_scscf: Print contact state as string

Add helper function to print the state of the
contact as string

4 years agocore: added more flexible processing for nonsip_hook messages 731/head
Alexandr Dubovikov [Mon, 1 Aug 2016 15:39:03 +0000 (17:39 +0200)]
core: added more flexible processing for nonsip_hook messages

4 years agoims_usrloc_scscf: Double check contact refs on DB
Federico Favaro [Mon, 1 Aug 2016 12:50:39 +0000 (14:50 +0200)]
ims_usrloc_scscf: Double check contact refs on DB

If the contact is on state CONTACT_DELAYED_DELETE
and still has refs > 0 in memory, it could be
that it failed to acquire a lock to de-ref the
contact. This brings to a leak on the contact DB
because the contact will always have refs > 0 and
no actual refs on DB. Now, as a fallback, we
actually checks on DB the real number of refs of
the contact. If this refs is 0, force the
number  of refs in the record to 0 and mark the
contact for deletion.

4 years agoims_usrloc_scscf: Remove all unlinked contacts
Federico Favaro [Mon, 1 Aug 2016 12:29:18 +0000 (14:29 +0200)]
ims_usrloc_scscf: Remove all unlinked contacts

At startup, if IMPU table is empty, it means
that all the contacts stored on contact table
are "unlinked". Remove them as they are
unuseful

4 years agohttp_client: removed unused variables
Daniel-Constantin Mierla [Sun, 31 Jul 2016 09:46:36 +0000 (11:46 +0200)]
http_client: removed unused variables

4 years agodialog: jump to error if fails to parse requests in cseq update callback
Daniel-Constantin Mierla [Sun, 31 Jul 2016 09:42:55 +0000 (11:42 +0200)]
dialog: jump to error if fails to parse requests in cseq update callback

4 years agomodules: readme files regenerated - uac ...
Kamailio Dev [Fri, 29 Jul 2016 14:46:16 +0000 (16:46 +0200)]
modules: readme files regenerated - uac ...

4 years agoMerge pull request #729 from gaaf/uac_reg_master
Daniel-Constantin Mierla [Fri, 29 Jul 2016 14:37:26 +0000 (16:37 +0200)]
Merge pull request #729 from gaaf/uac_reg_master

Various improvements to uac registrations

4 years agoMerge pull request #728 from dunst0/master
Daniel-Constantin Mierla [Fri, 29 Jul 2016 14:18:39 +0000 (16:18 +0200)]
Merge pull request #728 from dunst0/master

userblacklist: little changes in debug output

4 years agocore: msg_parser log output adaptations 728/head
Rick [Fri, 29 Jul 2016 08:54:53 +0000 (10:54 +0200)]
core: msg_parser log output adaptations

- switched LM_ERR to ERR
- removed ERROR, DEBUG form log message string
- removed function name from log message string
- changed LOG(L_CRIT, "BUG: ....") to BUG("...")

4 years agomodules: readme files regenerated - http_async_client ...
Kamailio Dev [Fri, 29 Jul 2016 04:31:26 +0000 (06:31 +0200)]
modules: readme files regenerated - http_async_client ...

4 years agohttp_async_client: fixed small typo in docs
Daniel-Constantin Mierla [Fri, 29 Jul 2016 04:25:42 +0000 (06:25 +0200)]
http_async_client: fixed small typo in docs

4 years agouac: uac_reg: Deduplicate code for copying a record from DB to mem 729/head
Alex Hermann [Thu, 7 Jul 2016 08:20:31 +0000 (10:20 +0200)]
uac: uac_reg: Deduplicate code for copying a record from DB to mem

4 years agouac: uac_reg: Add setting for using a random reg_delay
Alex Hermann [Thu, 7 Jul 2016 07:15:19 +0000 (09:15 +0200)]
uac: uac_reg: Add setting for using a random reg_delay

Will only take effect for registrations that have no reg_delay set in the
database.

4 years agouac: uac_reg: Keep Call-ID in registration sequence
Alex Hermann [Tue, 5 Jul 2016 15:04:10 +0000 (17:04 +0200)]
uac: uac_reg: Keep Call-ID in registration sequence

As recommended by rfc3261 ยง10.2.4, keep the same Call-Id during a
sequence of registrations. A new Call-ID will be generated after a
registration failure or near a cseq wrap-around.

The setting 'reg_keep_callid' controls this behaviour, defualt off.

4 years agouac: uac_reg: Use core parser instead of hand-parsing the Expires header
Alex Hermann [Tue, 5 Jul 2016 15:03:24 +0000 (17:03 +0200)]
uac: uac_reg: Use core parser instead of hand-parsing the Expires header

4 years agouac: uac_reg: Handle 423 response to outbound register
Alex Hermann [Tue, 5 Jul 2016 09:47:18 +0000 (11:47 +0200)]
uac: uac_reg: Handle 423 response to outbound register

Set the expires value to the value in the Min-Expires header, or double the
current value if that header is absent in the response.

To keep the code easier, the request won't be retried immediately, but on the
next timer interval.

4 years agoparser: Add parser for Min-Expires
Alex Hermann [Tue, 5 Jul 2016 09:45:41 +0000 (11:45 +0200)]
parser: Add parser for Min-Expires

4 years agouac: uac_reg: Only set UAC_REG_INIT flag if it was not set yet
Alex Hermann [Mon, 4 Jul 2016 13:44:06 +0000 (15:44 +0200)]
uac: uac_reg: Only set UAC_REG_INIT flag if it was not set yet

4 years agouac: uac_reg: Update of all fields when record is refreshed from DB
Alex Hermann [Thu, 7 Jul 2016 09:12:54 +0000 (11:12 +0200)]
uac: uac_reg: Update of all fields when record is refreshed from DB

More flexible and no more overallocating memory

4 years agouac: uac_reg: Optimize updating a registration
Alex Hermann [Fri, 13 May 2016 07:05:08 +0000 (09:05 +0200)]
uac: uac_reg: Optimize updating a registration

No need to search _again_, the to be updated reg is already known.

4 years agouac: uac_reg: Consolidate and optimize filtering records
Alex Hermann [Fri, 13 May 2016 15:24:26 +0000 (17:24 +0200)]
uac: uac_reg: Consolidate and optimize filtering records

Instead of blindly iterating all hash table buckets, try to use the hash
indices where possible.

4 years agouac: uac_reg: Return HTTP-like fault codes for RPC
Alex Hermann [Fri, 13 May 2016 14:29:50 +0000 (16:29 +0200)]
uac: uac_reg: Return HTTP-like fault codes for RPC

4 years agouac: uac_reg: Consolidate and sync (almost) duplicate code in adding an RPC node
Alex Hermann [Fri, 13 May 2016 14:13:57 +0000 (16:13 +0200)]
uac: uac_reg: Consolidate and sync (almost) duplicate code in adding an RPC node

4 years agouac: uac_reg: Add RPC function to add a new registration
Alex Hermann [Fri, 13 May 2016 14:15:12 +0000 (16:15 +0200)]
uac: uac_reg: Add RPC function to add a new registration

4 years agouac: uac_reg: Add RPC function to remove a registration
Alex Hermann [Fri, 13 May 2016 14:14:49 +0000 (16:14 +0200)]
uac: uac_reg: Add RPC function to remove a registration

4 years agouac: uac_reg: Use locking to prevent deletion of a registration entry when it is...
Alex Hermann [Mon, 3 Oct 2011 15:32:19 +0000 (17:32 +0200)]
uac: uac_reg: Use locking to prevent deletion of a registration entry when it is still being referenced

Abuse the hash lock. All operations on a reg_uact_t entry are short duration,
so just keep the lock on the hashlist entry during this time.

4 years agouac: uac_reg: Add function to remove registration
Alex Hermann [Fri, 13 May 2016 06:48:12 +0000 (08:48 +0200)]
uac: uac_reg: Add function to remove registration

4 years agouac: uac_reg: protect the registration lists with locks
Alex Hermann [Fri, 30 Sep 2011 16:41:47 +0000 (18:41 +0200)]
uac: uac_reg: protect the registration lists with locks

Every list iteration must be protected

4 years agouac: uac_reg: add uac_reg_status() function
Alex Hermann [Thu, 20 Oct 2011 12:09:30 +0000 (14:09 +0200)]
uac: uac_reg: add uac_reg_status() function

New function to obtain registration status from within configuration script

4 years agouac: uac_reg: fix uac_reg_get_byuser()
Alex Hermann [Fri, 30 Sep 2011 14:59:41 +0000 (16:59 +0200)]
uac: uac_reg: fix uac_reg_get_byuser()

The calculated hash was compared with uuid hash instead of user hash

4 years agouserblacklist: little changes in debug output
Rick [Thu, 28 Jul 2016 10:30:31 +0000 (12:30 +0200)]
userblacklist: little changes in debug output

- Fixed confusing debug output in module for global blacklists and whitelists

4 years agomodules: readme files regenerated - registrar ...
Kamailio Dev [Wed, 27 Jul 2016 21:46:26 +0000 (23:46 +0200)]
modules: readme files regenerated - registrar ...

4 years agoMerge pull request #725 from AndreasHuber-CH/contact_length
Daniel-Constantin Mierla [Wed, 27 Jul 2016 21:35:19 +0000 (23:35 +0200)]
Merge pull request #725 from AndreasHuber-CH/contact_length

registrar: Fix check of contact length and make it configurable

4 years agoregistrar: Add module parameter "contact_max_size" to make max contact size configurable 725/head
AndreasHuber-CH [Tue, 26 Jul 2016 08:33:01 +0000 (10:33 +0200)]
registrar: Add module parameter "contact_max_size" to make max contact size configurable

The new module parameter "contact_max_size" allows changing the max size of contact URIs
that are accepted in REGISTER requests.
The default value of this parameter is 255 which was the value of the compile time constant
that is replaced by this module parameter.
If configured one must make sure that the DB actually supports the configured size in the
column "contact".

4 years agoregistrar: Check max URI size of contact also for first contact header
AndreasHuber-CH [Tue, 26 Jul 2016 07:00:35 +0000 (09:00 +0200)]
registrar: Check max URI size of contact also for first contact header

The URI size of contacts is checked against a max size to ensure that it fits into the database column.
This check was already present before but was done only for the contact header fields other than the first header field
which made that REGISTER with a single contact were not checked for max size and were truncated later when stored to the database.
With this fix all contact URIs of all contact header fields are checked against the max size.

4 years agoregistrar: Add warnings if contact is invalid and REGISTER will be rejected
AndreasHuber-CH [Tue, 26 Jul 2016 06:41:20 +0000 (08:41 +0200)]
registrar: Add warnings if contact is invalid and REGISTER will be rejected

Added some warnings in case a REGISTER is rejected because of an invalid contact header field.
Before, kamailio might answer a 400 Bad Request for a too long contact URI for example without logging any message.

4 years agoMerge pull request #722 from athonet-open/ims_charging_fix_ro_issues
jaybeepee [Mon, 25 Jul 2016 07:24:29 +0000 (09:24 +0200)]
Merge pull request #722 from athonet-open/ims_charging_fix_ro_issues

ims_charging: fix Ro issues

4 years agocore: print content when failing to parse rr body
Daniel-Constantin Mierla [Sun, 24 Jul 2016 13:19:27 +0000 (15:19 +0200)]
core: print content when failing to parse rr body

4 years agocore: parse rr - removed function name from logs
Daniel-Constantin Mierla [Sun, 24 Jul 2016 06:27:00 +0000 (08:27 +0200)]
core: parse rr - removed function name from logs

- it is added automatically
- coherent indentation

4 years agomodules: readme files regenerated - ims_registrar_scscf ...
Kamailio Dev [Fri, 22 Jul 2016 07:01:24 +0000 (09:01 +0200)]
modules: readme files regenerated - ims_registrar_scscf ...

4 years agomodules/ims_registrar_scscf: new RPC command regscscf.dereg_impu to initiate network...
Richard Good [Fri, 22 Jul 2016 06:49:13 +0000 (08:49 +0200)]
modules/ims_registrar_scscf: new RPC command regscscf.dereg_impu to initiate network de-register

4 years agoMerge pull request #721 from vingarzan/openimsrevamp_ims_modules
richardgood [Thu, 21 Jul 2016 18:37:52 +0000 (20:37 +0200)]
Merge pull request #721 from vingarzan/openimsrevamp_ims_modules

ims_qos, ima_registrar_pcscf: fixes for de-registration and adding a flow to registration

4 years agoims_charging: Fix sequence of Ro Request-Number AVP 722/head
Marco Sinibaldi [Thu, 21 Jul 2016 15:03:26 +0000 (17:03 +0200)]
ims_charging: Fix sequence of Ro Request-Number AVP

4 years agoims_charging: Fix double free upon Ro AAA send failure
Marco Sinibaldi [Thu, 21 Jul 2016 12:55:52 +0000 (14:55 +0200)]
ims_charging: Fix double free upon Ro AAA send failure

4 years agoims_charging: Do not close dialog upon Ro credit control timeout before answer
Marco Sinibaldi [Thu, 21 Jul 2016 12:49:26 +0000 (14:49 +0200)]
ims_charging: Do not close dialog upon Ro credit control timeout before answer

4 years agoims_charging: Ignore Ro Validity-Time AVP if 0 or missing.
Marco Sinibaldi [Thu, 21 Jul 2016 12:43:22 +0000 (14:43 +0200)]
ims_charging: Ignore Ro Validity-Time AVP if 0 or missing.

4 years agoims_charging: move Expires AVP inside Event-Type AVP, according to TS 32.299
Marco Sinibaldi [Thu, 21 Jul 2016 12:38:39 +0000 (14:38 +0200)]
ims_charging: move Expires AVP inside Event-Type AVP, according to TS 32.299

4 years agoims_qos: better name for the rx_pcscf_ip parameter and added documentation 721/head
Dragos Vingarzan [Thu, 21 Jul 2016 09:16:02 +0000 (11:16 +0200)]
ims_qos: better name for the rx_pcscf_ip parameter and added documentation

4 years agoMerge pull request #719 from vingarzan/openimsrevamp_cdp_fixes
ng-voice GmbH [Wed, 20 Jul 2016 18:26:13 +0000 (20:26 +0200)]
Merge pull request #719 from vingarzan/openimsrevamp_cdp_fixes

cdp: initializing a variable to 0 and checking a return ptr for null

4 years agoims_registrar_pcscf: fixed removal of contacts on de-registration
Dragos Vingarzan [Wed, 20 Jul 2016 16:51:27 +0000 (18:51 +0200)]
ims_registrar_pcscf: fixed removal of contacts on de-registration

- the code was there, but I guess some API changes resulted in temporary
commented-out code; this uses the new parameters and seems to fix the
issue.

4 years agoims_qos: create a proper flow description for the SIP signaling 720/head
Dragos Vingarzan [Wed, 20 Jul 2016 16:31:01 +0000 (18:31 +0200)]
ims_qos: create a proper flow description for the SIP signaling

- before there was just an empty one in the AAR
- re-using the function typically used for the RTP media
- fixing then that function to not just hard-code protocol 17 (UDP) for everything
- now supporting also 6 (TCP) and IP (IP has no protocol number, we use just the
magic word "ip" (see RFC 3588 IPFilterRule for more details)
- adding the IP of the P-CSCF as a parameter to the module, as this is required
in the flow (UE IP <-> P-CSCF IP)
- also some inline/static fixes to function for avoiding warnings on gcc >=5

4 years agocdp: initializing a variable to 0 and checking a return ptr for null to prevent crashes 719/head
Dragos Vingarzan [Wed, 20 Jul 2016 15:33:13 +0000 (17:33 +0200)]
cdp: initializing a variable to 0 and checking a return ptr for null to prevent crashes

4 years agoMerge pull request #711 from athonet-open/fix_log_imsauth
Daniel-Constantin Mierla [Tue, 19 Jul 2016 20:06:05 +0000 (22:06 +0200)]
Merge pull request #711 from athonet-open/fix_log_imsauth

ims_auth: print ck in readable form and init var to 0 to avoid printing gibberish in the log

4 years agoMerge pull request #717 from athonet-open/fix_shutdown_presence
Daniel-Constantin Mierla [Tue, 19 Jul 2016 20:01:01 +0000 (22:01 +0200)]
Merge pull request #717 from athonet-open/fix_shutdown_presence

presence: fix potential double free in shutdown routine

4 years agopresence: fix potential double free in shutdown routine 717/head
IMS root [Tue, 19 Jul 2016 16:07:17 +0000 (18:07 +0200)]
presence: fix potential double free in shutdown routine

4 years agotopos: skip options from contact header check
Daniel-Constantin Mierla [Tue, 19 Jul 2016 13:36:43 +0000 (15:36 +0200)]
topos: skip options from contact header check

- reported by Daren Crew, GH #715

4 years agotls: print ssl memory functions if they cannot be set
Daniel-Constantin Mierla [Mon, 18 Jul 2016 08:43:48 +0000 (10:43 +0200)]
tls: print ssl memory functions if they cannot be set

4 years agodialplan: remove unused var from cfg reload function
Daniel-Constantin Mierla [Mon, 18 Jul 2016 06:10:20 +0000 (08:10 +0200)]
dialplan: remove unused var from cfg reload function

-reported by Juha Heinanen

4 years agoims_auth: print ck in readable form for debug reasons and init hbody to 0 to avoid... 711/head
Dragos Oancea [Fri, 15 Jul 2016 12:39:45 +0000 (14:39 +0200)]
ims_auth: print ck in readable form for debug reasons and init hbody to 0 to avoid printing gibberish in the log

4 years agomodules/ims_registrar_scscf: fix memory leak related to S-CSCF notification engine
jaybeepee [Thu, 14 Jul 2016 13:58:11 +0000 (15:58 +0200)]
modules/ims_registrar_scscf: fix memory leak related to S-CSCF notification engine

4 years agomodules/ims_usrloc_scscf: correctly read and reference subscription when reading...
jaybeepee [Thu, 14 Jul 2016 13:56:19 +0000 (15:56 +0200)]
modules/ims_usrloc_scscf: correctly read and reference subscription when reading from DB

4 years agomodules/ims_usrloc_scscf: remove old incorrect comment
jaybeepee [Thu, 14 Jul 2016 13:54:08 +0000 (15:54 +0200)]
modules/ims_usrloc_scscf: remove old incorrect comment

4 years agoMerge pull request #710 from athonet-open/fix_cdp_cleanup
Daniel-Constantin Mierla [Thu, 14 Jul 2016 12:47:57 +0000 (14:47 +0200)]
Merge pull request #710 from athonet-open/fix_cdp_cleanup

cdp: fix occasional segfault on process exit

4 years agocdp: fix occasional segfault on process exit 710/head
Dragos Oancea [Thu, 14 Jul 2016 12:20:26 +0000 (14:20 +0200)]
cdp: fix occasional segfault on process exit

4 years agomodules: readme files regenerated - tls ...
Kamailio Dev [Thu, 14 Jul 2016 10:46:23 +0000 (12:46 +0200)]
modules: readme files regenerated - tls ...

4 years agotls: added note in docs about loading tls module first
Daniel-Constantin Mierla [Thu, 14 Jul 2016 10:34:21 +0000 (12:34 +0200)]
tls: added note in docs about loading tls module first

4 years agotls: coherent whitespacing and indentation
Daniel-Constantin Mierla [Thu, 14 Jul 2016 10:29:06 +0000 (12:29 +0200)]
tls: coherent whitespacing and indentation

4 years agotls: more detailed log message when tls module cannot set libssl memory manager
Daniel-Constantin Mierla [Thu, 14 Jul 2016 10:25:06 +0000 (12:25 +0200)]
tls: more detailed log message when tls module cannot set libssl memory manager

4 years agoMerge pull request #709 from athonet-open/fix_vendor_id_on_auth_session
jaybeepee [Thu, 14 Jul 2016 07:15:19 +0000 (09:15 +0200)]
Merge pull request #709 from athonet-open/fix_vendor_id_on_auth_session

ims_qos: Store vendor_id on auth session

4 years agotm: wrap uri values in brackets inside error messages
Daniel-Constantin Mierla [Thu, 14 Jul 2016 06:43:05 +0000 (08:43 +0200)]
tm: wrap uri values in brackets inside error messages

- easier to spot invalid empty chars
- useless spaces removed

4 years agojanssonrpc-c: init cfg framework for additional process
Daniel-Constantin Mierla [Wed, 13 Jul 2016 14:03:32 +0000 (16:03 +0200)]
janssonrpc-c: init cfg framework for additional process

- revealed by GH #708

4 years agoims_qos: Store vendor_id on auth session 709/head
Federico Favaro [Wed, 13 Jul 2016 13:55:35 +0000 (15:55 +0200)]
ims_qos: Store vendor_id on auth session

When creating new Auth Session for both
signalling and media, vendor_id was never
assigned. If auth timer expires, CDP will
fail to route correctly STR based on
vendor ID 0

4 years agotm: execut cfg_update() inside t_continue()
Daniel-Constantin Mierla [Wed, 13 Jul 2016 13:36:09 +0000 (15:36 +0200)]
tm: execut cfg_update() inside t_continue()

- refresh the values changed inside cfg framework
- reported by Victor Seva, GH #708

4 years agodialog: cseq update callback implemented inside the module
Daniel-Constantin Mierla [Wed, 13 Jul 2016 08:18:07 +0000 (10:18 +0200)]
dialog: cseq update callback implemented inside the module

- keep related code together as it needs access to dlg vars

4 years agouac: use cseq update callback exported by dialog via core srapi
Daniel-Constantin Mierla [Wed, 13 Jul 2016 08:17:40 +0000 (10:17 +0200)]
uac: use cseq update callback exported by dialog via core srapi

4 years agocore: add header helper uses after lump anchor insert
Daniel-Constantin Mierla [Wed, 13 Jul 2016 08:17:04 +0000 (10:17 +0200)]
core: add header helper uses after lump anchor insert

4 years agocore: srapi - cseq update field update to be a function
Daniel-Constantin Mierla [Wed, 13 Jul 2016 08:16:23 +0000 (10:16 +0200)]
core: srapi - cseq update field update to be a function

4 years agocore: helper functions to add headers with str parameters
Daniel-Constantin Mierla [Wed, 13 Jul 2016 06:40:56 +0000 (08:40 +0200)]
core: helper functions to add headers with str parameters

4 years agomodules: readme files regenerated - avpops ...
Kamailio Dev [Tue, 12 Jul 2016 16:01:18 +0000 (18:01 +0200)]
modules: readme files regenerated - avpops ...

4 years agoavpops: note that avp_copy() is reversing the order of the values
Daniel-Constantin Mierla [Tue, 12 Jul 2016 15:51:53 +0000 (17:51 +0200)]
avpops: note that avp_copy() is reversing the order of the values

- reported by GH #706

4 years agodialog: parse all headers to check if cseq increment is needed
Daniel-Constantin Mierla [Tue, 12 Jul 2016 15:44:39 +0000 (17:44 +0200)]
dialog: parse all headers to check if cseq increment is needed

- jump over the full custom header when sending out

4 years agomodules: readme files regenerated - ipops ...
Kamailio Dev [Mon, 11 Jul 2016 19:31:16 +0000 (21:31 +0200)]
modules: readme files regenerated - ipops ...