[asterisk-bugs] [JIRA] (ASTERISK-24615) When Multiple Transports Exist in pjsip.conf, Incorrect External Addresses is Used in SIP Packets When Responding to INVITE

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Jan 16 07:01:35 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-24615:
-----------------------------------

    Assignee: David Justl  (was: Joshua Colp)
      Status: Waiting for Feedback  (was: Open)

Can you give this one a try? I'll hold off on code review for a day or two.

> 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