Advertisement
Guest User

Untitled

a guest
Jun 1st, 2017
536
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.22 KB | None | 0 0
  1. CREATE 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.  
  16. INSERT 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.  
  22. troying SIP dialog '5dbdcb5d1b287b390dc106ae6947a3f8@81.89.105.39' Method: OPTIONS
  23. 81-89-105-39*CLI>
  24. <--- SIP read from UDP:79.197.196.90:23710 --->
  25. INVITE sip:222@sogo.dyndns.org SIP/2.0
  26. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;rport
  27. Max-Forwards: 70
  28. Contact: <sip:111@79.197.196.90:23710>
  29. To: "222"<sip:222@sogo.dyndns.org>
  30. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  31. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  32. CSeq: 1 INVITE
  33. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  34. Content-Type: application/sdp
  35. User-Agent: X-Lite release 1014k stamp 56015
  36. Content-Length: 345
  37.  
  38. v=0
  39. o=- 2 2 IN IP4 192.168.178.103
  40. s=CounterPath X-Lite 3.0
  41. c=IN IP4 192.168.178.103
  42. t=0 0
  43. m=audio 63500 RTP/AVP 0 8 101
  44. a=fmtp:101 0-15
  45. a=rtpmap:101 telephone-event/8000
  46. a=alt:1 3 : 71BqR3rm eptGCRIn 192.168.178.103 63500
  47. a=alt:2 2 : 6Ja8YDVP lbycaeA5 172.16.188.1 63500
  48. a=alt:3 1 : e/hKKwoL 9GGvwtRA 192.168.167.1 63500
  49. a=sendrecv
  50.  
  51. <------------->
  52. --- (12 headers 12 lines) ---
  53. == Using SIP RTP CoS mark 5
  54. Sending to 79.197.196.90 : 23710 (NAT)
  55. Using INVITE request as basis request - NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  56. Reliably Transmitting (NAT) to 79.197.196.90:50156:
  57. OPTIONS sip:79.197.196.90 SIP/2.0
  58. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2df87bff;rport
  59. Max-Forwards: 70
  60. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as35e252c9
  61. To: <sip:79.197.196.90>
  62. Contact: <sip:asterisk@81.89.105.39>
  63. Call-ID: 7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39
  64. CSeq: 102 OPTIONS
  65. User-Agent: Asterisk PBX 1.6.2.6
  66. Date: Mon, 21 Jun 2010 20:25:25 GMT
  67. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  68. Supported: replaces, timer
  69. Content-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
  74. Really destroying SIP dialog '7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39' Method: OPTIONS
  75. Reliably Transmitting (NAT) to 79.197.196.90:50156:
  76. OPTIONS sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C SIP/2.0
  77. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK1fcc49b5;rport
  78. Max-Forwards: 70
  79. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as5ed30c95
  80. To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
  81. Contact: <sip:asterisk@81.89.105.39>
  82. Call-ID: 444183cb72b4ad4f4589743d62d03113@81.89.105.39
  83. CSeq: 102 OPTIONS
  84. User-Agent: Asterisk PBX 1.6.2.6
  85. Date: Mon, 21 Jun 2010 20:25:25 GMT
  86. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  87. Supported: replaces, timer
  88. Content-Length: 0
  89.  
  90.  
  91. ---
  92. Found peer '111' for '111' from 79.197.196.90:23710
  93. 81-89-105-39*CLI>
  94. <--- Reliably Transmitting (NAT) to 79.197.196.90:23710 --->
  95. SIP/2.0 401 Unauthorized
  96. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;received=79.197.196.90;rport=23710
  97. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  98. To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
  99. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  100. CSeq: 1 INVITE
  101. Server: Asterisk PBX 1.6.2.6
  102. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  103. Supported: replaces, timer
  104. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7fd38018"
  105. Content-Length: 0
  106.  
  107.  
  108. <------------>
  109. Scheduling destruction of SIP dialog 'NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.' in 14784 ms (Method: INVITE)
  110. 81-89-105-39*CLI>
  111. <--- SIP read from UDP:79.197.196.90:23710 --->
  112. ACK sip:222@sogo.dyndns.org SIP/2.0
  113. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-8f4d687d8dc71476-1---d8754z-;rport
  114. To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
  115. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  116. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  117. CSeq: 1 ACK
  118. Content-Length: 0
  119.  
  120.  
  121. <------------->
  122. --- (7 headers 0 lines) ---
  123. 81-89-105-39*CLI>
  124. <--- SIP read from UDP:79.197.196.90:23710 --->
  125. INVITE sip:222@sogo.dyndns.org SIP/2.0
  126. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;rport
  127. Max-Forwards: 70
  128. Contact: <sip:111@79.197.196.90:23710>
  129. To: "222"<sip:222@sogo.dyndns.org>
  130. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  131. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  132. CSeq: 2 INVITE
  133. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  134. Content-Type: application/sdp
  135. User-Agent: X-Lite release 1014k stamp 56015
  136. Authorization: Digest username="111",realm="asterisk",nonce="7fd38018",uri="sip:222@sogo.dyndns.org",response="fcbac3a14eeb1b032ca83a6ab782f4d4",algorithm=MD5
  137. Content-Length: 345
  138.  
  139. v=0
  140. o=- 2 2 IN IP4 192.168.178.103
  141. s=CounterPath X-Lite 3.0
  142. c=IN IP4 192.168.178.103
  143. t=0 0
  144. m=audio 63500 RTP/AVP 0 8 101
  145. a=fmtp:101 0-15
  146. a=rtpmap:101 telephone-event/8000
  147. a=alt:1 3 : 71BqR3rm eptGCRIn 192.168.178.103 63500
  148. a=alt:2 2 : 6Ja8YDVP lbycaeA5 172.16.188.1 63500
  149. a=alt:3 1 : e/hKKwoL 9GGvwtRA 192.168.167.1 63500
  150. a=sendrecv
  151.  
  152. <------------->
  153. --- (13 headers 12 lines) ---
  154. Sending to 79.197.196.90 : 23710 (NAT)
  155. Using INVITE request as basis request - NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  156. Reliably Transmitting (NAT) to 79.197.196.90:50156:
  157. OPTIONS sip:79.197.196.90 SIP/2.0
  158. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK155bba40;rport
  159. Max-Forwards: 70
  160. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as3041f6d4
  161. To: <sip:79.197.196.90>
  162. Contact: <sip:asterisk@81.89.105.39>
  163. Call-ID: 5c9475654943859459afd76806e9e4b4@81.89.105.39
  164. CSeq: 102 OPTIONS
  165. User-Agent: Asterisk PBX 1.6.2.6
  166. Date: Mon, 21 Jun 2010 20:25:25 GMT
  167. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  168. Supported: replaces, timer
  169. Content-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
  174. Really destroying SIP dialog '5c9475654943859459afd76806e9e4b4@81.89.105.39' Method: OPTIONS
  175. Reliably Transmitting (NAT) to 79.197.196.90:50156:
  176. OPTIONS sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C SIP/2.0
  177. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2bedb322;rport
  178. Max-Forwards: 70
  179. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as72354774
  180. To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
  181. Contact: <sip:asterisk@81.89.105.39>
  182. Call-ID: 1c4d99db22677e7f4005407467e7d0a2@81.89.105.39
  183. CSeq: 102 OPTIONS
  184. User-Agent: Asterisk PBX 1.6.2.6
  185. Date: Mon, 21 Jun 2010 20:25:25 GMT
  186. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  187. Supported: replaces, timer
  188. Content-Length: 0
  189.  
  190.  
  191. ---
  192. Found peer '111' for '111' from 79.197.196.90:23710
  193. Found RTP audio format 0
  194. Found RTP audio format 8
  195. Found RTP audio format 101
  196. Found audio description format telephone-event for ID 101
  197. Capabilities: us - 0x50e (gsm|ulaw|alaw|g729|ilbc), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)
  198. Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
  199. Peer audio RTP is at port 192.168.178.103:63500
  200. Looking for 222 in Sip-Out (domain sogo.dyndns.org)
  201. 81-89-105-39*CLI>
  202. <--- Reliably Transmitting (NAT) to 79.197.196.90:23710 --->
  203. SIP/2.0 404 Not Found
  204. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;received=79.197.196.90;rport=23710
  205. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  206. To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
  207. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  208. CSeq: 2 INVITE
  209. Server: Asterisk PBX 1.6.2.6
  210. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
  211. Supported: replaces, timer
  212. Content-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.
  217. Scheduling destruction of SIP dialog 'NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.' in 14784 ms (Method: INVITE)
  218. 81-89-105-39*CLI>
  219. <--- SIP read from UDP:79.197.196.90:23710 --->
  220. ACK sip:222@sogo.dyndns.org SIP/2.0
  221. Via: SIP/2.0/UDP 192.168.178.103:23710;branch=z9hG4bK-d8754z-47d5402d60ba356f-1---d8754z-;rport
  222. To: "222"<sip:222@sogo.dyndns.org>;tag=as56962c64
  223. From: "111"<sip:111@sogo.dyndns.org>;tag=71ef9721
  224. Call-ID: NWEwMmUwYTJjNWQ5NGUyMDE1Nzk0ZGFhYTVlMTlmMGU.
  225. CSeq: 2 ACK
  226. Content-Length: 0
  227.  
  228.  
  229. <------------->
  230. --- (7 headers 0 lines) ---
  231. 81-89-105-39*CLI>
  232. <--- SIP read from UDP:79.197.196.90:50156 --->
  233. SIP/2.0 200 OK
  234. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as35e252c9
  235. Call-ID: 7a27a1cf38ef07871fe473a92e2bc81a@81.89.105.39
  236. CSeq: 102 OPTIONS
  237. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2df87bff;rport
  238. To: <sip:79.197.196.90>
  239. Contact: <sip:111@192.168.178.48:50156>
  240. Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
  241. Supported: replaces
  242. Accept: application/sdp
  243. Content-Length: 0
  244.  
  245.  
  246. <------------->
  247. --- (11 headers 0 lines) ---
  248. 81-89-105-39*CLI>
  249. <--- SIP read from UDP:79.197.196.90:50156 --->
  250. SIP/2.0 200 OK
  251. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as5ed30c95
  252. Call-ID: 444183cb72b4ad4f4589743d62d03113@81.89.105.39
  253. CSeq: 102 OPTIONS
  254. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK1fcc49b5;rport
  255. To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
  256. Contact: <sip:111@192.168.178.48:50156>
  257. Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
  258. Supported: replaces
  259. Accept: application/sdp
  260. Content-Length: 0
  261.  
  262.  
  263. <------------->
  264. --- (11 headers 0 lines) ---
  265. Really destroying SIP dialog '444183cb72b4ad4f4589743d62d03113@81.89.105.39' Method: OPTIONS
  266. 81-89-105-39*CLI>
  267. <--- SIP read from UDP:79.197.196.90:50156 --->
  268. SIP/2.0 200 OK
  269. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as3041f6d4
  270. Call-ID: 5c9475654943859459afd76806e9e4b4@81.89.105.39
  271. CSeq: 102 OPTIONS
  272. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK155bba40;rport
  273. To: <sip:79.197.196.90>
  274. Contact: <sip:111@192.168.178.48:50156>
  275. Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
  276. Supported: replaces
  277. Accept: application/sdp
  278. Content-Length: 0
  279.  
  280.  
  281. <------------->
  282. --- (11 headers 0 lines) ---
  283. 81-89-105-39*CLI>
  284. <--- SIP read from UDP:79.197.196.90:50156 --->
  285. SIP/2.0 200 OK
  286. From: "asterisk" <sip:asterisk@81.89.105.39>;tag=as72354774
  287. Call-ID: 1c4d99db22677e7f4005407467e7d0a2@81.89.105.39
  288. CSeq: 102 OPTIONS
  289. Via: SIP/2.0/UDP 81.89.105.39:5060;branch=z9hG4bK2bedb322;rport
  290. To: <sip:111@192.168.178.48:50156;rinstance=3A63A2E61FF2D7B80B4C>
  291. Contact: <sip:111@192.168.178.48:50156>
  292. Allow: OPTIONS, INVITE, ACK, CANCEL, BYE
  293. Supported: replaces
  294. Accept: application/sdp
  295. Content-Length: 0
  296.  
  297.  
  298. <------------->
  299. --- (11 headers 0 lines) ---
  300. Really destroying SIP dialog '1c4d99db22677e7f4005407467e7d0a2@81.89.105.39' Method: OPTIONS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement