[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:comment-tabpanel&focusedCommentId=230673#comment-230673 ] 

Asterisk Team commented on ASTERISK-25985:
------------------------------------------

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> 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: 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