[asterisk-bugs] [JIRA] (ASTERISK-27263) Attended transfer by SNOM not working : REFER rejected by Asterisk

herman joossen (JIRA) noreply at issues.asterisk.org
Sun Sep 10 05:06:08 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238619#comment-238619 ] 

herman joossen commented on ASTERISK-27263:
-------------------------------------------

Apparently the issue is only appearing when using "SNOM compact SIP headers". If this is not set, then REFER is ok - see below. Reason for using SIP compact headers is to avoid issues with VPN connections that limit to 1500 bytes message length.

This issue did not appear when using SIP_Chan instead of PJSIP : regular or compact headers did not matter (and also don't seem to matter for PJSIP in other SIP messages - except for REFER)

<--- Received SIP request (651 bytes) from UDP:10.134.63.25:5060 --->
REFER sip:asterisk at 10.134.63.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.134.63.25:5060;branch=z9hG4bK-005o6ptej461;rport
From: <sip:41 at 10.134.63.25;line=mandi9ey>;tag=uah16tkmst
To: "Vanbroekhoven Danny" <sip:42 at 10.134.63.4>;tag=bf1df546-a36f-4015-b3be-3890b0c8da2b
Call-ID: 40312cfe-844d-4686-ab80-19ff86e3e3af
CSeq: 2 REFER
Max-Forwards: 5
User-Agent: snom710/8.7.5.35
Contact: <sip:41 at 10.134.63.25:5060;line=mandi9ey>;reg-id=1
Refer-To: sip:40 at 10.134.63.4;user=phone?Replaces=313530353033363733313231383531-rxgu8ilp2mns%3Bto-tag%3Df49e4c9b-ab18-4c58-b34d-d2113d0dfb5f%3Bfrom-tag%3D3nxqoo05me
Referred-By: sip:41 at 10.134.63.4
Content-Length: 0


<--- Transmitting SIP response (600 bytes) to UDP:10.134.63.25:5060 --->
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 10.134.63.25:5060;rport=5060;received=10.134.63.25;branch=z9hG4bK-005o6ptej461
Call-ID: 40312cfe-844d-4686-ab80-19ff86e3e3af
From: <sip:41 at 10.134.63.25;line=mandi9ey>;tag=uah16tkmst
To: "Vanbroekhoven Danny" <sip:42 at 10.134.63.4>;tag=bf1df546-a36f-4015-b3be-3890b0c8da2b
CSeq: 2 REFER
Expires: 600
Contact: <sip:asterisk at 10.134.63.4:5060>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Server: FPBX-13.0.192.16(13.13.1)
Content-Length:  0



> Attended transfer by SNOM not working : REFER rejected by Asterisk
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-27263
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27263
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.13.1
>         Environment: Freepbx 13
>            Reporter: herman joossen
>
> Hi,
> When making an attended transfer from a SNOM 710 IPphone I have the same issue as was reported earlier (ASTERISK-24508) - this is with Asterisk version 13.13.1.
> See below for SIP REFER message and 400 reply from Asterisk:
> {noformat}
> pbx*CLI> pjsip set logger on
> PJSIP Logging enabled
> pbx*CLI>
> <--- Received SIP request (589 bytes) from UDP:10.134.63.25:5060 --->
> REFER sip:10.134.63.4:5060 SIP/2.0
> v: SIP/2.0/UDP 10.134.63.25:5060;branch=z9hG4bK-icqox8uxx0j3;rport
> f: <sip:41 at 10.134.63.4>;tag=o6z5dyqidr
> t: "Vanbroekhoven Danny" <sip:42 at 10.134.63.4;user=phone>;tag=4bcca52e-6253-4996-b250-90c6619e4c73
> i: 313530343837353337363537313335-aayjxqpexeo8
> CSeq: 4 REFER
> Max-Forwards: 5
> User-Agent: snom710/8.7.5.35
> m: <sip:41 at 10.134.63.25:5060;line=mandi9ey>;reg-id=1
> r: sip:49 at 10.134.63.4?Replaces=9230ff8d-7789-4640-96b2-5ebe61c3f39d%3Bto-tag%3D6d256959-3898-411a-bf01-50eed31ed556%3Bfrom-tag%3Dxn7syxv2wq
> Referred-By: sip:41 at 10.134.63.4
> l: 0
> <--- Transmitting SIP response (391 bytes) to UDP:10.134.63.25:5060 --->
> SIP/2.0 400 Bad Request
> Via: SIP/2.0/UDP 10.134.63.25:5060;rport=5060;received=10.134.63.25;branch=z9hG4bK-icqox8uxx0j3
> Call-ID: 313530343837353337363537313335-aayjxqpexeo8
> From: <sip:41 at 10.134.63.4>;tag=o6z5dyqidr
> To: "Vanbroekhoven Danny" <sip:42 at 10.134.63.4;user=phone>;tag=4bcca52e-6253-4996-b250-90c6619e4c73
> CSeq: 4 REFER
> Server: FPBX-13.0.192.16(13.13.1)
> Content-Length: 0
> {noformat}



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



More information about the asterisk-bugs mailing list