2012-08-29

I am working with a provider to get REFER to work. For some reason the reply to the 401 is double bracketing the Referred-By:, but the first packet is correct.

Code:
Referred-By:
>

Here is the complete conversation, any idea how to fix this? (Asterisk 10.7.0)

Code:
No.     Time            Source                Destination           Protocol Info
1 07:37:12.366210 208.85.62.103         24.159.225.221        SIP/SDP  Request: INVITE sip:4067940970@24.159.225.221:5060, with session description

Frame 1: 862 bytes on wire (6896 bits), 862 bytes captured (6896 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 208.85.62.103 (208.85.62.103), Dst: 24.159.225.221 (24.159.225.221)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: INVITE sip:4067940970@24.159.225.221:5060 SIP/2.0
Method: INVITE
Request-URI: sip:4067940970@24.159.225.221:5060
Request-URI User Part: 4067940970
Request-URI Host Part: 24.159.225.221
Request-URI Host Port: 5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKhktnk2208ge16ignv6g0.1
Allow-Events: message-summary, refer, dialog, line-seize, presence, call-info, as-feature-event
Max-Forwards: 69
Call-ID: C022A125@v.cfly.co
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:

SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
CSeq: 325318805 INVITE
Sequence Number: 325318805
Method: INVITE
Expires: 180
Organization: Metaswitch Networks
Supported: resource-priority, 100rel
Content-Length: 168
Content-Type: application/sdp
Contact: "PHONES PLUS OF"

Contact Binding: "PHONES PLUS OF"

URI: "PHONES PLUS OF"

Message Body

No.     Time            Source                Destination           Protocol Info
2 07:37:12.430632 24.159.225.221        208.85.62.103         SIP      Status: 100 Trying

Frame 2: 572 bytes on wire (4576 bits), 572 bytes captured (4576 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 24.159.225.221 (24.159.225.221), Dst: 208.85.62.103 (208.85.62.103)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 100 Trying
Status-Code: 100
[Resent Packet: False]
[Request Frame: 1]
[Response Time (ms): 64]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKhktnk2208ge16ignv6g0.1;received=208.85.62.103;rport=5060
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:

SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
Call-ID: C022A125@v.cfly.co
CSeq: 325318805 INVITE
Sequence Number: 325318805
Method: INVITE
Server: Asterisk PBX 10.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact:

Contact Binding:

URI:

Content-Length: 0

No.     Time            Source                Destination           Protocol Info
3 07:37:12.454713 24.159.225.221        208.85.62.103         SIP/SDP  Status: 200 OK, with session description

Frame 3: 855 bytes on wire (6840 bits), 855 bytes captured (6840 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 24.159.225.221 (24.159.225.221), Dst: 208.85.62.103 (208.85.62.103)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 1]
[Response Time (ms): 88]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKhktnk2208ge16ignv6g0.1;received=208.85.62.103;rport=5060
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:
;tag=as01f06608
SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
SIP tag: as01f06608
Call-ID: C022A125@v.cfly.co
CSeq: 325318805 INVITE
Sequence Number: 325318805
Method: INVITE
Server: Asterisk PBX 10.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact:

Contact Binding:

URI:

Content-Type: application/sdp
Content-Length: 239
Message Body

No.     Time            Source                Destination           Protocol Info
4 07:37:12.461397 208.85.62.103         24.159.225.221        SIP      Request: ACK sip:4067940970@24.159.225.221:5060

Frame 4: 618 bytes on wire (4944 bits), 618 bytes captured (4944 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 208.85.62.103 (208.85.62.103), Dst: 24.159.225.221 (24.159.225.221)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: ACK sip:4067940970@24.159.225.221:5060 SIP/2.0
Method: ACK
Request-URI: sip:4067940970@24.159.225.221:5060
Request-URI User Part: 4067940970
Request-URI Host Part: 24.159.225.221
Request-URI Host Port: 5060
[Resent Packet: False]
[Request Frame: 1]
[Response Time (ms): 95]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKjkaqok20a8dgkhssl161.1
Allow-Events: message-summary, refer, dialog, line-seize, presence, call-info, as-feature-event
Max-Forwards: 69
Call-ID: C022A125@v.cfly.co
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:
;tag=as01f06608
SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
SIP tag: as01f06608
CSeq: 325318805 ACK
Sequence Number: 325318805
Method: ACK
Contact: "PHONES PLUS OF"

Contact Binding: "PHONES PLUS OF"

URI: "PHONES PLUS OF"

Organization: Metaswitch Networks
Content-Length: 0

No.     Time            Source                Destination           Protocol Info
5 07:37:12.958667 24.159.225.221        208.85.62.103         SIP      Request: REFER sip:6083140543@208.85.62.103:5060;transport=udp, in-dialog

Frame 5: 699 bytes on wire (5592 bits), 699 bytes captured (5592 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 24.159.225.221 (24.159.225.221), Dst: 208.85.62.103 (208.85.62.103)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REFER sip:6083140543@208.85.62.103:5060;transport=udp SIP/2.0
Method: REFER
Request-URI: sip:6083140543@208.85.62.103:5060;transport=udp
Request-URI User Part: 6083140543
Request-URI Host Part: 208.85.62.103
Request-URI Host Port: 5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 24.159.225.221:5060;branch=z9hG4bK698de8ee;rport
Max-Forwards: 70
From:
;tag=as01f06608
SIP from address: sip:4067940970@sc.cfly.co
SIP from address User Part: 4067940970
SIP from address Host Part: sc.cfly.co
SIP tag: as01f06608
To: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP to address: sip:6083140543@sc.cfly.co:5060
SIP to address User Part: 6083140543
SIP to address Host Part: sc.cfly.co
SIP to address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
Contact:

Contact Binding:

URI:

Call-ID: C022A125@v.cfly.co
CSeq: 102 REFER
Sequence Number: 102
Method: REFER
User-Agent: Asterisk PBX 10.7.0
Refer-To:

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Referred-By:

Content-Length: 0

No.     Time            Source                Destination           Protocol Info
6 07:37:12.962072 208.85.62.103         24.159.225.221        SIP      Status: 401 Unauthorized

Frame 6: 583 bytes on wire (4664 bits), 583 bytes captured (4664 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 208.85.62.103 (208.85.62.103), Dst: 24.159.225.221 (24.159.225.221)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 401 Unauthorized
Status-Code: 401
[Resent Packet: False]
[Request Frame: 5]
[Response Time (ms): 3]
Message Header
Via: SIP/2.0/UDP 24.159.225.221:5060;received=24.159.225.221;branch=z9hG4bK698de8ee;rport=5060
From:
;tag=as01f06608
SIP from address: sip:4067940970@sc.cfly.co
SIP from address User Part: 4067940970
SIP from address Host Part: sc.cfly.co
SIP tag: as01f06608
To: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP to address: sip:6083140543@sc.cfly.co:5060
SIP to address User Part: 6083140543
SIP to address Host Part: sc.cfly.co
SIP to address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
Call-ID: C022A125@v.cfly.co
CSeq: 102 REFER
Sequence Number: 102
Method: REFER
WWW-Authenticate: Digest realm="sc.cfly.co",nonce="b2c561ba7f58",stale=false,algorithm=MD5,qop="auth"
Authentication Scheme: Digest
Realm: "sc.cfly.co"
Nonce Value: "b2c561ba7f58"
Stale Flag: false
Algorithm: MD5
QOP: "auth"
Server: DC-SIP/2.0
Organization: Metaswitch Networks
Supported: resource-priority, 100rel
Content-Length: 0

No.     Time            Source                Destination           Protocol Info
7 07:37:13.022897 24.159.225.221        208.85.62.103         SIP      Request: REFER sip:6083140543@208.85.62.103:5060;transport=udp, in-dialog

Frame 7: 954 bytes on wire (7632 bits), 954 bytes captured (7632 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 24.159.225.221 (24.159.225.221), Dst: 208.85.62.103 (208.85.62.103)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REFER sip:6083140543@208.85.62.103:5060;transport=udp SIP/2.0
Method: REFER
Request-URI: sip:6083140543@208.85.62.103:5060;transport=udp
Request-URI User Part: 6083140543
Request-URI Host Part: 208.85.62.103
Request-URI Host Port: 5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 24.159.225.221:5060;branch=z9hG4bK16a79300;rport
Max-Forwards: 70
From:
;tag=as01f06608
SIP from address: sip:4067940970@sc.cfly.co
SIP from address User Part: 4067940970
SIP from address Host Part: sc.cfly.co
SIP tag: as01f06608
To: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP to address: sip:6083140543@sc.cfly.co:5060
SIP to address User Part: 6083140543
SIP to address Host Part: sc.cfly.co
SIP to address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
Contact:

Contact Binding:

URI:

Call-ID: C022A125@v.cfly.co
CSeq: 103 REFER
Sequence Number: 103
Method: REFER
User-Agent: Asterisk PBX 10.7.0
Authorization: Digest username="4067940970", realm="sc.cfly.co", algorithm=MD5, uri="sip:24.159.225.221", nonce="b2c561ba7f58", response="6a575456f536792e7c06a0b0b20f1af3", qop=auth, cnonce="321b65ed", nc=00000001
Authentication Scheme: Digest
Username: "4067940970"
Realm: "sc.cfly.co"
Algorithm: MD5
Authentication URI: "sip:24.159.225.221"
Nonce Value: "b2c561ba7f58"
Digest Authentication Response: "6a575456f536792e7c06a0b0b20f1af3"
QOP: auth
CNonce Value: "321b65ed"
Nonce Count: 00000001
Date: Tue, 28 Aug 2012 12:37:15 GMT
Refer-To:

Referred-By:
>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

No.     Time            Source                Destination           Protocol Info
8 07:37:13.026005 208.85.62.103         24.159.225.221        SIP      Status: 400 Bad Request

Frame 8: 479 bytes on wire (3832 bits), 479 bytes captured (3832 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 208.85.62.103 (208.85.62.103), Dst: 24.159.225.221 (24.159.225.221)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 400 Bad Request
Status-Code: 400
[Resent Packet: False]
[Request Frame: 7]
[Response Time (ms): 3]
Message Header
Via: SIP/2.0/UDP 24.159.225.221:5060;received=24.159.225.221;branch=z9hG4bK16a79300;rport=5060
From:
;tag=as01f06608
SIP from address: sip:4067940970@sc.cfly.co
SIP from address User Part: 4067940970
SIP from address Host Part: sc.cfly.co
SIP tag: as01f06608
To: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP to address: sip:6083140543@sc.cfly.co:5060
SIP to address User Part: 6083140543
SIP to address Host Part: sc.cfly.co
SIP to address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
Call-ID: C022A125@v.cfly.co
CSeq: 103 REFER
Sequence Number: 103
Method: REFER
Server: DC-SIP/2.0
Organization: Metaswitch Networks
Supported: resource-priority, 100rel
Content-Length: 0

No.     Time            Source                Destination           Protocol Info
9 07:37:18.411484 208.85.62.103         24.159.225.221        SIP      Request: BYE sip:4067940970@24.159.225.221:5060

Frame 9: 588 bytes on wire (4704 bits), 588 bytes captured (4704 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 208.85.62.103 (208.85.62.103), Dst: 24.159.225.221 (24.159.225.221)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: BYE sip:4067940970@24.159.225.221:5060 SIP/2.0
Method: BYE
Request-URI: sip:4067940970@24.159.225.221:5060
Request-URI User Part: 4067940970
Request-URI Host Part: 24.159.225.221
Request-URI Host Port: 5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKjkaqok20a8dgkhssl161cdjoogfb2.1
Allow-Events: message-summary, refer, dialog, line-seize, presence, call-info, as-feature-event
Max-Forwards: 69
Call-ID: C022A125@v.cfly.co
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:
;tag=as01f06608
SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
SIP tag: as01f06608
CSeq: 325318806 BYE
Sequence Number: 325318806
Method: BYE
Organization: Metaswitch Networks
Supported: resource-priority, 100rel
Content-Length: 0

No.     Time            Source                Destination           Protocol Info
10 07:37:18.473220 24.159.225.221        208.85.62.103         SIP      Status: 200 OK

Frame 10: 542 bytes on wire (4336 bits), 542 bytes captured (4336 bits)
Ethernet II, Src: Netscree_ff:10:02 (00:10:db:ff:10:02), Dst: Vmware_da:0b:ab (00:0c:29:da:0b:ab)
Internet Protocol, Src: 208.85.62.100 (208.85.62.100), Dst: 208.85.61.30 (208.85.61.30)
Internet Protocol, Src: 24.159.225.221 (24.159.225.221), Dst: 208.85.62.103 (208.85.62.103)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 9]
[Response Time (ms): 61]
[Release Time (ms): 61]
Message Header
Via: SIP/2.0/UDP 208.85.62.103:5060;branch=z9hG4bKjkaqok20a8dgkhssl161cdjoogfb2.1;received=208.85.62.103;rport=5060
From: "PHONES PLUS OF"
;tag=v.cfly.co+1+dd03a+cfc5a608
SIP Display info: "PHONES PLUS OF"
SIP from address: sip:6083140543@sc.cfly.co:5060
SIP from address User Part: 6083140543
SIP from address Host Part: sc.cfly.co
SIP from address Host Port: 5060
SIP tag: v.cfly.co+1+dd03a+cfc5a608
To:
;tag=as01f06608
SIP to address: sip:4067940970@sc.cfly.co
SIP to address User Part: 4067940970
SIP to address Host Part: sc.cfly.co
SIP tag: as01f06608
Call-ID: C022A125@v.cfly.co
CSeq: 325318806 BYE
Sequence Number: 325318806
Method: BYE
Server: Asterisk PBX 10.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

Statistics : Posted by kb9mfd • on Wed Aug 29, 2012 7:51 am • Replies 0 • Views 9

Show more