[Asterisk-code-review] res pjsip: add "via addr", "via port", "call id" to contact (asterisk[13])

Alexei Gradinari asteriskteam at digium.com
Wed May 11 09:23:16 CDT 2016


Alexei Gradinari has posted comments on this change.

Change subject: res_pjsip: add "via_addr", "via_port", "call_id" to contact
......................................................................


Patch Set 3:

To manually manage/provisioning remote (behind the NAT) SIP devices it's necessary to know internal ip-address.

We could get internal ip-address using old-SIP AMI command 'SIPShowPeer'
For example
Reg-Contact : sip:user at 192.168.1.2:5060

Using PJSIP we couldn't because res_pjsip_nat rewrites contact's address before
AMI event is sent.

To find out internal ip-address 2 SIP headers can help: Via and Call-Id.

-- 
To view, visit https://gerrit.asterisk.org/2801
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I36bcc0bf422b3e0623680152d80486aeafe4c576
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list