Summary:ASTERISK-19104: transmit_refer doesn't send "Replaces" in tag "Refer-To:"
Reporter:Viktor Iagusevych (vyagusevich)Labels:
Date Opened:2011-12-23 13:24:21.000-0600Date Closed:2011-12-30 16:07:44.000-0600
Versions:Frequency of
Description:The setup: when one instance of asterisk is a client and other asterisk is a server.

When the client sends REFER without this tag asterisk server returns an error:
SIP/2.0 481 Call leg/transaction does not exist

I will appreciate if someone can explain the reason.

I tested a call transfer with Cisco SPA502G which sends REFER with Replaces value:
REFER sip:3076@ SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK-4abb33e1
From: "3095" <sip:3095@ipbx-blabla.com>;tag=cb7a8756e71981b8o0
To: <sip:3076@ipbx-blabla.com>;tag=as0ad23c6c
Referred-By: "LWO1-3095" <sip:3095@ipbx-blabla.com>
Call-ID: 2620d62e-3dbfc0c0@
CSeq: 104 REFER
Max-Forwards: 70
Proxy-Authorization: Digest username="3095",realm="asterisk",nonce="2d91da1d",uri="sip:3076@",algorithm=MD5,response="7f8bb104d3ac51ac9d39c3131f620ff3"
Contact: "LWO1-3095" <sip:3095@>
Refer-To: <sip:3079@ipbx-blabla.com?Replaces=674a4018-2d65bd8%4010.255.12.209%3Bfrom-tag%3D1672f318d90d44d8o0%3Bto-tag%3Das6b79fe22>
User-Agent: Cisco/SPA502G-7.4.3a
Content-Length: 0
Comments:By: Matt Jordan (mjordan) 2011-12-30 16:07:35.645-0600

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support, on the asterisk-users mailing list, or in the Asterisk IRC chat room #asterisk.