sip-router
4 years agoMakefile.defs: version set to 5.0.0-dev6
Daniel-Constantin Mierla [Fri, 26 Aug 2016 07:27:39 +0000 (09:27 +0200)]
Makefile.defs: version set to 5.0.0-dev6

4 years agocore: parser - safety check and clean log messages for disposition header
Daniel-Constantin Mierla [Fri, 26 Aug 2016 07:26:47 +0000 (09:26 +0200)]
core: parser - safety check and clean log messages for disposition header

4 years agoMerge pull request #756 from athonet-open/fix__example_scscf
ng-voice GmbH [Tue, 23 Aug 2016 11:19:41 +0000 (13:19 +0200)]
Merge pull request #756 from athonet-open/fix__example_scscf

examples/scscf: minor fixes (logging)

4 years agoexamples/scscf: minor fixes (logging) 756/head
Dragos Oancea [Tue, 23 Aug 2016 08:50:11 +0000 (10:50 +0200)]
examples/scscf: minor fixes (logging)

4 years agoMerge pull request #753 from athonet-open/fix__dbl_frees
Daniel-Constantin Mierla [Mon, 22 Aug 2016 11:25:45 +0000 (13:25 +0200)]
Merge pull request #753 from athonet-open/fix__dbl_frees

core: fixed two double free() situations

4 years agocore: fix double free on clearing lump 753/head
Dragos Oancea [Fri, 19 Aug 2016 14:34:32 +0000 (16:34 +0200)]
core: fix double free on clearing lump

4 years agocore: fix double free on clearing hdr
Dragos Oancea [Mon, 22 Aug 2016 07:58:07 +0000 (09:58 +0200)]
core: fix double free on clearing hdr

4 years agoMerge pull request #726 from phil-lavin/bugfix-presence-race-2
Daniel-Constantin Mierla [Mon, 22 Aug 2016 07:42:10 +0000 (09:42 +0200)]
Merge pull request #726 from phil-lavin/bugfix-presence-race-2

Bugfix presence race 2

4 years agoMerge pull request #724 from phil-lavin/bugfix-presence-race
Daniel-Constantin Mierla [Mon, 22 Aug 2016 07:40:53 +0000 (09:40 +0200)]
Merge pull request #724 from phil-lavin/bugfix-presence-race

presence: Always check if a record exists for this dialog before inserting

4 years agoMerge pull request #754 from athonet-open/fix__presence_dbl_free
Daniel-Constantin Mierla [Mon, 22 Aug 2016 07:40:23 +0000 (09:40 +0200)]
Merge pull request #754 from athonet-open/fix__presence_dbl_free

presence: fix multiple double free on shutdown caught with memlog=1

4 years agoMerge pull request #755 from kelchy/master
Daniel-Constantin Mierla [Mon, 22 Aug 2016 07:37:13 +0000 (09:37 +0200)]
Merge pull request #755 from kelchy/master

permissions: fixed rpc array

4 years agopermissions: fixed rpc array 755/head
Kelvin Chua [Sat, 20 Aug 2016 15:03:09 +0000 (15:03 +0000)]
permissions: fixed rpc array

- added array structure when returning multiple address and subnets

4 years agopresence: fix multiple double free on shutdown caught with memlog=1 754/head
Dragos Oancea [Fri, 19 Aug 2016 13:26:58 +0000 (15:26 +0200)]
presence: fix multiple double free on shutdown caught with memlog=1

4 years agooutbound: use pkg-config for libcrypto in makefile
Daniel-Constantin Mierla [Fri, 19 Aug 2016 06:34:18 +0000 (08:34 +0200)]
outbound: use pkg-config for libcrypto in makefile

4 years agoMerge pull request #749 from athonet-open/fix__log_tcp
Daniel-Constantin Mierla [Wed, 17 Aug 2016 09:49:22 +0000 (11:49 +0200)]
Merge pull request #749 from athonet-open/fix__log_tcp

core: fix some logging in tcp_read.c

4 years agocore: fix some logging in tcp_read.c 749/head
Dragos Oancea [Tue, 16 Aug 2016 17:03:08 +0000 (19:03 +0200)]
core: fix some logging in tcp_read.c

4 years agoMerge pull request #746 from denzs/master
Alexandr Dubovikov [Mon, 15 Aug 2016 11:20:55 +0000 (13:20 +0200)]
Merge pull request #746 from denzs/master

modules/siptrace: fix parsing of unsecure ws uris

4 years agomodules/siptrace: fix parsing of unsecure ws uris 746/head
Sebastian Denz [Mon, 15 Aug 2016 10:32:24 +0000 (12:32 +0200)]
modules/siptrace: fix parsing of unsecure ws uris

4 years agoMerge pull request #745 from kamailio/fix-nsq-segfault
Emmanuel Schmidbauer [Fri, 12 Aug 2016 19:55:15 +0000 (15:55 -0400)]
Merge pull request #745 from kamailio/fix-nsq-segfault

nsq: update new_nsq_reader() function call

4 years agonsq: update new_nsq_reader() function call 745/head
Emmanuel Schmidbauer [Fri, 12 Aug 2016 19:40:42 +0000 (15:40 -0400)]
nsq: update new_nsq_reader() function call
-remove local libnsq files
-pass NULL for NSQReaderCfg to new_nsq_reader()

