IO-sipit29 » History » Version 10
Adrian Georgescu, 10/25/2011 05:03 PM
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 | 10 | Adrian Georgescu | |
7 | The problem happens with every in-dialog request that gets challenged. |
||
8 | 6 | Adrian Georgescu | |
9 | |||
10 | 5 | Adrian Georgescu | {{{ |
11 | SENDING: Packet 188, +0:14:23.287009 |
||
12 | 2011-10-24 11:35:51.825513: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061 |
||
13 | INVITE sip:ag02@cisco.sipit.net SIP/2.0 |
||
14 | Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y |
||
15 | Max-Forwards: 70 |
||
16 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
17 | To: <sip:ag02@cisco.sipit.net> |
||
18 | Contact: <sip:doszpemb@132.177.252.163:51544;transport=tls> |
||
19 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
20 | CSeq: 4485 INVITE |
||
21 | Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER |
||
22 | Supported: 100rel, replaces, norefersub |
||
23 | User-Agent: Blink Pro 1.3.1 (MacOSX) |
||
24 | 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 |
||
25 | Content-Type: application/sdp |
||
26 | Content-Length: 269 |
||
27 | |||
28 | v=0 |
||
29 | o=- 3528437751 3528437751 IN IP4 132.177.252.163 |
||
30 | s=Blink Pro 1.3.1 (MacOSX) |
||
31 | c=IN IP4 132.177.252.163 |
||
32 | t=0 0 |
||
33 | m=audio 50004 RTP/AVP 9 0 101 |
||
34 | a=rtcp:50005 |
||
35 | a=rtpmap:9 G722/8000 |
||
36 | a=rtpmap:0 PCMU/8000 |
||
37 | a=rtpmap:101 telephone-event/8000 |
||
38 | a=fmtp:101 0-15 |
||
39 | a=sendrecv |
||
40 | |||
41 | RECEIVED: Packet 189, +0:14:23.333731 |
||
42 | 2011-10-24 11:35:51.872235: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280 |
||
43 | SIP/2.0 100 Trying |
||
44 | Via: SIP/2.0/tls 132.177.252.163:51280;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;received=132.177.252.163;rport=51280;ingress-zone=DefaultZone |
||
45 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
46 | CSeq: 4485 INVITE |
||
47 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
48 | To: <sip:ag02@cisco.sipit.net> |
||
49 | Server: TANDBERG/4103 (X7.1PreAlpha29 (TEST SW)) |
||
50 | Content-Length: 0 |
||
51 | |||
52 | RECEIVED: Packet 190, +0:14:23.380310 |
||
53 | 2011-10-24 11:35:51.918814: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280 |
||
54 | SIP/2.0 180 Ringing |
||
55 | Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;ingress-zone=DefaultZone |
||
56 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
57 | CSeq: 4485 INVITE |
||
58 | Contact: <sip:qwbivsgz@132.177.252.111:60868> |
||
59 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
60 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
61 | Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr> |
||
62 | Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr> |
||
63 | Allow: SUBSCRIBE,NOTIFY,PRACK,INVITE,ACK,BYE,CANCEL,UPDATE,MESSAGE,REFER |
||
64 | Server: Blink Pro 1.3.1 (MacOSX) |
||
65 | Content-Length: 0 |
||
66 | |||
67 | RECEIVED: Packet 191, +0:14:28.691178 |
||
68 | 2011-10-24 11:35:57.229682: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280 |
||
69 | SIP/2.0 200 OK |
||
70 | Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPjGqaVmgy6QI4hqusA17.VmYbSEjEn1S-y;ingress-zone=DefaultZone |
||
71 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
72 | CSeq: 4485 INVITE |
||
73 | Contact: <sip:qwbivsgz@132.177.252.111:60868> |
||
74 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
75 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
76 | Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr> |
||
77 | Record-Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr> |
||
78 | Allow: SUBSCRIBE,NOTIFY,PRACK,INVITE,ACK,BYE,CANCEL,UPDATE,MESSAGE,REFER |
||
79 | Server: Blink Pro 1.3.1 (MacOSX) |
||
80 | Supported: 100rel,replaces,norefersub |
||
81 | Content-Type: application/sdp |
||
82 | Content-Length: 255 |
||
83 | |||
84 | v=0 |
||
85 | o=- 3528437757 3528437758 IN IP4 132.177.252.111 |
||
86 | s=Blink Pro 1.3.1 (MacOSX) |
||
87 | c=IN IP4 132.177.252.111 |
||
88 | b=AS:384 |
||
89 | t=0 0 |
||
90 | m=audio 50018 RTP/AVP 9 101 |
||
91 | a=rtcp:50019 |
||
92 | a=rtpmap:9 G722/8000 |
||
93 | a=rtpmap:101 telephone-event/8000 |
||
94 | a=fmtp:101 0-15 |
||
95 | a=sendrecv |
||
96 | |||
97 | SENDING: Packet 192, +0:14:28.691472 |
||
98 | 2011-10-24 11:35:57.229976: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061 |
||
99 | ACK sip:qwbivsgz@132.177.252.111:60868 SIP/2.0 |
||
100 | Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjydOyhHyq82C92apBgV97cGE2r.G2e4GO |
||
101 | Max-Forwards: 70 |
||
102 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
103 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
104 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
105 | CSeq: 4485 ACK |
||
106 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr> |
||
107 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr> |
||
108 | User-Agent: Blink Pro 1.3.1 (MacOSX) |
||
109 | Content-Length: 0 |
||
110 | |||
111 | SENDING: Packet 193, +0:14:32.184140 |
||
112 | 2011-10-24 11:36:00.722644: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061 |
||
113 | BYE sip:qwbivsgz@132.177.252.111:60868 SIP/2.0 |
||
114 | Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPjqWIKkD-f1CW8BystKkNHu3QQ.HhB920m |
||
115 | Max-Forwards: 70 |
||
116 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
117 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
118 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
119 | CSeq: 4486 BYE |
||
120 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr> |
||
121 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr> |
||
122 | User-Agent: Blink Pro 1.3.1 (MacOSX) |
||
123 | Content-Length: 0 |
||
124 | |||
125 | RECEIVED: Packet 194, +0:14:32.185918 |
||
126 | 2011-10-24 11:36:00.724422: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280 |
||
127 | SIP/2.0 407 Proxy Authentication Required |
||
128 | Via: SIP/2.0/tls 132.177.252.163:51280;branch=z9hG4bKPjqWIKkD-f1CW8BystKkNHu3QQ.HhB920m;received=132.177.252.163;rport=51280 |
||
129 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
130 | CSeq: 4486 BYE |
||
131 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
132 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
133 | Server: TANDBERG/4103 (X7.1PreAlpha29 (TEST SW)) |
||
134 | Proxy-Authenticate: Digest realm="h1.cisco.sipit.net", nonce="ecf10cc969b2858a1f46ce145b58ba291426098f076e4fa29924531f706e", opaque="AQAAANXGRIqnJLpaa2+oaGI3teAaoA95", stale=FALSE, algorithm=MD5, qop="auth" |
||
135 | Content-Length: 0 |
||
136 | |||
137 | SENDING: Packet 195, +0:14:32.186342 |
||
138 | 2011-10-24 11:36:00.724846: 132.177.252.163:51280 -(SIP over tls)-> 132.177.253.22:5061 |
||
139 | BYE sip:qwbivsgz@132.177.252.111:60868 SIP/2.0 |
||
140 | Via: SIP/2.0/tls 132.177.252.163:51280;rport;branch=z9hG4bKPj7LZjnOhpR57.YTxGAv42MyoF7RSBupjk |
||
141 | Max-Forwards: 70 |
||
142 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
143 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
144 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
145 | CSeq: 4487 BYE |
||
146 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5061;transport=tls;lr> |
||
147 | Route: <sip:proxy-call-id=9041af5c-fe23-11e0-8ac1-000c29ab0f7b@132.177.253.22:5060;transport=udp;lr> |
||
148 | User-Agent: Blink Pro 1.3.1 (MacOSX) |
||
149 | 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 |
||
150 | Content-Length: 0 |
||
151 | |||
152 | RECEIVED: Packet 196, +0:14:32.203260 |
||
153 | 2011-10-24 11:36:00.741764: 132.177.253.22:5061 -(SIP over tls)-> 132.177.252.163:51280 |
||
154 | SIP/2.0 200 OK |
||
155 | Via: SIP/2.0/tls 132.177.252.163:51280;rport=51280;received=132.177.252.163;branch=z9hG4bKPj7LZjnOhpR57.YTxGAv42MyoF7RSBupjk;ingress-zone=DefaultZone |
||
156 | Call-ID: wm-ihLWnDBKwk743UftUCoP-H5qoETv- |
||
157 | CSeq: 4487 BYE |
||
158 | From: "Adrian Georgescu" <sip:ag01@cisco.sipit.net>;tag=tG4TWxTurelH-rGZRnivbJ96jCHFsQS8 |
||
159 | To: <sip:ag02@cisco.sipit.net>;tag=nkEDOGe3nL5K7PwTs1-DzrwUmbdzAYUy |
||
160 | Server: Blink Pro 1.3.1 (MacOSX) |
||
161 | Content-Length: 0 |
||
162 | |||
163 | 2011-10-24 11:36:12.346891: DNS lookup A h1.cisco.sipit.net succeeded, ttl=600: 132.177.253.22 |
||
164 | |||
165 | |||
166 | }}} |
||
167 | 2 | Adrian Georgescu | |
168 | {{{ |
||
169 | 2011-10-24 10:42:21.419 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Ending session with audio stream |
||
170 | 2011-10-24 10:42:21.457 Blink Pro[1668:6527] Traceback (most recent call last): |
||
171 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
172 | call.func(*call.args, **call.kw) |
||
173 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/coros.py", line 253, in _do_acquire |
||
174 | waiter.switch() |
||
175 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
176 | return cb(*args, **kw) |
||
177 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 1904, in end |
||
178 | TimestampedNotificationData(originator='local', method='BYE', code=notification.data.code, reason=notification.data.reason)) |
||
179 | AttributeError: 'NotificationData' object has no attribute 'code' |
||
180 | 2011-10-24 10:42:21.474 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Session will end (local) |
||
181 | 2011-10-24 10:42:21.643 Blink Pro[1668:a0f] [Session with ag02@cisco.sipit.net] Audio stream ended |
||
182 | }}} |
||
183 | |||
184 | |||
185 | |||
186 | {{{ |
||
187 | 2011-10-24 10:31:00.239837: Notification name=SIPInvitationChangedState |
||
188 | sender=<sipsimple.core._core.Invitation object at 0x18c5ab10> |
||
189 | data=NotificationData(originator='local', body=None, prev_sub_state='normal', |
||
190 | timestamp=datetime.datetime(2011, 10, 24, 10, 31, 0, 232073), headers={'Via': |
||
191 | [FrozenViaHeader('tls', '132.177.252.163', 50951, frozendict({'rport': 0, |
||
192 | 'branch': 'z9hG4bKPj5bKvhluLSr5OxNTM0vdb4umkCpVNtox8'}))], 'From': |
||
193 | FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False, |
||
194 | frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag': |
||
195 | 'kfOPAVWAfIHorykAJBu31vAmIZif780n'})), 'Route': |
||
196 | [FrozenRouteHeader(FrozenSIPURI('132.177.253.22', |
||
197 | 'proxy-call-id=844482fa-fe1a-11e0-bd41-000c29ab0f7b', None, 5061, False, |
||
198 | frozendict({'lr': 1, 'transport': 'tls'}), frozendict({})), None, |
||
199 | frozendict({})), FrozenRouteHeader(FrozenSIPURI('132.177.253.22', |
||
200 | 'proxy-call-id=844482fa-fe1a-11e0-bd41-000c29ab0f7b', None, 5061, False, |
||
201 | frozendict({'lr': 1, 'transport': 'tls'}), frozendict({})), None, |
||
202 | frozendict({}))], 'User-Agent': FrozenHeader('User-Agent', 'Blink Pro 1.3.1 |
||
203 | (MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net', 'ag02', None, |
||
204 | None, False, frozendict({}), frozendict({})), None, frozendict({'tag': |
||
205 | '-9Gm-krVFw154HwQh5W.UsZY12oHT9di'})), 'CSeq': (8401, 'BYE'), 'Call-ID': |
||
206 | FrozenHeader('Call-ID', 'JzYfmKI6hZg0iBD9t4WdpKNhW6SyQzlm'), 'Max-Forwards': |
||
207 | 70}, state='disconnecting', prev_state='connected', method='BYE', |
||
208 | request_uri=FrozenSIPURI('132.177.252.111', 'qwbivsgz', None, 51564, False, |
||
209 | frozendict({'transport': 'tls'}), frozendict({}))) |
||
210 | |||
211 | |||
212 | 2011-10-24 10:31:00.259586: Notification name=SIPInvitationChangedState |
||
213 | sender=<sipsimple.core._core.Invitation object at 0x18c5ab10> |
||
214 | data=NotificationData(originator='local', disconnect_reason='user request', |
||
215 | state='disconnected', prev_state='disconnecting', |
||
216 | 1 | Adrian Georgescu | timestamp=datetime.datetime(2011, 10, 24, 10, 31, 0, 250102)) |
217 | 3 | Adrian Georgescu | }}} |
218 | |||
219 | |||
220 | 200 OK rdata seems to be none for received 200OK for the sent out BYE |
||
221 | |||
222 | |||
223 | === UDP trace that works === |
||
224 | |||
225 | {{{ |
||
226 | 2011-10-24 10:46:07.277414: Notification name=SIPInvitationChangedState |
||
227 | sender=<sipsimple.core._core.Invitation object at 0x18c5abf8> |
||
228 | data=NotificationData(originator='local', body=None, prev_sub_state='normal', |
||
229 | timestamp=datetime.datetime(2011, 10, 24, 10, 46, 7, 268879), headers={'Via': |
||
230 | [FrozenViaHeader('UDP', '132.177.252.163', 60653, frozendict({'rport': 0, |
||
231 | 'branch': 'z9hG4bKPjVWjI8ftu8DW7rR5WhnOsbgpAWQFpbFYT'}))], 'From': |
||
232 | FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False, |
||
233 | frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag': |
||
234 | 'M5uaZcSknKymRnkGTjRG88C8DG99m5Hy'})), 'Route': |
||
235 | [FrozenRouteHeader(FrozenSIPURI('132.177.253.22', |
||
236 | 'proxy-call-id=99e57f04-fe1c-11e0-ba17-000c29ab0f7b', None, 5060, False, |
||
237 | frozendict({'lr': 1, 'transport': 'udp'}), frozendict({})), None, |
||
238 | frozendict({})), FrozenRouteHeader(FrozenSIPURI('132.177.253.22', |
||
239 | 'proxy-call-id=99e57f04-fe1c-11e0-ba17-000c29ab0f7b', None, 5060, False, |
||
240 | frozendict({'lr': 1, 'transport': 'tcp'}), frozendict({})), None, |
||
241 | frozendict({}))], 'User-Agent': FrozenHeader('User-Agent', 'Blink Pro 1.3.1 |
||
242 | (MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net', 'ag02', None, |
||
243 | None, False, frozendict({}), frozendict({})), None, frozendict({'tag': |
||
244 | 'hNd9U3UKc.VP-1WWYP-S8MegH2yeRc5e'})), 'CSeq': (28697, 'BYE'), 'Call-ID': |
||
245 | FrozenHeader('Call-ID', '41QYdm0-Eny2uHKzgETWx57HhGq47xPl'), 'Max-Forwards': |
||
246 | 70}, state='disconnecting', prev_state='connected', method='BYE', |
||
247 | request_uri=FrozenSIPURI('132.177.252.111', 'qwbivsgz', None, 51252, False, |
||
248 | frozendict({'transport': 'tcp'}), frozendict({}))) |
||
249 | |||
250 | |||
251 | 2011-10-24 10:46:07.293137: Notification name=SIPInvitationChangedState |
||
252 | sender=<sipsimple.core._core.Invitation object at 0x18c5abf8> |
||
253 | data=NotificationData(originator='remote', body=None, code=200, |
||
254 | disconnect_reason='user request', timestamp=datetime.datetime(2011, 10, 24, 10, |
||
255 | 46, 7, 287860), state='disconnected', headers={'Content-Length': 0, 'Via': |
||
256 | [FrozenViaHeader('UDP', '132.177.252.163', 60653, frozendict({'received': |
||
257 | '132.177.252.163', 'ingress-zone': 'DefaultSubZone', 'rport': 60653, 'branch': |
||
258 | 'z9hG4bKPjB6pOFsn58EsyG4sXhsB.72oClDLkXjEW'}))], 'From': |
||
259 | FrozenFromHeader(FrozenSIPURI('cisco.sipit.net', 'ag01', None, None, False, |
||
260 | frozendict({}), frozendict({})), u'Adrian Georgescu', frozendict({'tag': |
||
261 | 'M5uaZcSknKymRnkGTjRG88C8DG99m5Hy'})), 'Server': FrozenHeader('Server', 'Blink |
||
262 | Pro 1.3.1 (MacOSX)'), 'To': FrozenToHeader(FrozenSIPURI('cisco.sipit.net', |
||
263 | 'ag02', None, None, False, frozendict({}), frozendict({})), None, |
||
264 | frozendict({'tag': 'hNd9U3UKc.VP-1WWYP-S8MegH2yeRc5e'})), 'CSeq': (28698, |
||
265 | 'BYE'), 'Call-ID': FrozenHeader('Call-ID', '41QYdm0-Eny2uHKzgETWx57HhGq47xPl')}, |
||
266 | reason='OK', prev_state='disconnecting') |
||
267 | 2 | Adrian Georgescu | }}} |
268 | 7 | Adrian Georgescu | |
269 | |||
270 | 9 | Adrian Georgescu | == MSRP Error (Solved) == |
271 | 7 | Adrian Georgescu | |
272 | 9 | Adrian Georgescu | Incoming session is cancelled by remote before we have the chance to initialize msrp media stream. |
273 | 8 | Adrian Georgescu | |
274 | 7 | Adrian Georgescu | {{{ |
275 | 2011-10-24 13:24:24.311 Blink Pro[3997:a0f] [Session with ag02@cisco.sipit.net] Session ended |
||
276 | 2011-10-24 13:25:07.452 Blink Pro[3997:6527] Account('ag01@cisco.sipit.net') registered contact "sip:ohwvastb@132.177.252.163:52017;transport=tls" at 132.177.253.22:5061;transport=tls for 93 seconds |
||
277 | 2011-10-24 13:26:10.570 Blink Pro[3997:6527] Account('ag01@cisco.sipit.net') registered contact "sip:ohwvastb@132.177.252.163:52017;transport=tls" at 132.177.253.22:5061;transport=tls for 93 seconds |
||
278 | 2011-10-24 13:26:43.250 Blink Pro[3997:a0f] Incoming session request from GES <ges@georgescu.info> with chat streams |
||
279 | 2011-10-24 13:27:13.688 Blink Pro[3997:6527] Account('ag01@cisco.sipit.net') registered contact "sip:ohwvastb@132.177.252.163:52017;transport=tls" at 132.177.253.22:5061;transport=tls for 93 seconds |
||
280 | 2011-10-24 13:27:21.438 Blink Pro[3997:a0f] Accepting session to ges@georgescu.info |
||
281 | 2011-10-24 13:27:21.440 Blink Pro[3997:a0f] [Session with ges@georgescu.info] Handling incoming chat stream |
||
282 | 2011-10-24 13:27:21.730 Blink Pro[3997:6527] Starting factory <eventlet.twistedutil.protocol.GreenInstanceFactory instance at 0x1885c620> |
||
283 | 2011-10-24 13:27:21.740 Blink Pro[3997:6527] /etc/resolv.conf changed, reparsing |
||
284 | 2011-10-24 13:27:21.740 Blink Pro[3997:6527] Resolver added ('132.177.252.2', 53) to server list |
||
285 | 2011-10-24 13:27:21.742 Blink Pro[3997:6527] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 54952 |
||
286 | 2011-10-24 13:27:21.742 Blink Pro[3997:6527] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x18c0a490> |
||
287 | 2011-10-24 13:27:21.939 Blink Pro[3997:6527] (Port 54952 Closed) |
||
288 | 2011-10-24 13:27:21.940 Blink Pro[3997:6527] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x18c0a490> |
||
289 | 2011-10-24 13:27:23.978 Blink Pro[3997:6527] Traceback (most recent call last): |
||
290 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
291 | call.func(*call.args, **call.kw) |
||
292 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/hubs/twistedr.py", line 159, in call_if_greenlet_alive |
||
293 | return func(*args1, **kwargs1) |
||
294 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
295 | return cb(*args, **kw) |
||
296 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/streams/msrp.py", line 260, in end |
||
297 | notification_center.remove_observer(self, sender=self) |
||
298 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/application/notification.py", line 164, in remove_observer |
||
299 | 1 | Adrian Georgescu | raise KeyError("observer %r not registered for %r events from %r" % (observer, name, sender)) |
300 | KeyError: 'observer <sipsimple.streams.msrp.ChatStream object at 0x1860cfd0> not registered for Any events from <sipsimple.streams.msrp.ChatStream object at 0x1860cfd0>' |
||
301 | 9 | Adrian Georgescu | }}} |
302 | |||
303 | == Multiple reconnect for MSRP and cancel == |
||
304 | |||
305 | |||
306 | |||
307 | {{{ |
||
308 | 2011-10-24 15:31:07.196 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Initiating DNS Lookup of Account('31208005169@ag-projects.com') to sip:agp@conference.sip2sip.info |
||
309 | 2011-10-24 15:31:07.205 Blink Pro[3997:a0f] Starting DNS Lookup for sip:agp@conference.sip2sip.info via proxy of account 31208005169@ag-projects.com |
||
310 | 2011-10-24 15:31:07.212 Blink Pro[3997:6527] DNS Lookup for sip:agp@conference.sip2sip.info succeeded: 85.17.186.7:5060 (UDP), 81.23.228.129:5060 (UDP) |
||
311 | 2011-10-24 15:31:07.248 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Connecting session |
||
312 | 2011-10-24 15:31:07.262 Blink Pro[3997:a0f] Starting Outgoing Session to agp@conference.sip2sip.info with ['chat'] |
||
313 | 2011-10-24 15:31:07.287 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Ending session with chat stream |
||
314 | 2011-10-24 15:31:07.317 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Session cancelled |
||
315 | 2011-10-24 15:31:07.364 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Re-establishing session to agp@conference.sip2sip.info |
||
316 | 2011-10-24 15:31:07.414 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Initiating DNS Lookup of Account('31208005169@ag-projects.com') to sip:agp@conference.sip2sip.info |
||
317 | 2011-10-24 15:31:07.423 Blink Pro[3997:a0f] Starting DNS Lookup for sip:agp@conference.sip2sip.info via proxy of account 31208005169@ag-projects.com |
||
318 | 2011-10-24 15:31:07.430 Blink Pro[3997:6527] DNS Lookup for sip:agp@conference.sip2sip.info succeeded: 85.17.186.7:5060 (UDP), 81.23.228.129:5060 (UDP) |
||
319 | 2011-10-24 15:31:07.470 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Connecting session |
||
320 | 2011-10-24 15:31:07.473 Blink Pro[3997:a0f] Starting Outgoing Session to agp@conference.sip2sip.info with ['chat'] |
||
321 | 2011-10-24 15:31:07.501 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Ending session with chat stream |
||
322 | 2011-10-24 15:31:07.532 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Session cancelled |
||
323 | 2011-10-24 15:31:07.625 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Re-establishing session to agp@conference.sip2sip.info |
||
324 | 2011-10-24 15:31:07.696 Blink Pro[3997:6527] Traceback (most recent call last): |
||
325 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
326 | call.func(*call.args, **call.kw) |
||
327 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 239, in _spawn |
||
328 | g.switch() |
||
329 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
330 | return cb(*args, **kw) |
||
331 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2175, in handle_notification |
||
332 | handler(notification) |
||
333 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2310, in _NH_SIPInvitationChangedState |
||
334 | elif notification.data.state == 'connected' and notification.data.sub_state == 'normal' and notification.data.prev_sub_state == 'received_proposal': |
||
335 | AttributeError: 'NotificationData' object has no attribute 'prev_sub_state' |
||
336 | 2011-10-24 15:31:07.696 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Initiating DNS Lookup of Account('31208005169@ag-projects.com') to sip:agp@conference.sip2sip.info |
||
337 | 2011-10-24 15:31:07.706 Blink Pro[3997:a0f] Starting DNS Lookup for sip:agp@conference.sip2sip.info via proxy of account 31208005169@ag-projects.com |
||
338 | 2011-10-24 15:31:07.714 Blink Pro[3997:6527] DNS Lookup for sip:agp@conference.sip2sip.info succeeded: 85.17.186.7:5060 (UDP), 81.23.228.129:5060 (UDP) |
||
339 | 2011-10-24 15:31:07.775 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Connecting session |
||
340 | 2011-10-24 15:31:07.782 Blink Pro[3997:a0f] Starting Outgoing Session to agp@conference.sip2sip.info with ['chat'] |
||
341 | 2011-10-24 15:31:07.804 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Ending session with chat stream |
||
342 | 2011-10-24 15:31:08.075 Blink Pro[3997:6527] Traceback (most recent call last): |
||
343 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
344 | call.func(*call.args, **call.kw) |
||
345 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 239, in _spawn |
||
346 | g.switch() |
||
347 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
348 | return cb(*args, **kw) |
||
349 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2175, in handle_notification |
||
350 | handler(notification) |
||
351 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2310, in _NH_SIPInvitationChangedState |
||
352 | elif notification.data.state == 'connected' and notification.data.sub_state == 'normal' and notification.data.prev_sub_state == 'received_proposal': |
||
353 | AttributeError: 'NotificationData' object has no attribute 'prev_sub_state' |
||
354 | 2011-10-24 15:31:08.477 Blink Pro[3997:6527] *** __NSAutoreleaseNoPool(): Object 0x1e5e4af0 of class NSCFString autoreleased with no pool in place - just leaking |
||
355 | 2011-10-24 15:31:08.551 Blink Pro[3997:6527] *** attempt to pop an unknown autorelease pool (0x24d0e00) |
||
356 | 2011-10-24 15:31:08.760 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Session cancelled |
||
357 | 2011-10-24 15:31:08.775 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Chat stream ended |
||
358 | 2011-10-24 15:31:17.812 Blink Pro[3997:6527] Traceback (most recent call last): |
||
359 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
360 | call.func(*call.args, **call.kw) |
||
361 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 239, in _spawn |
||
362 | g.switch() |
||
363 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
364 | return cb(*args, **kw) |
||
365 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2175, in handle_notification |
||
366 | handler(notification) |
||
367 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2328, in _NH_SIPInvitationChangedState |
||
368 | for stream in self.streams: |
||
369 | TypeError: 'NoneType' object is not iterable |
||
370 | 2011-10-24 15:31:18.005 Blink Pro[3997:6527] Traceback (most recent call last): |
||
371 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
372 | call.func(*call.args, **call.kw) |
||
373 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 239, in _spawn |
||
374 | g.switch() |
||
375 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
376 | return cb(*args, **kw) |
||
377 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2175, in handle_notification |
||
378 | handler(notification) |
||
379 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 2328, in _NH_SIPInvitationChangedState |
||
380 | for stream in self.streams: |
||
381 | TypeError: 'NoneType' object is not iterable |
||
382 | 2011-10-24 15:32:02.401 Blink Pro[3997:6527] Account('ag01@cisco.sipit.net') registered contact "sip:ohwvastb@132.177.252.163:52016;transport=tcp" at 132.177.253.22:5060;transport=tcp for 93 seconds |
||
383 | 2011-10-24 15:32:14.921 Blink Pro[3997:a0f] Re-establishing session to agp@conference.sip2sip.info |
||
384 | 2011-10-24 15:32:14.922 Blink Pro[3997:a0f] Re-establishing session to agp@conference.sip2sip.info |
||
385 | 2011-10-24 15:32:14.970 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Initiating DNS Lookup of Account('31208005169@ag-projects.com') to sip:agp@conference.sip2sip.info |
||
386 | 2011-10-24 15:32:14.981 Blink Pro[3997:a0f] Starting DNS Lookup for sip:agp@conference.sip2sip.info via proxy of account 31208005169@ag-projects.com |
||
387 | 2011-10-24 15:32:15.465 Blink Pro[3997:6527] DNS Lookup for sip:agp@conference.sip2sip.info succeeded: 81.23.228.129:5060 (UDP), 81.23.228.150:5060 (UDP), 85.17.186.7:5060 (UDP) |
||
388 | 2011-10-24 15:32:15.501 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Connecting session |
||
389 | 2011-10-24 15:32:15.512 Blink Pro[3997:a0f] Starting Outgoing Session to agp@conference.sip2sip.info with ['chat'] |
||
390 | 2011-10-24 15:32:15.772 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Ending session with chat stream |
||
391 | 2011-10-24 15:32:26.048 Blink Pro[3997:6527] Traceback (most recent call last): |
||
392 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/twisted/internet/base.py", line 757, in runUntilCurrent |
||
393 | call.func(*call.args, **call.kw) |
||
394 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/coros.py", line 253, in _do_acquire |
||
395 | waiter.switch() |
||
396 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/eventlet/api.py", line 235, in _spawn_startup |
||
397 | return cb(*args, **kw) |
||
398 | File "/Users/adigeo/work/blink/build/Release/Blink Pro.app/Contents/Resources/lib/sipsimple/session.py", line 1898, in end |
||
399 | TimestampedNotificationData(originator='local', method='INVITE', code=notification.data.code, reason=notification.data.reason)) |
||
400 | AttributeError: 'NotificationData' object has no attribute 'code' |
||
401 | 2011-10-24 15:32:26.057 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Chat stream ended |
||
402 | 2011-10-24 15:32:28.717 Blink Pro[3997:a0f] Re-establishing session to agp@conference.sip2sip.info |
||
403 | 2011-10-24 15:32:28.718 Blink Pro[3997:a0f] Re-establishing session to agp@conference.sip2sip.info |
||
404 | 2011-10-24 15:32:28.762 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Proposing chat stream |
||
405 | 2011-10-24 15:32:28.763 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] IllegalStateError: cannot call add_stream in terminated state |
||
406 | 2011-10-24 15:32:41.751 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] Cancelling proposal |
||
407 | 2011-10-24 15:32:41.752 Blink Pro[3997:a0f] [Session with agp@conference.sip2sip.info] IllegalStateError: cannot call cancel_proposal in terminated state |
||
408 | 2011-10-24 15:33:05.520 Blink Pro[3997:6527] Account('ag01@cisco.sipit.net') registered contact "sip:ohwvastb@132.177.252.163:52016;transport=tcp" at 132.177.253.22:5060;transport=tcp for 93 seconds |
||
409 | 7 | Adrian Georgescu | }}} |