[asterisk-bugs] [JIRA] (ASTERISK-25985) chan_sip:sip_poke_peer does't copy port
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed May 18 12:00:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team closed ASTERISK-25985.
------------------------------------
> 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: 11.22.0, 13.8.2
> Reporter: József Dudás
> Assignee: Rusty Newton
>
> 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