Summary: | ASTERISK-25205: pjsip Via broken if there are multiple transports with different bind ports | ||
Reporter: | Gergely Dömsödi (doome) | Labels: | |
Date Opened: | 2015-06-26 07:25:29 | Date Closed: | 2015-06-26 07:36:21 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | pjproject/pjsip |
Versions: | 13.1.1 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Fedora 22 | Attachments: | |
Description: | 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@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. | ||
Comments: | By: Gergely Dömsödi (doome) 2015-06-26 07:36:22.172-0500 In 13.3.2 the issue appears fixed. |