· 9 years ago · Jun 01, 2017, 09:58 AM
1CREATE TABLE IF NOT EXISTS `extensions_table` (
2 `id` int(11) NOT NULL auto_increment,
3 `context` varchar(20) NOT NULL default '',
4 `exten` varchar(20) NOT NULL default '',
5 `priority` tinyint(4) NOT NULL default '0',
6 `app` varchar(20) NOT NULL default '',
7 `appdata` varchar(128) NOT NULL default '',
8 PRIMARY KEY (`context`,`exten`,`priority`),
9 KEY `id` (`id`)
10) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
11
12--
13-- Daten für Tabelle `extensions_table`
14--
15
16INSERT INTO `extensions_table` (`id`, `context`, `exten`, `priority`, `app`, `appdata`) VALUES
17(1, 'Sip-Out', '_.', 1, 'Set', 'NR=${EXTEN}'),
18(2, 'Sip-Out', '_.', 2, 'Wait', '100');
19
20
21
22troying SIP dialog '5dbdcb5d1b287b390dc106ae6947a3f8@81.89.105.39' Method: OPTIONS
2381-89-105-39*CLI>
24<--- SIP read from UDP:79.197.196.90:23710 --->
25INVITE sip:222@sogo.dyndns.org SIP/2.0
26Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;rport
27Max-Forwards: 70
28Contact: <sip:111@79.197.196.90:23710>
29To: "222"<sip:222@sogo.dyndns.org>
30From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
31Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
32CSeq: 1 INVITE
33Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
34Content-Type: application/sdp
35User-Agent: X-Lite release 1014k stamp 56015
36Content-Length: 345
37
38v=0
39o=- 2 2 IN IP4 192.168.178.103
40s=CounterPath X-Lite 3.0
41c=IN IP4 192.168.178.103
42t=0 0
43m=audio 63500 RTP/AVP 0 8 101
44a=fmtp:101 0-15
45a=rtpmap:101 telephone-event/8000
46a=alt:1 3 : 71BqR3rm eptGCRIn 192.168.178.103 63500
47a=alt:2 2 : 6Ja8YDVP lbycaeA5 172.16.188.1 63500
48a=alt:3 1 : e/hKKwoL 9GGvwtRA 192.168.167.1 63500
49a=sendrecv
50
51<------------->
52--- (12 headers 12 lines) ---
53 == Using SIP RTP CoS mark 5
54Sending to 79.197.196.90 : 23710 (NAT)
55Using INVITE request as basis request - NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
56Reliably Transmitting (NAT) to 79.197.196.90:50156:
57OPTIONS sip:79.197.196.90 SIP/2.0
58Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2df87bff;rport
59Max-Forwards: 70
60From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as35e252c9
61To: <sip:79.197.196.90>
62Contact: <sip:asterisk@81.89.105.39>
63Call-ID: 7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39
64CSeq: 102 OPTIONS
65User-Agent: Asterisk PBX 1.6.2.6
66Date: Mon, 21 Jun 2010 20:25:25 GMT
67Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
68Supported: replaces, timer
69Content-Length: 0
70
71
72---
73[Jun 22 00:25:25] NOTICE[1774]: chan_sip.c:22895 sip_poke_peer: Still have a QUALIFY dialog active, deleting
74Really destroying SIP dialog '7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39' Method: OPTIONS
75Reliably Transmitting (NAT) to 79.197.196.90:50156:
76OPTIONS sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C SIP/2.0
77Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK1fcc49b5;rport
78Max-Forwards: 70
79From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as5ed30c95
80To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
81Contact: <sip:asterisk@81.89.105.39>
82Call-ID: 444183cb72b4ad4f4589743d62d03113@81.89.105.39
83CSeq: 102 OPTIONS
84User-Agent: Asterisk PBX 1.6.2.6
85Date: Mon, 21 Jun 2010 20:25:25 GMT
86Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
87Supported: replaces, timer
88Content-Length: 0
89
90
91---
92Found peer '111' for '111' from 79.197.196.90:23710
9381-89-105-39*CLI>
94<--- Reliably Transmitting (NAT) to 79.197.196.90:23710 --->
95SIP/2.0 401 Unauthorized
96Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;received=79.197.196.90;rport=23710
97From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
98To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
99Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
100CSeq: 1 INVITE
101Server: Asterisk PBX 1.6.2.6
102Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
103Supported: replaces, timer
104WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7fd38018"
105Content-Length: 0
106
107
108<------------>
109Scheduling destruction of SIP dialog 'NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.' in 14784 ms (Method: INVITE)
11081-89-105-39*CLI>
111<--- SIP read from UDP:79.197.196.90:23710 --->
112ACK sip:222@sogo.dyndns.org SIP/2.0
113Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;rport
114To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
115From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
116Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
117CSeq: 1 ACK
118Content-Length: 0
119
120
121<------------->
122--- (7 headers 0 lines) ---
12381-89-105-39*CLI>
124<--- SIP read from UDP:79.197.196.90:23710 --->
125INVITE sip:222@sogo.dyndns.org SIP/2.0
126Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;rport
127Max-Forwards: 70
128Contact: <sip:111@79.197.196.90:23710>
129To: "222"<sip:222@sogo.dyndns.org>
130From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
131Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
132CSeq: 2 INVITE
133Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
134Content-Type: application/sdp
135User-Agent: X-Lite release 1014k stamp 56015
136Authorization: Digest username="111",realm="asterisk",nonce="7fd38018",uri="sip:222@sogo.dyndns.org",response="fcbac3a14eeb1b032ca83a6ab782f4d4",algorithm=MD5
137Content-Length: 345
138
139v=0
140o=- 2 2 IN IP4 192.168.178.103
141s=CounterPath X-Lite 3.0
142c=IN IP4 192.168.178.103
143t=0 0
144m=audio 63500 RTP/AVP 0 8 101
145a=fmtp:101 0-15
146a=rtpmap:101 telephone-event/8000
147a=alt:1 3 : 71BqR3rm eptGCRIn 192.168.178.103 63500
148a=alt:2 2 : 6Ja8YDVP lbycaeA5 172.16.188.1 63500
149a=alt:3 1 : e/hKKwoL 9GGvwtRA 192.168.167.1 63500
150a=sendrecv
151
152<------------->
153--- (13 headers 12 lines) ---
154Sending to 79.197.196.90 : 23710 (NAT)
155Using INVITE request as basis request - NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
156Reliably Transmitting (NAT) to 79.197.196.90:50156:
157OPTIONS sip:79.197.196.90 SIP/2.0
158Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK155bba40;rport
159Max-Forwards: 70
160From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as3041f6d4
161To: <sip:79.197.196.90>
162Contact: <sip:asterisk@81.89.105.39>
163Call-ID: 5c9475654943859459afd76806e9e4b4@81.89.105.39
164CSeq: 102 OPTIONS
165User-Agent: Asterisk PBX 1.6.2.6
166Date: Mon, 21 Jun 2010 20:25:25 GMT
167Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
168Supported: replaces, timer
169Content-Length: 0
170
171
172---
173[Jun 22 00:25:25] NOTICE[1774]: chan_sip.c:22895 sip_poke_peer: Still have a QUALIFY dialog active, deleting
174Really destroying SIP dialog '5c9475654943859459afd76806e9e4b4@81.89.105.39' Method: OPTIONS
175Reliably Transmitting (NAT) to 79.197.196.90:50156:
176OPTIONS sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C SIP/2.0
177Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2bedb322;rport
178Max-Forwards: 70
179From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as72354774
180To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
181Contact: <sip:asterisk@81.89.105.39>
182Call-ID: 1c4d99db22677e7f4005407467e7d0a2@81.89.105.39
183CSeq: 102 OPTIONS
184User-Agent: Asterisk PBX 1.6.2.6
185Date: Mon, 21 Jun 2010 20:25:25 GMT
186Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
187Supported: replaces, timer
188Content-Length: 0
189
190
191---
192Found peer '111' for '111' from 79.197.196.90:23710
193Found RTP audio format 0
194Found RTP audio format 8
195Found RTP audio format 101
196Found audio description format telephone-event for ID 101
197Capabilities: us - 0x50e (gsm|ulaw|alaw|g729|ilbc), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)
198Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
199Peer audio RTP is at port 192.168.178.103:63500
200Looking for 222 in Sip-Out (domain sogo.dyndns.org)
20181-89-105-39*CLI>
202<--- Reliably Transmitting (NAT) to 79.197.196.90:23710 --->
203SIP/2.0 404 Not Found
204Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;received=79.197.196.90;rport=23710
205From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
206To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
207Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
208CSeq: 2 INVITE
209Server: Asterisk PBX 1.6.2.6
210Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
211Supported: replaces, timer
212Content-Length: 0
213
214
215<------------>
216[Jun 22 00:25:25] NOTICE[1774]: chan_sip.c:20059 handle_request_invite: Call from '111' to extension '222' rejected because extension not found.
217Scheduling destruction of SIP dialog 'NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.' in 14784 ms (Method: INVITE)
21881-89-105-39*CLI>
219<--- SIP read from UDP:79.197.196.90:23710 --->
220ACK sip:222@sogo.dyndns.org SIP/2.0
221Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;rport
222To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
223From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
224Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
225CSeq: 2 ACK
226Content-Length: 0
227
228
229<------------->
230--- (7 headers 0 lines) ---
23181-89-105-39*CLI>
232<--- SIP read from UDP:79.197.196.90:50156 --->
233SIP/2.0 200 OK
234From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as35e252c9
235Call-ID: 7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39
236CSeq: 102 OPTIONS
237Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2df87bff;rport
238To: <sip:79.197.196.90>
239Contact: <sip:111@192.168.178.48:50156>
240Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
241Supported: replaces
242Accept: application/sdp
243Content-Length: 0
244
245
246<------------->
247--- (11 headers 0 lines) ---
24881-89-105-39*CLI>
249<--- SIP read from UDP:79.197.196.90:50156 --->
250SIP/2.0 200 OK
251From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as5ed30c95
252Call-ID: 444183cb72b4ad4f4589743d62d03113@81.89.105.39
253CSeq: 102 OPTIONS
254Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK1fcc49b5;rport
255To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
256Contact: <sip:111@192.168.178.48:50156>
257Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
258Supported: replaces
259Accept: application/sdp
260Content-Length: 0
261
262
263<------------->
264--- (11 headers 0 lines) ---
265Really destroying SIP dialog '444183cb72b4ad4f4589743d62d03113@81.89.105.39' Method: OPTIONS
26681-89-105-39*CLI>
267<--- SIP read from UDP:79.197.196.90:50156 --->
268SIP/2.0 200 OK
269From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as3041f6d4
270Call-ID: 5c9475654943859459afd76806e9e4b4@81.89.105.39
271CSeq: 102 OPTIONS
272Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK155bba40;rport
273To: <sip:79.197.196.90>
274Contact: <sip:111@192.168.178.48:50156>
275Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
276Supported: replaces
277Accept: application/sdp
278Content-Length: 0
279
280
281<------------->
282--- (11 headers 0 lines) ---
28381-89-105-39*CLI>
284<--- SIP read from UDP:79.197.196.90:50156 --->
285SIP/2.0 200 OK
286From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as72354774
287Call-ID: 1c4d99db22677e7f4005407467e7d0a2@81.89.105.39
288CSeq: 102 OPTIONS
289Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2bedb322;rport
290To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
291Contact: <sip:111@192.168.178.48:50156>
292Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
293Supported: replaces
294Accept: application/sdp
295Content-Length: 0
296
297
298<------------->
299--- (11 headers 0 lines) ---
300Really destroying SIP dialog '1c4d99db22677e7f4005407467e7d0a2@81.89.105.39' Method: OPTIONS