IO-sipit29

Version 6 (Adrian Georgescu, 10/24/2011 11:40 am)

1 1 Adrian Georgescu
= SIPIT 29 =
2 2 Adrian Georgescu
3 3 Adrian Georgescu
== Sending BYE exception when using TCP transport ==
4 2 Adrian Georgescu
5 6 Adrian Georgescu
The problem occurs when proxy is stateless and is requesting authorization for the BYE.
6 6 Adrian Georgescu
 
7 6 Adrian Georgescu
8 5 Adrian Georgescu
{{{
9 5 Adrian Georgescu
SENDING: Packet 188, +0:14:23.287009
10 5 Adrian Georgescu
2011-10-24 11:35:51.825513: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061
11 5 Adrian Georgescu
INVITE sip:ag02@cisco.sipit.net SIP/2.0
12 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y
13 5 Adrian Georgescu
Max-Forwards: 70
14 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
15 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>
16 5 Adrian Georgescu
Contact: <sip:doszpemb@132.177.252.163:51544;transport=tls>
17 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
18 5 Adrian Georgescu
CSeq: 4485 INVITE
19 5 Adrian Georgescu
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER
20 5 Adrian Georgescu
Supported: 100rel, replaces, norefersub
21 5 Adrian Georgescu
User-Agent: Blink Pro 1.3.1 (MacOSX)
22 5 Adrian Georgescu
Proxy-Authorization: Digest username="cisco", realm="h1.cisco.sipit.net", nonce="5f8327823b80b7c1ad635e68c6ab5ef8b1ac0010d74c76ea30d139be4b0e", uri="sip:ag02@cisco.sipit.net", response="02829cb450bd6f420e8f980f80dec000", algorithm=MD5, cnonce="WMYZEu5MhMBRJr97hlz3Nxqd9pidFkvZ", opaque="AQAAANXGRIqnJLpaa2+oaGI3teAaoA95", qop=auth, nc=00000001
23 5 Adrian Georgescu
Content-Type: application/sdp
24 5 Adrian Georgescu
Content-Length:   269
25 5 Adrian Georgescu
26 5 Adrian Georgescu
v=0
27 5 Adrian Georgescu
o=- 3528437751 3528437751 IN IP4 132.177.252.163
28 5 Adrian Georgescu
s=Blink Pro 1.3.1 (MacOSX)
29 5 Adrian Georgescu
c=IN IP4 132.177.252.163
30 5 Adrian Georgescu
t=0 0
31 5 Adrian Georgescu
m=audio 50004 RTP/AVP 9 0 101
32 5 Adrian Georgescu
a=rtcp:50005
33 5 Adrian Georgescu
a=rtpmap:9 G722/8000
34 5 Adrian Georgescu
a=rtpmap:0 PCMU/8000
35 5 Adrian Georgescu
a=rtpmap:101 telephone-event/8000
36 5 Adrian Georgescu
a=fmtp:101 0-15
37 5 Adrian Georgescu
a=sendrecv
38 5 Adrian Georgescu
39 5 Adrian Georgescu
RECEIVED: Packet 189, +0:14:23.333731
40 5 Adrian Georgescu
2011-10-24 11:35:51.872235: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280
41 5 Adrian Georgescu
SIP/2.0 100 Trying
42 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;received=132.177.252.163;rport=51280;ingress-zone=DefaultZone
43 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
44 5 Adrian Georgescu
CSeq: 4485 INVITE
45 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
46 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>
47 5 Adrian Georgescu
Server: TANDBERG/4103 (X7.1PreAlpha29 (TEST SW))
48 5 Adrian Georgescu
Content-Length: 0
49 5 Adrian Georgescu
50 5 Adrian Georgescu
RECEIVED: Packet 190, +0:14:23.380310
51 5 Adrian Georgescu
2011-10-24 11:35:51.918814: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280
52 5 Adrian Georgescu
SIP/2.0 180 Ringing
53 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;ingress-zone=DefaultZone
54 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
55 5 Adrian Georgescu
CSeq: 4485 INVITE
56 5 Adrian Georgescu
Contact: <sip:qwbivsgz@132.177.252.111:60868>
57 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
58 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
59 5 Adrian Georgescu
Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr>
60 5 Adrian Georgescu
Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr>
61 5 Adrian Georgescu
Allow: SUBSCRIBE,NOTIFY,PRACK,INVITE,ACK,BYE,CANCEL,UPDATE,MESSAGE,REFER
62 5 Adrian Georgescu
Server: Blink Pro 1.3.1 (MacOSX)
63 5 Adrian Georgescu
Content-Length: 0
64 5 Adrian Georgescu
65 5 Adrian Georgescu
RECEIVED: Packet 191, +0:14:28.691178
66 5 Adrian Georgescu
2011-10-24 11:35:57.229682: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280
67 5 Adrian Georgescu
SIP/2.0 200 OK
68 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;ingress-zone=DefaultZone
69 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
70 5 Adrian Georgescu
CSeq: 4485 INVITE
71 5 Adrian Georgescu
Contact: <sip:qwbivsgz@132.177.252.111:60868>
72 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
73 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
74 5 Adrian Georgescu
Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr>
75 5 Adrian Georgescu
Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr>
76 5 Adrian Georgescu
Allow: SUBSCRIBE,NOTIFY,PRACK,INVITE,ACK,BYE,CANCEL,UPDATE,MESSAGE,REFER
77 5 Adrian Georgescu
Server: Blink Pro 1.3.1 (MacOSX)
78 5 Adrian Georgescu
Supported: 100rel,replaces,norefersub
79 5 Adrian Georgescu
Content-Type: application/sdp
80 5 Adrian Georgescu
Content-Length: 255
81 5 Adrian Georgescu
82 5 Adrian Georgescu
v=0
83 5 Adrian Georgescu
o=- 3528437757 3528437758 IN IP4 132.177.252.111
84 5 Adrian Georgescu
s=Blink Pro 1.3.1 (MacOSX)
85 5 Adrian Georgescu
c=IN IP4 132.177.252.111
86 5 Adrian Georgescu
b=AS:384
87 5 Adrian Georgescu
t=0 0
88 5 Adrian Georgescu
m=audio 50018 RTP/AVP 9 101
89 5 Adrian Georgescu
a=rtcp:50019
90 5 Adrian Georgescu
a=rtpmap:9 G722/8000
91 5 Adrian Georgescu
a=rtpmap:101 telephone-event/8000
92 5 Adrian Georgescu
a=fmtp:101 0-15
93 5 Adrian Georgescu
a=sendrecv
94 5 Adrian Georgescu
95 5 Adrian Georgescu
SENDING: Packet 192, +0:14:28.691472
96 5 Adrian Georgescu
2011-10-24 11:35:57.229976: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061
97 5 Adrian Georgescu
ACK sip:qwbivsgz@132.177.252.111:60868 SIP/2.0
98 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjydOyhHyq82C92apBgV97cGE2r.G2e4GO
99 5 Adrian Georgescu
Max-Forwards: 70
100 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
101 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
102 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
103 5 Adrian Georgescu
CSeq: 4485 ACK
104 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr>
105 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr>
106 5 Adrian Georgescu
User-Agent: Blink Pro 1.3.1 (MacOSX)
107 5 Adrian Georgescu
Content-Length:  0
108 5 Adrian Georgescu
109 5 Adrian Georgescu
SENDING: Packet 193, +0:14:32.184140
110 5 Adrian Georgescu
2011-10-24 11:36:00.722644: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061
111 5 Adrian Georgescu
BYE sip:qwbivsgz@132.177.252.111:60868 SIP/2.0
112 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjqWIKkD-f1CW8BystKkNHu3QQ.HhB920m
113 5 Adrian Georgescu
Max-Forwards: 70
114 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
115 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
116 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
117 5 Adrian Georgescu
CSeq: 4486 BYE
118 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr>
119 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr>
120 5 Adrian Georgescu
User-Agent: Blink Pro 1.3.1 (MacOSX)
121 5 Adrian Georgescu
Content-Length:  0
122 5 Adrian Georgescu
123 5 Adrian Georgescu
RECEIVED: Packet 194, +0:14:32.185918
124 5 Adrian Georgescu
2011-10-24 11:36:00.724422: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280
125 5 Adrian Georgescu
SIP/2.0 407 Proxy Authentication Required
126 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;branch=z9hG4bKPjqWIKkD-f1CW8BystKkNHu3QQ.HhB920m;received=132.177.252.163;rport=51280
127 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
128 5 Adrian Georgescu
CSeq: 4486 BYE
129 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
130 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
131 5 Adrian Georgescu
Server: TANDBERG/4103 (X7.1PreAlpha29 (TEST SW))
132 5 Adrian Georgescu
Proxy-Authenticate: Digest realm="h1.cisco.sipit.net", nonce="ecf10cc969b2858a1f46ce145b58ba291426098f076e4fa29924531f706e", opaque="AQAAANXGRIqnJLpaa2+oaGI3teAaoA95", stale=FALSE, algorithm=MD5, qop="auth"
133 5 Adrian Georgescu
Content-Length: 0
134 5 Adrian Georgescu
135 5 Adrian Georgescu
SENDING: Packet 195, +0:14:32.186342
136 5 Adrian Georgescu
2011-10-24 11:36:00.724846: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061
137 5 Adrian Georgescu
BYE sip:qwbivsgz@132.177.252.111:60868 SIP/2.0
138 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPj7LZjnOhpR57.YTxGAv42MyoF7RSBupjk
139 5 Adrian Georgescu
Max-Forwards: 70
140 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
141 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
142 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
143 5 Adrian Georgescu
CSeq: 4487 BYE
144 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr>
145 5 Adrian Georgescu
Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr>
146 5 Adrian Georgescu
User-Agent: Blink Pro 1.3.1 (MacOSX)
147 5 Adrian Georgescu
Proxy-Authorization: Digest username="cisco", realm="h1.cisco.sipit.net", nonce="ecf10cc969b2858a1f46ce145b58ba291426098f076e4fa29924531f706e", uri="sip:qwbivsgz@132.177.252.111:60868", response="6ed728af6b1b5443c953ec89d17151c6", algorithm=MD5, cnonce="WMYZEu5MhMBRJr97hlz3Nxqd9pidFkvZ", opaque="AQAAANXGRIqnJLpaa2+oaGI3teAaoA95", qop=auth, nc=00000001
148 5 Adrian Georgescu
Content-Length:  0
149 5 Adrian Georgescu
150 5 Adrian Georgescu
RECEIVED: Packet 196, +0:14:32.203260
151 5 Adrian Georgescu
2011-10-24 11:36:00.741764: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280
152 5 Adrian Georgescu
SIP/2.0 200 OK
153 5 Adrian Georgescu
Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPj7LZjnOhpR57.YTxGAv42MyoF7RSBupjk;ingress-zone=DefaultZone
154 5 Adrian Georgescu
Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv-
155 5 Adrian Georgescu
CSeq: 4487 BYE
156 5 Adrian Georgescu
From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8
157 5 Adrian Georgescu
To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy
158 5 Adrian Georgescu
Server: Blink Pro 1.3.1 (MacOSX)
159 5 Adrian Georgescu
Content-Length: 0
160 5 Adrian Georgescu
161 5 Adrian Georgescu
2011-10-24 11:36:12.346891: DNS lookup A h1.cisco.sipit.net succeeded, ttl=600: 132.177.253.22
162 5 Adrian Georgescu
163 5 Adrian Georgescu
164 5 Adrian Georgescu
}}}
165 2 Adrian Georgescu
166 2 Adrian Georgescu
{{{
167 2 Adrian Georgescu
2011-10-24 10:42:21.419 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Ending session with audio stream
168 2 Adrian Georgescu
2011-10-24 10:42:21.457 Blink Pro[1668:6527] Traceback (most recent call last):
169 2 Adrian Georgescu
  File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent
170 2 Adrian Georgescu
    call.func(*call.args, **call.kw)
171 2 Adrian Georgescu
  File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/coros.py", line 253, in _do_acquire
172 2 Adrian Georgescu
    waiter.switch()
173 2 Adrian Georgescu
  File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup
174 2 Adrian Georgescu
    return cb(*args, **kw)
175 2 Adrian Georgescu
  File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 1904, in end
176 2 Adrian Georgescu
    TimestampedNotificationData(originator='local', method='BYE', code=notification.data.code, reason=notification.data.reason))
177 2 Adrian Georgescu
AttributeError: 'NotificationData' object has no attribute 'code'
178 2 Adrian Georgescu
2011-10-24 10:42:21.474 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Session will end (local)
179 2 Adrian Georgescu
2011-10-24 10:42:21.643 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Audio stream ended
180 2 Adrian Georgescu
}}}
181 2 Adrian Georgescu
182 2 Adrian Georgescu
183 2 Adrian Georgescu
184 2 Adrian Georgescu
{{{
185 2 Adrian Georgescu
2011-10-24 10:31:00.239837: Notification name=SIPInvitationChangedState
186 2 Adrian Georgescu
sender=<sipsimple.core._core.Invitation object at 0x18c5ab10>
187 2 Adrian Georgescu
data=NotificationData(originator='local', body=None, prev_sub_state='normal',
188 2 Adrian Georgescu
timestamp=datetime.datetime(2011, 10, 24, 10, 31, 0, 232073), headers={'Via':
189 2 Adrian Georgescu
[FrozenViaHeader('tls', '132.177.252.163', 50951, frozendict({'rport': 0,
190 2 Adrian Georgescu
'branch': 'z9hG4bKPj5bKvhluLSr5OxNTM0vdb4umkCpVNtox8'}))], 'From':
191 2 Adrian Georgescu
FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False,
192 2 Adrian Georgescu
frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag':
193 2 Adrian Georgescu
'kfOPAVWAfIHorykAJBu31vAmIZif780n'})), 'Route':
194 2 Adrian Georgescu
[FrozenRouteHeader(FrozenSIPURI('132.177.253.22',
195 2 Adrian Georgescu
'proxy-call-id=844482fa-fe1a-11e0-bd41-000c29ab0f7b', None, 5061, False,
196 2 Adrian Georgescu
frozendict({'lr': 1, 'transport': 'tls'}), frozendict({})), None,
197 2 Adrian Georgescu
frozendict({})), FrozenRouteHeader(FrozenSIPURI('132.177.253.22',
198 2 Adrian Georgescu
'proxy-call-id=844482fa-fe1a-11e0-bd41-000c29ab0f7b', None, 5061, False,
199 2 Adrian Georgescu
frozendict({'lr': 1, 'transport': 'tls'}), frozendict({})), None,
200 2 Adrian Georgescu
frozendict({}))], 'User-Agent': FrozenHeader('User-Agent', 'Blink Pro 1.3.1
201 2 Adrian Georgescu
(MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net', 'ag02', None,
202 2 Adrian Georgescu
None, False, frozendict({}), frozendict({})), None, frozendict({'tag':
203 2 Adrian Georgescu
'-9Gm-krVFw154HwQh5W.UsZY12oHT9di'})), 'CSeq': (8401, 'BYE'), 'Call-ID':
204 2 Adrian Georgescu
FrozenHeader('Call-ID', 'JzYfmKI6hZg0iBD9t4WdpKNhW6SyQzlm'), 'Max-Forwards':
205 2 Adrian Georgescu
70}, state='disconnecting', prev_state='connected', method='BYE',
206 2 Adrian Georgescu
request_uri=FrozenSIPURI('132.177.252.111', 'qwbivsgz', None, 51564, False,
207 2 Adrian Georgescu
frozendict({'transport': 'tls'}), frozendict({})))
208 2 Adrian Georgescu
209 2 Adrian Georgescu
210 2 Adrian Georgescu
2011-10-24 10:31:00.259586: Notification name=SIPInvitationChangedState
211 2 Adrian Georgescu
sender=<sipsimple.core._core.Invitation object at 0x18c5ab10>
212 2 Adrian Georgescu
data=NotificationData(originator='local', disconnect_reason='user request',
213 2 Adrian Georgescu
state='disconnected', prev_state='disconnecting',
214 1 Adrian Georgescu
timestamp=datetime.datetime(2011, 10, 24, 10, 31, 0, 250102))
215 3 Adrian Georgescu
}}}
216 3 Adrian Georgescu
217 3 Adrian Georgescu
218 3 Adrian Georgescu
200 OK rdata seems to be none for received 200OK for the sent out BYE
219 3 Adrian Georgescu
220 3 Adrian Georgescu
221 3 Adrian Georgescu
=== UDP trace that works ===
222 3 Adrian Georgescu
223 3 Adrian Georgescu
{{{
224 3 Adrian Georgescu
2011-10-24 10:46:07.277414: Notification name=SIPInvitationChangedState
225 3 Adrian Georgescu
sender=<sipsimple.core._core.Invitation object at 0x18c5abf8>
226 3 Adrian Georgescu
data=NotificationData(originator='local', body=None, prev_sub_state='normal',
227 3 Adrian Georgescu
timestamp=datetime.datetime(2011, 10, 24, 10, 46, 7, 268879), headers={'Via':
228 3 Adrian Georgescu
[FrozenViaHeader('UDP', '132.177.252.163', 60653, frozendict({'rport': 0,
229 3 Adrian Georgescu
'branch': 'z9hG4bKPjVWjI8ftu8DW7rR5WhnOsbgpAWQFpbFYT'}))], 'From':
230 3 Adrian Georgescu
FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False,
231 3 Adrian Georgescu
frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag':
232 3 Adrian Georgescu
'M5uaZcSknKymRnkGTjRG88C8DG99m5Hy'})), 'Route':
233 3 Adrian Georgescu
[FrozenRouteHeader(FrozenSIPURI('132.177.253.22',
234 3 Adrian Georgescu
'proxy-call-id=99e57f04-fe1c-11e0-ba17-000c29ab0f7b', None, 5060, False,
235 3 Adrian Georgescu
frozendict({'lr': 1, 'transport': 'udp'}), frozendict({})), None,
236 3 Adrian Georgescu
frozendict({})), FrozenRouteHeader(FrozenSIPURI('132.177.253.22',
237 3 Adrian Georgescu
'proxy-call-id=99e57f04-fe1c-11e0-ba17-000c29ab0f7b', None, 5060, False,
238 3 Adrian Georgescu
frozendict({'lr': 1, 'transport': 'tcp'}), frozendict({})), None,
239 3 Adrian Georgescu
frozendict({}))], 'User-Agent': FrozenHeader('User-Agent', 'Blink Pro 1.3.1
240 3 Adrian Georgescu
(MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net', 'ag02', None,
241 3 Adrian Georgescu
None, False, frozendict({}), frozendict({})), None, frozendict({'tag':
242 3 Adrian Georgescu
'hNd9U3UKc.VP-1WWYP-S8MegH2yeRc5e'})), 'CSeq': (28697, 'BYE'), 'Call-ID':
243 3 Adrian Georgescu
FrozenHeader('Call-ID', '41QYdm0-Eny2uHKzgETWx57HhGq47xPl'), 'Max-Forwards':
244 3 Adrian Georgescu
70}, state='disconnecting', prev_state='connected', method='BYE',
245 3 Adrian Georgescu
request_uri=FrozenSIPURI('132.177.252.111', 'qwbivsgz', None, 51252, False,
246 3 Adrian Georgescu
frozendict({'transport': 'tcp'}), frozendict({})))
247 3 Adrian Georgescu
248 3 Adrian Georgescu
249 3 Adrian Georgescu
2011-10-24 10:46:07.293137: Notification name=SIPInvitationChangedState
250 3 Adrian Georgescu
sender=<sipsimple.core._core.Invitation object at 0x18c5abf8>
251 3 Adrian Georgescu
data=NotificationData(originator='remote', body=None, code=200,
252 3 Adrian Georgescu
disconnect_reason='user request', timestamp=datetime.datetime(2011, 10, 24, 10,
253 3 Adrian Georgescu
46, 7, 287860), state='disconnected', headers={'Content-Length': 0, 'Via':
254 3 Adrian Georgescu
[FrozenViaHeader('UDP', '132.177.252.163', 60653, frozendict({'received':
255 3 Adrian Georgescu
'132.177.252.163', 'ingress-zone': 'DefaultSubZone', 'rport': 60653, 'branch':
256 3 Adrian Georgescu
'z9hG4bKPjB6pOFsn58EsyG4sXhsB.72oClDLkXjEW'}))], 'From':
257 3 Adrian Georgescu
FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False,
258 3 Adrian Georgescu
frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag':
259 3 Adrian Georgescu
'M5uaZcSknKymRnkGTjRG88C8DG99m5Hy'})), 'Server': FrozenHeader('Server', 'Blink
260 3 Adrian Georgescu
Pro 1.3.1 (MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net',
261 3 Adrian Georgescu
'ag02', None, None, False, frozendict({}), frozendict({})), None,
262 3 Adrian Georgescu
frozendict({'tag': 'hNd9U3UKc.VP-1WWYP-S8MegH2yeRc5e'})), 'CSeq': (28698,
263 3 Adrian Georgescu
'BYE'), 'Call-ID': FrozenHeader('Call-ID', '41QYdm0-Eny2uHKzgETWx57HhGq47xPl')},
264 3 Adrian Georgescu
reason='OK', prev_state='disconnecting')
265 2 Adrian Georgescu
}}}