[asterisk-bugs] [JIRA] (ASTERISK-25205) pjsip Via broken if there are multiple transports with different bind ports
Gergely Dömsödi (JIRA)
noreply at issues.asterisk.org
Fri Jun 26 07:37:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gergely Dömsödi closed ASTERISK-25205.
--------------------------------------
Resolution: Fixed
In 13.3.2 the issue appears fixed.
> pjsip Via broken if there are multiple transports with different bind ports
> ---------------------------------------------------------------------------
>
> Key: ASTERISK-25205
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25205
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 13.1.1
> Environment: Fedora 22
> Reporter: Gergely Dömsödi
>
> I have a box with multiple interfaces. If I set two endpoint with different transports binding to different ports, chan_pjsip sends out INVITE's with improper Via: Headers.
> Relevant part of pjsip.conf:
> {noformat}
> [transport-udp-pub]
> type=transport
> protocol=udp
> bind=X.X.X.X:5070
> [transport-udp-yyy]
> type=transport
> protocol=udp
> bind=Y.Y.Y.Y:5060
> [xxx]
> type=endpoint
> transport=transort-udp-pub
> [yyy]
> type=endpoint
> transport=transport-udp-yyy
> [yyy]
> type=identify
> endpoint=yyy
> match=Z.Z.Z.Z
> {noformat}
> If I dial in to asterisk from peer {{xxx}} and from the dialplan I {{Dial}} out to {{yyy}} the outgoing INVITE is like:
> {noformat}
> INVITE sip:1111 at Z.Z.Z.Z SIP/2.0
> Via: SIP/2.0/UDP Y.Y.Y.Y:5070;rport;branch=z9hG4bKPjd63aecb8-a2df-4e1d-adc7-d3bd92735bfb
> {noformat}
> Notice the address in the {{Via:}} header: it contains an IP, port combantion which is not the one the asterisk is bound to. The right value would be Y.Y.Y.Y:5060.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list