[asterisk-bugs] [JIRA] (ASTERISK-24615) When Multiple Transports Exist in pjsip.conf, Incorrect External Addresses is Used in SIP Packets When Responding to INVITE
David Justl (JIRA)
noreply at issues.asterisk.org
Fri Jan 16 10:53:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224541#comment-224541 ]
David Justl commented on ASTERISK-24615:
----------------------------------------
This one seems to fix it. The proper external IP is used for all signaling, including the 'BYE' message, no matter which order the transports appear in the file. I also tested using different IPs instead of different ports and that is also now working properly. Thanks much!
> When Multiple Transports Exist in pjsip.conf, Incorrect External Addresses is Used in SIP Packets When Responding to INVITE
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-24615
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24615
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.0.1
> Reporter: David Justl
> Assignee: David Justl
> Attachments: 121214.log, ASTERISK-24615.diff, full_bad_011415.log, full_good_011415.log, pjsip_bad_011415.conf, pjsip.conf.121214, pjsip_good_011415.conf, pjsip-multihomed-skip-new-transport.diff
>
>
> Say pjsip.conf is configured with two transports, one bound to port 5060 and one bound to port 5061, each with completely different external_signaling_address and external_media_address values. Then say each is mapped to a different VoIP provider's endpoint. When Asterisk receives an INVITE from the provider that is configured to use the transport bound to port 5061, it is using the external_signaling_address and external_media_address values from the transport bound to port 5060 in the Header Contact and in the Message Body Session Description Protocol portions of the OK response. There is nothing in pjsip.conf tying the given endpoint to the port 5060 transport. This causes the provider to send RTP and other signaling packets to the wrong IP.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list