[asterisk-bugs] [JIRA] (ASTERISK-25985) chan_sip:sip_poke_peer does't copy port
József Dudás (JIRA)
noreply at issues.asterisk.org
Tue May 3 09:31:56 CDT 2016
József Dudás created ASTERISK-25985:
---------------------------------------
Summary: chan_sip:sip_poke_peer does't copy port
Key: ASTERISK-25985
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25985
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/Messaging
Affects Versions: 13.8.2, 11.22.0
Reporter: József Dudás
When a peer is set to different port than 5060, and SIP OPTIONS is sent by asterisk, the SIP packet does not contain the port number.
So if trunk port is 5080 (and not 5060), asterisk still sends
OPTIONS sip:aaa.bbb.ccc.ddd
and not:
OPTIONS sip:aaa.bbb.ccc.ddd:5080
Solvable by adding to channels/chan_sip.c's sip_poke_peer function this:
p->portinuri = peer->portinuri;
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list