SK> Example of failed REFER/Replace using Sipura SPA-2000; the Call-ID is not found because the Refer-To string is not parsed correctly (only the first % is converted to a character). The same happens with Xten X-Pro, except that X-Pro concludes the transfer with a BYE/Also that Asterisk does understand. REFER sip:asterisk@90.0.0.133 SIP/2.0 Via: SIP/2.0/UDP 90.0.0.134:5060;branch=z9hG4bK-8bbcff5 From: ;tag=3157b87bd2c2dc6b To: "Serge Kruppa" ;tag=as155389bd Referred-By: Other1 Call-ID: 798fcc0b4a6435243128200742172516@90.0.0.133 CSeq: 102 REFER Max-Forwards: 70 Contact: Other1 Refer-To: sip:2002@90.0.0.133?Replaces=5d3fe132%2D4764dc894.962889E+1304.962956E+1301.797066E+11134%3Bfrom-tag%3Def8893bbdca42ab%3Bto-tag%3Das72244d2f User-Agent: Sipura/SPA2000-1.0.20 Content-Length: 0 Feb 8 00:31:31 VERBOSE[81926]: 12 headers, 0 lines Feb 8 00:31:31 DEBUG[81926]: We found a REFER! Feb 8 00:31:31 VERBOSE[81926]: Looking for 2002 in default Feb 8 00:31:31 VERBOSE[81926]: Looking for other1 in default Feb 8 00:31:31 DEBUG[81926]: Assigning Replace-Call-ID Info 5d3fe132-4764dc89 to REPLACE_CALL_ID Feb 8 00:31:31 NOTICE[81926]: Supervised transfer requested, but unable to find callid '5d3fe132-4764dc89' Feb 8 00:31:31 VERBOSE[81926]: Transmitting (no NAT): SIP/2.0 404 Not Found Via: SIP/2.0/UDP 90.0.0.134:5060;branch=z9hG4bK-8bbcff5 From: ;tag=3157b87bd2c2dc6b To: "Serge Kruppa" ;tag=as155389bd Call-ID: 798fcc0b4a6435243128200742172516@90.0.0.133 CSeq: 102 REFERUntitled 1Untitled 1 User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Accept: application/sdp Content-Length: 0 ____________________________________________________________________ SK> After fixing the parsing of Refer-To, the Sipura SPA-2000 supervised transfer is successful. REFER sip:asterisk@90.0.0.133 SIP/2.0 Via: SIP/2.0/UDP 90.0.0.132:5060;rport;branch=z9hG4bK568251AC6B3B426EABB50E6BA5D80ADB From: ;tag=1701230517 To: "Other1" ;tag=as7f89f471 Contact: Call-ID: 22f5ebca3f190e533419ebfb407b7165@90.0.0.133 CSeq: 12281 REFER Refer-To: Referred-By: Serge Kruppa Max-Forwards: 70 User-Agent: X-PRO build 1101 Content-Length: 0 Feb 8 19:20:07 VERBOSE[81926]: 12 headers, 0 lines Feb 8 19:20:07 DEBUG[81926]: We found a REFER! Feb 8 19:20:07 DEBUG[81926]: SK> complete Refer-To [] Feb 8 19:20:07 DEBUG[81926]: SK> processed Refer-To [468D1042-6634-44DC-8CD3-F33DC86512E8@90.0.0.132;to-tag=as0e27d870;from-tag=2642621494] Feb 8 19:20:07 VERBOSE[81926]: Looking for 2002 in default Feb 8 19:20:07 VERBOSE[81926]: Looking for sergejf in default Feb 8 19:20:07 DEBUG[81926]: Assigning Replace-Call-ID Info 468D1042-6634-44DC-8CD3-F33DC86512E8@90.0.0.132 to REPLACE_CALL_ID Feb 8 19:20:07 DEBUG[81926]: SK> comparing callid with [0221cc1c03a0eac51626baf4286ec5d0@90.0.0.133] Feb 8 19:20:07 DEBUG[81926]: SK> comparing callid with [468D1042-6634-44DC-8CD3-F33DC86512E8@90.0.0.132] Feb 8 19:20:07 VERBOSE[81926]: Transmitting (no NAT): SIP/2.0 202 Accepted Via: SIP/2.0/UDP 90.0.0.132:5060;rport;branch=z9hG4bK568251AC6B3B426EABB50E6BA5D80ADB From: ;tag=1701230517 To: "Other1" ;tag=as7f89f471 Call-ID: 22f5ebca3f190e533419ebfb407b7165@90.0.0.133 CSeq: 12281 REFER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Length: 0 _____________________________________________________________________________ SK> After fixing the parsing of Refer-To, the Xten X-Pro supervised transfer is successful. REFER sip:asterisk@90.0.0.133 SIP/2.0 Via: SIP/2.0/UDP 90.0.0.134:5060;branch=z9hG4bK-d89f869 From: ;tag=74d4266777596c46 To: "Serge Kruppa" ;tag=as0be2ba14 Referred-By: Other1 Call-ID: 51c2fbc159e132ca2e89be9735a17bd6@90.0.0.133 CSeq: 103 REFER Max-Forwards: 70 Contact: Other1 Refer-To: sip:2002@90.0.0.133?Replaces=e852d6bd%2D9e1e34074.962889E+1301.609644E+1101.797066E+11134%3Bfrom-tag%3D410647f3e93cd82a%3Bto-tag%3Das1252582e User-Agent: Sipura/SPA2000-1.0.29(b) Content-Length: 0 Feb 8 19:18:31 VERBOSE[81926]: 12 headers, 0 lines Feb 8 19:18:31 DEBUG[81926]: We found a REFER! Feb 8 19:18:31 DEBUG[81926]: SK> complete Refer-To [sip:2002@90.0.0.133?Replaces=e852d6bd^2D9e1e3407^4090^2E0^2E0^2E134^3Bfrom-tag^3D410647f3e93cd82a^3Bto-tag^3Das1252582e] Feb 8 19:18:31 DEBUG[81926]: SK> processed Refer-To [e852d6bd-9e1e3407@90.0.0.134;from-tag=410647f3e93cd82a;to-tag=as1252582e] Feb 8 19:18:31 VERBOSE[81926]: Looking for 2002 in default Feb 8 19:18:31 VERBOSE[81926]: Looking for other1 in default Feb 8 19:18:31 DEBUG[81926]: Assigning Replace-Call-ID Info e852d6bd-9e1e3407@90.0.0.134 to REPLACE_CALL_ID Feb 8 19:18:31 DEBUG[81926]: SK> comparing callid with [0ef16a5d76347a995631049539559f67@90.0.0.133] Feb 8 19:18:31 DEBUG[81926]: SK> comparing callid with [e852d6bd-9e1e3407@90.0.0.134] Feb 8 19:18:31 VERBOSE[81926]: Transmitting (no NAT): SIP/2.0 202 Accepted Via: SIP/2.0/UDP 90.0.0.134:5060;branch=z9hG4bK-d89f869 From: ;tag=74d4266777596c46 To: "Serge Kruppa" ;tag=as0be2ba14 Call-ID: 51c2fbc159e132ca2e89be9735a17bd6@90.0.0.133 CSeq: 103 REFER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Content-Length: 0