4 years agohttp_async_client: don't stop routing script execution for a POST query if transactio...
Federico Cabiddu [Fri, 12 Aug 2016 12:36:27 +0000 (14:36 +0200)]
http_async_client: don't stop routing script execution for a POST query if transaction is not suspended

4 years agoMerge pull request #742 from sjthomason/use-portable-endian-macros
Daniel-Constantin Mierla [Wed, 10 Aug 2016 07:07:45 +0000 (09:07 +0200)]
Merge pull request #742 from sjthomason/use-portable-endian-macros

Use portable endian macros

4 years agocore: use in tree portable endianness macros 742/head
Spencer Thomason [Tue, 9 Aug 2016 22:18:59 +0000 (15:18 -0700)]
core: use in tree portable endianness macros

- replace WORDS_BIGENDIAN with __IS_BIG_ENDIAN
- not all platforms define WORDS_BIGENDIAN on big endian archs
- closes GH #739

4 years agocdp: use in tree portable endianness macros
Spencer Thomason [Tue, 9 Aug 2016 22:16:53 +0000 (15:16 -0700)]
cdp: use in tree portable endianness macros

- replace WORDS_BIGENDIAN with __IS_BIG_ENDIAN
- not all platforms define WORDS_BIGENDIAN on big endian archs

4 years agoauth_diameter: use in tree portable endianness macros
Spencer Thomason [Tue, 9 Aug 2016 22:16:17 +0000 (15:16 -0700)]
auth_diameter: use in tree portable endianness macros

- replace WORDS_BIGENDIAN with __IS_BIG_ENDIAN
- not all platforms define WORDS_BIGENDIAN on big endian archs

4 years agoacc: use in tree portable endianness macros
Spencer Thomason [Tue, 9 Aug 2016 22:15:07 +0000 (15:15 -0700)]
acc: use in tree portable endianness macros

- replace WORDS_BIGENDIAN with __IS_BIG_ENDIAN
- not all platforms define WORDS_BIGENDIAN on big endian archs

4 years agoxmpp: use in tree portable endianness macros
Spencer Thomason [Tue, 9 Aug 2016 22:14:32 +0000 (15:14 -0700)]
xmpp: use in tree portable endianness macros

- replace WORDS_BIGENDIAN with __IS_BIG_ENDIAN
- not all platforms define WORDS_BIGENDIAN on big endian archs

4 years agotopos: force checking of Contact header for INVITE only
Daniel-Constantin Mierla [Tue, 9 Aug 2016 13:43:23 +0000 (15:43 +0200)]
topos: force checking of Contact header for INVITE only

- follow up on GH #715

4 years agoMerge pull request #741 from snen/dialog_vars_update_error_fix
Daniel-Constantin Mierla [Tue, 9 Aug 2016 13:39:03 +0000 (15:39 +0200)]
Merge pull request #741 from snen/dialog_vars_update_error_fix

dialog: set DLG_FLAG_CHANGED for changed dialog variables

4 years agodialog: set DLG_FLAG_CHANGED for changed dialog variables 741/head
Dmitri Savolainen [Tue, 9 Aug 2016 09:01:59 +0000 (12:01 +0300)]
dialog: set DLG_FLAG_CHANGED for changed dialog variables

improper flag setting has been the cause of the not DB saving in some scenarios

4 years agoMerge pull request #740 from sjthomason/solaris-use-sys-md5
Daniel-Constantin Mierla [Tue, 9 Aug 2016 07:17:53 +0000 (09:17 +0200)]
Merge pull request #740 from sjthomason/solaris-use-sys-md5

core: use system MD5 on Solaris

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 agopresentity: don't update terminated presentity entries in the database 726/head
Phil Lavin [Wed, 27 Jul 2016 13:53:42 +0000 (14:53 +0100)]
presentity: don't update terminated presentity entries in the database

- Fixes a race condition caused by, for example, the call being answered
  at almost exactly the same time as the caller cancels. This causes
  a terminated state to change back to completed. The dialog is then
  removed from the database and the presentity entry stays in place
  until it expires.
- This fix explicitly prevents terminated entries being updated as the
  state machine in RFC 4235 prohibits this behaviour.

4 years agopresence: log when presentity is deleted due to already existing 724/head
Phil Lavin [Wed, 27 Jul 2016 10:25:40 +0000 (11:25 +0100)]
presence: log when presentity is deleted due to already existing

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 agopresence: fix memory leak introduced by last commit
Phil Lavin [Mon, 25 Jul 2016 13:39:35 +0000 (14:39 +0100)]
presence: fix memory leak introduced by last commit

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 agopresence: Always check if a record exists for this dialog before inserting
Phil Lavin [Fri, 22 Jul 2016 09:45:24 +0000 (10:45 +0100)]
presence: Always check if a record exists for this dialog before inserting

- The presence implementation is a little dubious, to say the least.
  It probably wants re-writing at some stage. However, this fixes a
  race condition that could have a number of causes in which the PUA
  is unaware of the eTag at the point it sends the PUBLISH.

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