[asterisk-bugs] [JIRA] (ASTERISK-17104) [patch] Uri encoded Refer-To fails to match callid, attended transfer fails

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Dec 13 08:52:09 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-17104:
-----------------------------------

    Labels: chan-sip-message-parsing  (was: )

> [patch] Uri encoded Refer-To fails to match callid, attended transfer fails
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-17104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17104
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Transfers
>            Reporter: Niklas Larsson
>            Severity: Minor
>              Labels: chan-sip-message-parsing
>         Attachments: sip_refer.patch
>
>
> Asterisk and Dialogic SoftIP failed to do a attended transfer. The reason is that Dialogic is encoding the Replaces and when asterisk is decoding, the %20 (space) is remaining in front of the callid. And when we later on compare callid's - there is no match.
> Simple patch is included, could probobly be done in a better way.
> ****** ADDITIONAL INFORMATION ******
> Sip packet from dialogic that fails:
> <--- SIP read from 82.115.148.168:5060 --->
> REFER sip:0703016666 at 81.93.151.197 SIP/2.0
> Via: SIP/2.0/UDP 82.115.148.168:5060;rport;branch=z9hG4bK4194851264-6030284
> Max-Forwards: 70
> Allow: SUBSCRIBE,NOTIFY,REFER,INFO,INVITE,ACK,OPTIONS,CANCEL,BYE
> Supported: replaces,TIMER
> From: <sip:9559 at 82.115.148.168>;tag=Dialogic_4158022264-5178316
> To: "0703016666" <sip:0703016666 at 81.93.151.197>;tag=as6bb8c847
> Call-ID: 77901597513cec856a96dc8970003583 at 81.93.151.197
> CSeq: 3 REFER
> Contact: <sip:12345 at 82.115.148.168:5060>
> Refer-To: <sip:0498253666 at 81.93.151.197:5060?Replaces=%20f8210fa8-5503cc-5%4082.115.148.168%3bfrom-tag%3dDialogic_4162916264-5702604%3bto-tag%3das760c9146>
> Referred-By: sip:031995533 at 82.115.148.168:5060
> Content-Length: 0



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list