· 7 years ago · Dec 06, 2017, 05:24 PM
1Asterisk 1.8.5.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
2Created by Mark Spencer <markster@digium.com>
3Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
4This is free software, with components licensed under the GNU General Public
5License version 2 and other licenses; you are welcome to redistribute it under
6certain conditions. Type 'core show license' for details.
7=========================================================================
8ESC[0;37mESC[0mConnected to Asterisk 1.8.5.0 currently running on c5test (pi (pid = 1129)
9c5test*CLI> ^MESC[0KVerbosity is at least 3
10^MESC[Kc5test*CLI> ^MESC[0KCore debug is at least 9
11^MESC[Kc5test*CLI> ^MESC[0K[Jul 21 12:08:32] ESC[1;31mWARNINGESC[0m[1165[0m[1165]: ESC[1;37mdb.cESC[0m:ESC[1;37m115ESC[0m ESC[1;37mdbinitESC
12mdbinitESC[0m: Unable to open Asterisk database '/var/lib/asterisk/astdb': Perermission denied
13^MESC[Kc5test*CLI> ^MESC[0K[Jul 21 12:08:32] ESC[1;31mWARNINGESC[0m[1165[0m[1165]: ESC[1;37mdb.cESC[0m:ESC[1;37m592ESC[0m ESC[1;37mast_db_gettst_db_gettreeESC[0m: Database unavailable
14^MESC[Kc5test*CLI> ^MESC[0K
15<--- SIP read from UDP:192.168.1.122:29168 --->
16INVITE sip:9MOBILE@192.168.1.106 SIP/2.0
17d8754z-;rport
18Max-Forwards: 70
19Contact: <sip:100@192.168.1.122:29168>
20To: "9MOBILE"<sip:9MOBILE@192.168.1.106>
21From: <sip:100@192.168.1.106>;tag=5d29a792
22Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
23CSeq: 1 INVITE
24Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
25Content-Type: application/sdp
26Supported: replaces
27User-Agent: X-Lite 4 release 4.0 stamp 58832
28Content-Length: 410
29
30v=0
31o=- 12955719122625000 1 IN IP4 192.168.1.122
32s=CounterPath X-Lite 4.0
33c=IN IP4 192.168.1.122
34t=0 0
35a=ice-ufrag:7fb951
36a=ice-pwd:63b30f468e74eb394cd21a4907d1bfbb
37m=audio 53626 RTP/AVP 107 0 8 101
38a=rtpmap:107 BV32/16000
39a=rtpmap:101 telephone-event/8000
40a=fmtp:101 0-15
41a=sendrecv
42a=candidate:1 1 UDP 659136 192.168.1.122 53626 typ host
43a=candidate:1 2 UDP 659134 192.168.1.122 53627 typ host
44<------------->
45--- (13 headers 14 lines) ---
46Sending to 192.168.1.122:29168 (no NAT)
47Using INVITE request as basis request - YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
48Found peer '100' for '100' from 192.168.1.122:29168
49
50<--- Reliably Transmitting (no NAT) to 192.168.1.122:29168 --->
51SIP/2.0 401 Unauthorized
52Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-3a3c70048ab4d6a0-1---d8754z-;received=192.168.1.122;rport=29168
53From: <sip:100@192.168.1.106>;tag=5d29a792
54To: "9MOIBILE"<sip:9MOBILE@192.168.1.106>;tag=as08a1baa9
55Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
56CSeq: 1 INVITE
57Server: Asterisk PBX 1.8.5.0
58Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
59Supported: replaces, timer
60WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5c5984b5"
61Content-Length: 0
62
63
64<------------>
65Scheduling destruction of SIP dialog 'YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.' in 32000 ms (Method: INVITE)
66
67<--- SIP read from UDP:192.168.1.122:29168 --->
68INVITE sip:9MOBILE@192.168.1.106 SIP/2.0
69Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-3a3c70048ab4d6a0-1---d8754z-;rport
70Max-Forwards: 70
71Contact: <sip:100@192.168.1.122:29168>
72To: "9MOBILE"<sip:9MOBILE@192.168.1.106>
73From: <sip:100@192.168.1.106>;tag=5d29a792
74Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
75CSeq: 1 INVITE
76Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
77Content-Type: application/sdp
78Supported: replaces
79User-Agent: X-Lite 4 release 4.0 stamp 58832
80Content-Length: 410
81
82v=0
83o=- 12955719122625000 1 IN IP4 192.168.1.122
84s=CounterPath X-Lite 4.0
85c=IN IP4 192.168.1.122
86t=0 0
87a=ice-ufrag:7fb951
88a=ice-pwd:63b30f468e74eb394cd21a4907d1bfbb
89m=audio 53626 RTP/AVP 107 0 8 101
90a=rtpmap:107 BV32/16000
91a=rtpmap:101 telephone-event/8000
92a=fmtp:101 0-15
93a=sendrecv
94a=candidate:1 1 UDP 659136 192.168.1.122 53626 typ host
95a=candidate:1 2 UDP 659134 192.168.1.122 53627 typ host
96<------------->
97--- (13 headers 14 lines) ---
98Ignoring this INVITE request
99^MESC[Kc5test*CLI> ^MESC[0K
100<--- SIP read from UDP:192.168.1.122:29168 --->
101ACK sip:9MOBILE@192.168.1.106 SIP/2.0
102Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-3a3c70048ab4d6a0-1---d8754z-;rport
103Max-Forwards: 70
104To: "9MOBILE"<sip:9MOBILE@192.168.1.106>;tag=as08a1baa9
105From: <sip:100@192.168.1.106>;tag=5d29a792
106Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
107CSeq: 1 ACK
108Content-Length: 0
109
110<------------->
111--- (8 headers 0 lines) ---
112^MESC[Kc5test*CLI> ^MESC[0K
113<--- SIP read from UDP:192.168.1.122:29168 --->
114INVITE sip:9MOBILE@192.168.1.106 SIP/2.0
115Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-6459fc51d895c62d-1---d8754z-;rport
116Max-Forwards: 70
117Contact: <sip:100@192.168.1.122:29168>
118To: "9MOBILE"<sip:9MOBILE@192.168.1.106>
119From: <sip:100@192.168.1.106>;tag=5d29a792
120Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
121CSeq: 2 INVITE
122O
123Content-Type: application/sdp
124Supported: replaces
125User-Agent: X-Lite 4 release 4.0 stamp 58832
126Authorization: Digest username="100",realm="asterisk",nonce="5c5984b5",uri="sip:9MOBILE@192.168.1.106",response="32b489bce2eb8dd64cbb3ff002f7b045",algorithm=MD5
127Content-Length: 410
128
129v=0
130o=- 12955719122625000 1 IN IP4 192.168.1.122
131s=CounterPath X-Lite 4.0
132c=IN IP4 192.168.1.122
133t=0 0
134a=ice-ufrag:7fb951
135a=ice-pwd:63b30f468e74eb394cd21a4907d1bfbb
136m=audio 53626 RTP/AVP 107 0 8 101
137a=rtpmap:107 BV32/16000
138a=rtpmap:101 telephone-event/8000
139a=fmtp:101 0-15
140a=sendrecv
141a=candidate:1 1 UDP 659136 192.168.1.122 53626 typ host
142a=candidate:1 2 UDP 659134 192.168.1.122 53627 typ host
143<------------->
144--- (14 headers 14 lines) ---
145Sending to 192.168.1.122:29168 (no NAT)
146Using INVITE request as basis request - YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
147Found peer '100' for '100' from 192.168.1.122:29168
148 == Using SIP RTP CoS mark 5
149Found RTP audio format 107
150Found RTP audio format 0
151Found RTP audio format 8
152Found RTP audio format 101
153Found unknown media description format BV32 for ID 107
154Found audio description format telephone-event for ID 101
155Capabilities: us - 0x6 (gsm|ulaw), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
156^MESC[Kc5test*CLI> ^MESC[0KNon-codec capabilities (dtmf): us - 0x1 (telephonphone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
157Peer audio RTP is at port 192.168.1.122:53626
158Looking for 9MOBILE in myphones (domain 192.168.1.106)
159list_route: hop: <sip:100@192.168.1.122:29168>
160
161<--- Transmitting (no NAT) to 192.168.1.122:29168 --->
162SIP/2.0 100 Trying
163Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-6459fc51d895c62d-1---d8754z-;received=192.168.1.122;rport=29168
164From: <sip:100@192.168.1.106>;tag=5d29a792
165To: "9MOBILE"<sip:9MOBILE@192.168.1.106>
166Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
167CSeq: 2 INVITE
168Server: Asterisk PBX 1.8.5.0
169Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
170Supported: replaces, timer
171Contact: <sip:9MOBILE@192.168.1.106:5060>
172Content-Length: 0
173
174
175<------------>
176^MESC[Kc5test*CLI> ^MESC[0K -- Executing [9MOBILE@myphones:1] ESC[ESC[1;36mLogESC[0m("ESC[1;35mSIP/100-00000046ESC[0m", "ESC[1;35mNOTICE;35mNOTICE, Dialing out from "" <100> to MOBILE through Foo ProviderESC[0[0m") in new stack
177^MESC[Kc5test*CLI> ^MESC[0K[Jul 21 12:08:39] ESC[1;33mNOTICEESC[0m[1379]0m[1379]: ESC[1;37mExt. 9MOBILEESC[0m:ESC[1;37m1ESC[0m ESC[1;37m@C[1;37m@ myphonesESC[0m: Dialing out from "" <100> to MOBILE through Fgh Foo Provider
178^MESC[Kc5test*CLI> ^MESC[0K -- Executing [9MOBILE@myphones:2] ESC[ESC[1;36mDialESC[0m("ESC[1;35mSIP/100-00000046ESC[0m", "ESC[1;35mSIP/p1;35mSIP/provideraql/MOBILEESC[0m") in new stack
179^MESC[Kc5test*CLI> ^MESC[0K == Using SIP RTP CoS mark 5
180^MESC[Kc5test*CLI> ^MESC[0KAudio is at 5060
181^MESC[Kc5test*CLI> ^MESC[0KAdding codec 0x4 (ulaw) to SDP
182^MESC[Kc5test*CLI> ^MESC[0KAdding codec 0x8 (alaw) to SDP
183^MESC[Kc5test*CLI> ^MESC[0KAdding codec 0x2 (gsm) to SDP
184^MESC[Kc5test*CLI> ^MESC[0KAdding non-codec 0x1 (telephone-event) to SDP
185^MESC[Kc5test*CLI> ^MESC[0KReliably Transmitting (no NAT) to 194.145.190.143.143:5060:
186INVITE sip:MOBILE@sip.aql.com SIP/2.0
187Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK451d0a8a
188Max-Forwards: 70
189From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
190To: <sip:MOBILE@sip.aql.com>
191Contact: <sip:100@192.168.1.106:5060>
192Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
193CSeq: 102 INVITE
194User-Agent: Asterisk PBX 1.8.5.0
195Date: Thu, 21 Jul 2011 11:08:39 GMT
196Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
197Supported: replaces, timer
198Content-Type: application/sdp
199Content-Length: 285
200
201v=0
202o=root 1979897633 1979897633 IN IP4 192.168.1.106
203s=Asterisk PBX 1.8.5.0
204c=IN IP4 192.168.1.106
205t=0 0
206m=audio 13496 RTP/AVP 0 8 3 101
207a=rtpmap:0 PCMU/8000
208a=rtpmap:8 PCMA/8000
209a=rtpmap:3 GSM/8000
210a=rtpmap:101 telephone-event/8000
211a=fmtp:101 0-16
212a=ptime:20
213a=sendrecv
214
215---
216^MESC[Kc5test*CLI> ^MESC[0K -- Called SIP/provideraql/MOBILE
217^MESC[Kc5test*CLI> ^MESC[0K
218<--- SIP read from UDP:194.145.190.143:5060 --->
219SIP/2.0 407 Proxy Authentication Required
220Via: SIP/2.0/UDP 82.3.222.121:5060;branch=z9hG4bK451d0a8a;received=82.3.222.121
221From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
222To: <sip:MOBILE@sip.aql.com>;tag=as25616036
223Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
224CSeq: 102 INVITE
225User-Agent: Asterisk PBX
226Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
227Proxy-Authenticate: Digest algorithm=MD5, realm="sip.aql.com", nonce="28445cb7"
228Content-Length: 0
229
230<------------->
231--- (10 headers 0 lines) ---
232Transmitting (no NAT) to 194.145.190.143:5060:
233ACK sip:MOBILE@sip.aql.com SIP/2.0
234Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK451d0a8a
235Max-Forwards: 70
236From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
237To: <sip:MOBILE@sip.aql.com>;tag=as25616036
238Contact: <sip:100@192.168.1.106:5060>
239Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
240CSeq: 102 ACK
241User-Agent: Asterisk PBX 1.8.5.0
242Content-Length: 0
243
244
245---
246Audio is at 5060
247Adding codec 0x4 (ulaw) to SDP
248Adding codec 0x8 (alaw) to SDP
249Adding codec 0x2 (gsm) to SDP
250Adding non-codec 0x1 (telephone-event) to SDP
251Reliably Transmitting (no NAT) to 194.145.190.143:5060:
252INVITE sip:MOBILE@sip.aql.com SIP/2.0
253Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK737a85cb
254Max-Forwards: 70
255From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
256To: <sip:MOBILE@sip.aql.com>
257Contact: <sip:100@192.168.1.106:5060>
258Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
259^MESC[Kc5test*CLI> ^MESC[0KCSeq: 103 INVITE
260User-Agent: Asterisk PBX 1.8.5.0
261Proxy-Authorization: Digest username="636556", realm="sip.aql.com", algorithm=MD5, uri="sip:MOBILE@sip.aql.com", nonce="28445cb7", response="61f107bc875dbf45430a940d9c587c0c"
262Date: Thu, 21 Jul 2011 11:08:39 GMT
263H
264Supported: replaces, timer
265Content-Type: application/sdp
266Content-Length: 285
267
268v=0
269o=root 1979897633 1979897634 IN IP4 192.168.1.106
270s=Asterisk PBX 1.8.5.0
271c=IN IP4 192.168.1.106
272t=0 0
273m=audio 13496 RTP/AVP 0 8 3 101
274a=rtpmap:0 PCMU/8000
275a=rtpmap:8 PCMA/8000
276a=rtpmap:3 GSM/8000
277a=rtpmap:101 telephone-event/8000
278a=fmtp:101 0-16
279a=ptime:20
280a=sendrecv
281
282---
283^MESC[Kc5test*CLI> ^MESC[0K
284<--- SIP read from UDP:194.145.190.143:5060 --->
285SIP/2.0 403 Forbidden
286Via: SIP/2.0/UDP 82.3.222.121:5060;branch=z9hG4bK737a85cb;received=82.3.222.121
287From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
288To: <sip:MOBILE@sip.aql.com>;tag=as25616036
289Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
290CSeq: 103 INVITE
291User-Agent: Asterisk PBX
292Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
293Content-Length: 0
294
295<------------->
296--- (9 headers 0 lines) ---
297Transmitting (no NAT) to 194.145.190.143:5060:
298ACK sip:MOBILE@sip.aql.com SIP/2.0
299Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK737a85cb
300Max-Forwards: 70
301From: "100" <sip:100@sip.aql.com>;tag=as3b68b3f6
302To: <sip:MOBILE@sip.aql.com>;tag=as25616036
303Contact: <sip:100@192.168.1.106:5060>
304Call-ID: 257cbae3549b04c408cb6d8f11d95191@sip.aql.com
305CSeq: 103 ACK
306User-Agent: Asterisk PBX 1.8.5.0
307Content-Length: 0
308
309
310---
311[Jul 21 12:08:39] ESC[1;31mWARNINGESC[0m[1146]: ESC[1;37mchan_sip.cESC[0cESC[0m:ESC[1;37m19568ESC[0m ESC[1;37mhandle_response_inviteESC[0m: ReC[0m: Received response: "Forbidden" from '"100" <sip:100@sip.aql.com>;tag=as3s3b68b3f6'
312^MESC[Kc5test*CLI> ^MESC[0K -- SIP/provideraql-00000047 is circuit-busy
313^MESC[Kc5test*CLI> ^MESC[0K == Everyone is busy/congested at this time (1:0(1:0/1/0)
314^MESC[Kc5test*CLI> ^MESC[0K -- Executing [9MOBILE@myphones:3] ESC[ESC[1;36mPlayTonesESC[0m("ESC[1;35mSIP/100-00000046ESC[0m", "ESC[1;35mSC[1;35mcongestionESC[0m") in new stack
315^MESC[Kc5test*CLI> ^MESC[0K -- Executing [9MOBILE@myphones:4] ESC[ESC[1;36mHangupESC[0m("ESC[1;35mSIP/100-00000046ESC[0m", "ESC[1;35m
316SC[1;35mESC[0m") in new stack
317^MESC[Kc5test*CLI> ^MESC[0K == Spawn extension (myphones, 9MOBILE, 4) 4) exited non-zero on 'SIP/100-00000046'
318^MESC[Kc5test*CLI> ^MESC[0KScheduling destruction of SIP dialog 'YTVlZjUyYzByYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.' in 32000 ms (Method: INVITE)
319^MESC[Kc5test*CLI> ^MESC[0K
320<--- Reliably Transmitting (no NAT) to 192.168.1.122:29168 --->
321SIP/2.0 403 Forbidden
322d8754z-;received=192.168.1.122;rport=29168
323From: <sip:100@192.168.1.106>;tag=5d29a792
324To: "9MOBILE"<sip:9MOBILE@192.168.1.106>;tag=as345aeafd
325Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
326CSeq: 2 INVITE
327Server: Asterisk PBX 1.8.5.0
328Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
329Supported: replaces, timer
330Content-Length: 0
331
332
333<------------>
334^MESC[Kc5test*CLI> ^MESC[0KReally destroying SIP dialog '257cbae3549b04c408c408cb6d8f11d95191@sip.aql.com' Method: INVITE
335^MESC[Kc5test*CLI> ^MESC[0K
336<--- SIP read from UDP:192.168.1.122:29168 --->
337ACK sip:9MOBILE@192.168.1.106 SIP/2.0
338Via: SIP/2.0/UDP 192.168.1.122:29168;branch=z9hG4bK-d8754z-6459fc51d895c62d-1---d8754z-;rport
339Max-Forwards: 70
340To: "9MOBILE"<sip:9MOBILE@192.168.1.106>;tag=as345aeafd
341From: <sip:100@192.168.1.106>;tag=5d29a792
342Call-ID: YTVlZjUyYzBiZjgxZjQyMmIzN2VhM2Y5Nzc4MDY0NWU.
343CSeq: 2 ACK
344Content-Length: 0
345
346<------------->
347^MESC[Kc5test*CLI> ^MESC[0K--- (8 headers 0 lines) ---
348^MESC[Kc5test*CLI> exit
349ESC[0m