Skip to content

Instantly share code, notes, and snippets.

@vindir
Created December 16, 2013 20:47
Show Gist options
  • Save vindir/7994102 to your computer and use it in GitHub Desktop.
Save vindir/7994102 to your computer and use it in GitHub Desktop.
register sip trace
<--- SIP read from UDP:10.203.175.1:57913 --->
PUBLISH sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.3.18.131:57913;rport;branch=z9hG4bKPjawwetkoNT-2yWJuPwXWE9UBx.tDfhwq.
Max-Forwards: 70
From: "[email protected]" <sip:[email protected]>;tag=KqnWWEc5clq31wMM1sstTyE8ZFLMNawF
To: "[email protected]" <sip:[email protected]>
Call-ID: 6A2Ebfg9ThKuBdk1s63OxqvTiy4b07gv
CSeq: 1 PUBLISH
Event: presence
Expires: 600
User-Agent: Blink Pro 3.3.1 (MacOSX)
Content-Type: application/pidf+xml
Content-Length: 1954
<?xml version='1.0' encoding='UTF-8'?>
<presence xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:agp-caps="urn:ag-projects:xml:ns:pidf:caps" xmlns:caps="urn:ietf:params:xml:ns:pidf:caps" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:agp-pidf="urn:ag-projects:xml:ns:pidf" xmlns="urn:ietf:params:xml:ns:pidf" entity="sip%3Auserb%40asterisk.local-dev.mojolingo.com"><tuple id="SID-c1e3b26b-0c57-468f-a5ee-b03181b2dbd5"><status><basic>open</basic><agp-pidf:extended>available</agp-pidf:extended></status><c:display-name>[email protected]</c:display-name><agp-pidf:device-info id="c1e3b26b-0c57-468f-a5ee-b03181b2dbd5"><agp-pidf:description>Amdahl</agp-pidf:description><agp-pidf:user-agent>Blink Pro 3.3.1 (MacOSX)</agp-pidf:user-agent><agp-pidf:time-offset>1140</agp-pidf:time-offset></agp-pidf:device-info><caps:servcaps><caps:audio>true</caps:audio><caps:message>true</caps:message><caps:text>true</caps:text><agp-caps:file-transfer>true</agp-caps:file-transfer><agp-caps:screen-sharing-server>true</agp-caps:screen-sharing-server><agp-caps:screen-sharing-client>true</agp-caps:screen-sharing-client></caps:servcaps><rpid:user-input idle-threshold="600">active</rpid:user-input><dm:deviceID>c1e3b26b-0c57-468f-a5ee-b03181b2dbd5</dm:deviceID><contact>sip%3Auserb%40asterisk.local-dev.mojolingo.com</contact><note></note><timestamp>2013-12-16T13:55:32.230674-05:00</timestamp></tuple><dm:person id="PID-e1c434cc611ebc8790fca5aaba04c7b2"><rpid:time-offset>1140</rpid:time-offset><rpid:activities><rpid:other>available</rpid:other></rpid:activities><dm:timestamp>2013-12-16T13:55:32.230674-05:00</dm:timestamp></dm:person><dm:device id="DID-c1e3b26b-0c57-468f-a5ee-b03181b2dbd5"><dm:deviceID>c1e3b26b-0c57-468f-a5ee-b03181b2dbd5</dm:deviceID><dm:note>Blink Pro 3.3.1 (MacOSX) at Amdahl</dm:note><dm:timestamp>2013-12-16T13:55:32.230674-05:00</dm:timestamp></dm:device></presence>
<------------->
--- (12 headers 2 lines) ---
Sending to 10.203.175.1:57913 (NAT)
<--- Transmitting (NAT) to 10.203.175.1:57913 --->
SIP/2.0 489 Bad Event
v: SIP/2.0/UDP 10.3.18.131:57913;branch=z9hG4bKPjawwetkoNT-2yWJuPwXWE9UBx.tDfhwq.;received=10.203.175.1;rport=57913
f: "[email protected]" <sip:[email protected]>;tag=KqnWWEc5clq31wMM1sstTyE8ZFLMNawF
t: "[email protected]" <sip:[email protected]>;tag=as584b58e5
i: 6A2Ebfg9ThKuBdk1s63OxqvTiy4b07gv
CSeq: 1 PUBLISH
Server: Asterisk with Adhearsion
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
k: replaces, timer
l: 0
<------------>
Really destroying SIP dialog '6A2Ebfg9ThKuBdk1s63OxqvTiy4b07gv' Method: PUBLISH
<--- SIP read from UDP:10.203.175.1:57913 --->
SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.3.18.131:57913;rport;branch=z9hG4bKPjaXMGNA9ZO-5q08Jm.Uutu5rPkpngMKgJ
Max-Forwards: 70
From: "[email protected]" <sip:[email protected]>;tag=c.UJkP-fvyOBAtCvFJ5AydPo-Gj6VOpX
To: <sip:[email protected]>
Contact: <sip:[email protected]:57913>
Call-ID: l1uTSPjqnbcrPtCLq3Oaz.ZmvLlfKOWE
CSeq: 9028 SUBSCRIBE
Event: message-summary
Expires: 600
Supported: 100rel, replaces, norefersub, gruu
Accept: application/simple-message-summary
Allow-Events: conference, message-summary, dialog, presence, presence.winfo, xcap-diff, dialog.winfo, refer
User-Agent: Blink Pro 3.3.1 (MacOSX)
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Sending to 10.203.175.1:57913 (NAT)
<--- Transmitting (NAT) to 10.203.175.1:57913 --->
SIP/2.0 403 Forbidden (policy)
v: SIP/2.0/UDP 10.3.18.131:57913;branch=z9hG4bKPjaXMGNA9ZO-5q08Jm.Uutu5rPkpngMKgJ;received=10.203.175.1;rport=57913
f: "[email protected]" <sip:[email protected]>;tag=c.UJkP-fvyOBAtCvFJ5AydPo-Gj6VOpX
t: <sip:[email protected]>;tag=as08363994
i: l1uTSPjqnbcrPtCLq3Oaz.ZmvLlfKOWE
CSeq: 9028 SUBSCRIBE
Server: Asterisk with Adhearsion
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
k: replaces, timer
l: 0
<------------>
Really destroying SIP dialog 'l1uTSPjqnbcrPtCLq3Oaz.ZmvLlfKOWE' Method: SUBSCRIBE
<--- SIP read from UDP:10.203.175.1:57913 --->
REGISTER sip:asterisk.local-dev.mojolingo.com SIP/2.0
Via: SIP/2.0/UDP 10.3.18.131:57913;rport;branch=z9hG4bKPjh9HtPE201oerwrawUoAigw9C4i8lJ1hf
Max-Forwards: 70
From: "[email protected]" <sip:[email protected]>;tag=0.TOzRKCHdMThO0HyNiXFQeljLkoUul1
To: "[email protected]" <sip:[email protected]>
Contact: <sip:[email protected]:57913>;+sip.instance="<urn:uuid:c1e3b26b-0c57-468f-a5ee-b03181b2dbd5>"
Call-ID: BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl
CSeq: 1 REGISTER
Expires: 600
Supported: gruu
User-Agent: Blink Pro 3.3.1 (MacOSX)
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
Sending to 10.203.175.1:57913 (NAT)
Sending to 10.203.175.1:57913 (NAT)
<--- Transmitting (NAT) to 10.203.175.1:57913 --->
SIP/2.0 401 Unauthorized
v: SIP/2.0/UDP 10.3.18.131:57913;branch=z9hG4bKPjh9HtPE201oerwrawUoAigw9C4i8lJ1hf;received=10.203.175.1;rport=57913
f: "[email protected]" <sip:[email protected]>;tag=0.TOzRKCHdMThO0HyNiXFQeljLkoUul1
t: "[email protected]" <sip:[email protected]>;tag=as1a82fa38
i: BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl
CSeq: 1 REGISTER
Server: Asterisk with Adhearsion
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
k: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="26e6c1c7"
l: 0
<------------>
Scheduling destruction of SIP dialog 'BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl' in 32000 ms (Method: REGISTER)
<--- SIP read from UDP:10.203.175.1:57913 --->
REGISTER sip:asterisk.local-dev.mojolingo.com SIP/2.0
Via: SIP/2.0/UDP 10.3.18.131:57913;rport;branch=z9hG4bKPjSrFe2Q7rw47zGu01xNr-KqdsrDZOOpoY
Max-Forwards: 70
From: "[email protected]" <sip:[email protected]>;tag=0.TOzRKCHdMThO0HyNiXFQeljLkoUul1
To: "[email protected]" <sip:[email protected]>
Contact: <sip:[email protected]:57913>;+sip.instance="<urn:uuid:c1e3b26b-0c57-468f-a5ee-b03181b2dbd5>"
Call-ID: BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl
CSeq: 2 REGISTER
Expires: 600
Supported: gruu
User-Agent: Blink Pro 3.3.1 (MacOSX)
Authorization: Digest username="userb", realm="asterisk", nonce="26e6c1c7", uri="sip:asterisk.local-dev.mojolingo.com", response="efd6d207edd97c04fdc30b31cbe485cb", algorithm=MD5
Content-Length: 0
<------------->
--- (13 headers 0 lines) ---
Sending to 10.203.175.1:57913 (NAT)
-- Registered SIP 'userb' at 10.203.175.1:57913
-- Added extension 'userb' priority 1 to sipregistrations
<--- Transmitting (NAT) to 10.203.175.1:57913 --->
SIP/2.0 200 OK
v: SIP/2.0/UDP 10.3.18.131:57913;branch=z9hG4bKPjSrFe2Q7rw47zGu01xNr-KqdsrDZOOpoY;received=10.203.175.1;rport=57913
f: "[email protected]" <sip:[email protected]>;tag=0.TOzRKCHdMThO0HyNiXFQeljLkoUul1
t: "[email protected]" <sip:[email protected]>;tag=as1a82fa38
i: BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl
CSeq: 2 REGISTER
Server: Asterisk with Adhearsion
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
k: replaces, timer
Expires: 600
m: <sip:[email protected]:57913>;expires=600
Date: Mon, 16 Dec 2013 20:45:54 GMT
l: 0
<------------>
Scheduling destruction of SIP dialog 'BDTeDwgo2qL9uCwR4fJoZ7Beml0XAVZl' in 32000 ms (Method: REGISTER)
asterisk*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
vagrant@asterisk:/etc/asterisk$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment