[Home]

Summary:ASTERISK-01818: refer fails with compact headers
Reporter:sdolloff (sdolloff)Labels:
Date Opened:2004-06-14 16:19:31Date Closed:2011-06-07 14:10:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Trying to do an attended transfer fails when using compact SIP headers but works with expanded headers.

****** ADDITIONAL INFORMATION ******

This is the error message on the asterisk console and I have attached the SIP capture from both compact and long header formats:

Jun 14 15:23:15 WARNING[1011641344]: chan_sip.c:3983 get_refer_info: Huh?  Not a SIP header ()?
Jun 14 15:23:15 WARNING[1011641344]: chan_sip.c:3984 get_refer_info: Huh?  Not a SIP header ()?

(compact)

U 10.10.14.242:1025 -> 10.10.10.151:5060
 REFER sip:19995551212@10.10.10.151 SIP/2.0..v: SIP/2.0/UDP 10.10.14.242
 :1026;branch=z9hG4bK-12ad2318..f: Joe Black <sip:8885551212@sip.siptest.ne
 t>;tag=f32cea1b96465767..t: <sip:19995551212@sip.siptest.net>;tag=as1309290f..
 b: Joe Black <sip:8885551212@sip.siptest.net>..i: 88fec7ba-fc6b1f4b@10.10.
 20.11..CSeq: 105 REFER..Max-Forwards: 70..Proxy-Authorization: Digest usern
 ame="8885551212",realm="asterisk",nonce="71665799",uri="sip:19995551212@si
 p.siptest.net",algorithm=MD5,response="b35ca02f044db31fcf528241e5a74bb5"..m:
 Joe Black <sip:8885551212@10.10.14.242:1026>..r: sip:19995551212@_sip.d
 ls.net?Replaces=b77c312%2D1d4aa298%4010%2E10%2E20%2E11%3Bfrom-tag%3Df32cea1
 b96465767%3Bto-tag%3Das109a1a5e..User-Agent: Sipura/SPA2000-2.0.6(c)..l: 0.
 ...

U 10.10.10.151:5060 -> 10.10.14.242:1025
 SIP/2.0 404 Not Found..Via: SIP/2.0/UDP 10.10.14.242:1026;branch=z9hG4bK-
 12ad2318;received=10.10.14.242..From: Joe Black <sip:8885551212@sip.
 siptest.net>;tag=f32cea1b96465767..To: <sip:19995551212@sip.siptest.net>;tag=as130
 9290f..Call-ID: 88fec7ba-fc6b1f4b@10.10.20.11..CSeq: 105 REFER..User-Agent:
  Asterisk PBX..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER..Contact: <s
 ip:19995551212@10.10.10.151>..Accept: application/sdp..Content-Length: 0.
 ...

U 10.10.14.242:1025 -> 10.10.10.151:5060
 BYE sip:19995551212@10.10.10.151 SIP/2.0..v: SIP/2.0/UDP 10.10.14.242:1
 026;branch=z9hG4bK-a69a553f..f: Joe Black <sip:8885551212@sip.siptest.net>
 ;tag=f32cea1b96465767..t: <sip:19995551212@sip.siptest.net>;tag=as109a1a5e..i:
  b77c312-1d4aa298@10.10.20.11..CSeq: 103 BYE..Max-Forwards: 70..Proxy-Autho
 rization: Digest username="8885551212",realm="asterisk",nonce="71665799",ur
 i="sip:19995551212@sip.siptest.net",algorithm=MD5,response="0d837d49d76f0ddf65
 96e9c3c19fcee8"..User-Agent: Sipura/SPA2000-2.0.6(c)..l: 0....

U 10.10.10.151:5060 -> 10.10.14.242:1025
 SIP/2.0 200 OK..Via: SIP/2.0/UDP 10.10.14.242:1026;branch=z9hG4bK-a69a553
 f;received=10.10.14.242..From: Joe Black <sip:8885551212@sip.siptest.net
 >;tag=f32cea1b96465767..To: <sip:19995551212@sip.siptest.net>;tag=as109a1a5e..
 Call-ID: b77c312-1d4aa298@10.10.20.11..CSeq: 103 BYE..User-Agent: Asterisk
 PBX..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER..Contact: <sip:1999555
 1212@10.10.10.151>..Content-Length: 0....

(long)

U 10.10.14.242:1025 -> 10.10.10.151:5060
 REFER sip:19995551212@10.10.10.151 SIP/2.0..Via: SIP/2.0/UDP 10.10.14.2
 42:1026;branch=z9hG4bK-11dc2077..From: Joe Black <sip:8885551212@_sip.d
 ls.net>;tag=f32cea1b96465767..To: <sip:19995551212@sip.siptest.net>;tag=as6d4c
 b92f..Referred-By: Joe Black <sip:8885551212@sip.siptest.net>..Call-ID: e2
 2af13f-78ab1e8f@10.10.20.11..CSeq: 105 REFER..Max-Forwards: 70..Proxy-Autho
 rization: Digest username="8885551212",realm="asterisk",nonce="095edf98",ur
 i="sip:19995551212@sip.siptest.net",algorithm=MD5,response="29902b3b31a2e30ab4
 933b344e4f64c4"..Contact: Joe Black <sip:8885551212@10.10.14.242:1026
 >..Refer-To: sip:19995551212@sip.siptest.net?Replaces=59925520%2Da603aa3b%4010
 %2E10%2E20%2E11%3Bfrom-tag%3Df32cea1b96465767%3Bto-tag%3Das6d15b3f1..User-A
 gent: Sipura/SPA2000-2.0.6(c)..Content-Length: 0....

U 10.10.10.151:5060 -> 10.10.14.242:1025
 SIP/2.0 202 Accepted..Via: SIP/2.0/UDP 10.10.14.242:1026;branch=z9hG4bK-1
 1dc2077;received=10.10.14.242..From: Joe Black <sip:8885551212@_sip.d
 ls.net>;tag=f32cea1b96465767..To: <sip:19995551212@sip.siptest.net>;tag=as6d4c
 b92f..Call-ID: e22af13f-78ab1e8f@10.10.20.11..CSeq: 105 REFER..User-Agent:
 Asterisk PBX..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER..Contact: <si
 p:19995551212@10.10.10.151>..Content-Length: 0....

Comments:By: Mark Spencer (markster) 2004-06-14 16:42:06

This does not appear to be latest CVS head.  Can you please confirm this problem exists in latest CVS head?

By: Mark Spencer (markster) 2004-06-16 13:28:07

Customer lost interest.