mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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
This commit is contained in:
@@ -104,6 +104,12 @@ ASTERISK_REGISTER_FILE()
|
||||
<parameter name="RegExpire">
|
||||
<para>Absolute time that this contact is no longer valid after</para>
|
||||
</parameter>
|
||||
<parameter name="ViaAddress">
|
||||
<para>IP address:port of the last Via header in REGISTER request</para>
|
||||
</parameter>
|
||||
<parameter name="CallID">
|
||||
<para>Content of the Call-ID header in REGISTER request</para>
|
||||
</parameter>
|
||||
</syntax>
|
||||
</managerEventInstance>
|
||||
</managerEvent>
|
||||
|
Reference in New Issue
Block a user