]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: add "via_addr", "via_port", "call_id" to contact 01/2801/6
authorAlexei Gradinari <alex2grad@gmail.com>
Thu, 19 May 2016 19:56:26 +0000 (15:56 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Wed, 25 May 2016 14:56:14 +0000 (10:56 -0400)
commit230686f4ec82a774e2a41aaa5e86909fd589f9b4
treedf6bef07fb69be2c985c5393b5b90863ae63b439
parentf09f923514c44737693e424b3dab9afccfe0031f
res_pjsip: add "via_addr", "via_port", "call_id" to contact

As res_pjsip_nat rewrites contact's address, only the last Via header
can contain the source address of registered endpoint.
Also Call-Id header may contain the source address of registered
endpoint.

Added "via_addr", "via_port", "call_id" to contact.
Added new fields ViaAddress, CallID to AMI event ContactStatus.

ASTERISK-26011

Change-Id: I36bcc0bf422b3e0623680152d80486aeafe4c576
CHANGES
contrib/ast-db-manage/config/versions/6d8c104e6184_res_pjsip_add_contact_via_addr_and_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
main/stasis_endpoints.c
res/res_pjsip.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_registrar.c