[asterisk-bugs] [JIRA] (ASTERISK-25985) chan_sip:sip_poke_peer does't copy port
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue May 3 09:31:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230468#comment-230468 ]
Asterisk Team commented on ASTERISK-25985:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> 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
>
> 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