[asterisk-bugs] [JIRA] (ASTERISK-24508) res_pjsip: REFER request from SNOM 710/8.7.3.25.5 is rejected with "400 bad request"

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Nov 7 09:16:29 CST 2014


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

Matt Jordan updated ASTERISK-24508:
-----------------------------------

    Component/s:     (was: Resources/res_hep_rtcp)
                 Resources/res_pjsip_refer
                 Resources/res_pjsip
    Description: 
*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}

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



> res_pjsip: REFER request from SNOM 710/8.7.3.25.5 is rejected with "400 bad request"
> ------------------------------------------------------------------------------------
>
>                 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, log2.txt, log.txt, 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