[asterisk-bugs] [JIRA] (ASTERISK-24508) pjsip - REFER request from SNOM is rejected with "400 bad request" - DEBUG shows "Received a REFER without a parseable Refer-To"

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sat Nov 15 11:33:28 CST 2014


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

Joshua Colp updated ASTERISK-24508:
-----------------------------------

    Attachment: refer-fix-uri.diff

I'm attaching a change which I believe will resolve this issue. Can you please apply it to your Asterisk, rebuild, test, and provide feedback? If it proves successful I will get it through code review.

> pjsip - REFER request from SNOM is rejected with "400 bad request" - DEBUG shows "Received a REFER without a parseable Refer-To"
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24508
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24508
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip, Resources/res_pjsip_refer
>    Affects Versions: 13.0.0
>         Environment: Asterisk 13.0.0 on CentOS 6.5 
> extension 601 - SNOM 710
> extension 602 - yealink T46
> extension 603 - Jitsi
>            Reporter: Beppo mazzucato
>            Assignee: Beppo mazzucato
>         Attachments: ASTERISK-24498-13.diff, backtrace.txt, issue_24508_capture.pcap, issue_24508_full_log, issue_24508_full_log, log2.txt, log.txt, moduleshow_output.txt, refer-fix-uri.diff, snom.pcap
>
>
> *NOTE*:
> The original issue was ASTERISK-24498. In that issue, Asterisk crashed when attempting to convert a received RTCP packet into JSON format. That crash is being fixed under ASTERISK-24498.
> After fixing the crash, the attended transfer being initiated by the SNOM was rejected with a 400 bad request. That problem is being handled under this issue.
> h3. Original Problem Description
> Asterisk crash trying to perform an attended transfer 
> ext 602 call ext 601
> ext 601 put the call on hold
> ext 601 call extension 603
> when ext 603 answers asterisk crashes
> Unattended transfer works properly
> If the attended transfer is made by the yealink phone (in other words echanging the roles of ext 601 and ext 602 above) it works properly
> Same scenario doesn't crash with asterisk 11.13.1
> I'm attaching log and backtrace
> h3. New Problem (REFER failure)
> {quote}
> I'm attaching the pcap capture for your further investigation.
> I tested the patch ... it doesn't crash anymore but the transfer doesn't complete in fact asterisk reply with a "400 Bad Request" to the REFER message from the snom phone. I'm attaching the log showing this, please let me know if you need the pcap.
> {quote}



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



More information about the asterisk-bugs mailing list