[asterisk-bugs] [JIRA] (ASTERISK-24508) res_pjsip: REFER request from SNOM 710/8.7.3.25.5 is rejected with "400 bad request"
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Nov 10 15:14:29 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-24508:
------------------------------------
Status: Waiting for Feedback (was: Triage)
Beppo, looks like Asterisk doesn't like the Refer-to from the SNOM.
{noformat}
[2014-11-07 16:34:46] DEBUG[1748] res_pjsip_refer.c: Received a REFER without a parseable Refer-To ('sip:603 at 192.168.1.8;user=phone?Replaces=545ce68db624-gdhc4gp41882%3Bto-tag%3Da0b21fa1-e26d-4a56-b553-a79f329e58f2%3Bfrom-tag%3D2mlnkcxazi') on channel 'PJSIP/601-00000006' from endpoint '601'
{noformat}
We are unsure why at the moment, but some are looking into it.
In the meantime, can you provide a log again, but this time with a correlating PCAP? I'd like to verify what the SNOM is sending to Asterisk.
> 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, issue_24508_full_log, log2.txt, log.txt, moduleshow_output.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