Advertisement
mobrien2

For PitzKey to help with FreePBX Dial Cmd g flag issue

Dec 16th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.69 KB | None | 0 0
  1. [root@ip-172-31-41-181 ec2-user]# tail -f /var/log/asterisk/full
  2. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  3. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  4. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  5. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  6. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  7. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  8. [2020-12-16 16:11:18] DEBUG[26471] manager.c: Running action 'Command'
  9. [2020-12-16 16:11:18] DEBUG[28077] res_pjsip_registrar.c: Woke up at 1608135078 Interval: 30
  10. [2020-12-16 16:11:18] DEBUG[28077] res_pjsip_registrar.c: Expiring 0 contacts
  11. [2020-12-16 16:11:33] DEBUG[26526] manager.c: Running action 'Login'
  12. [2020-12-16 16:11:46] DEBUG[28116] pbx_spool.c: Filename: /var/spool/asterisk/outgoing/launch_call.call, Retries: 0, max: 0
  13. [2020-12-16 16:11:46] DEBUG[28116] pbx_spool.c: Outgoing LOCAL/9111010001@911-sim-calls/n: StartRetry
  14. [2020-12-16 16:11:46] VERBOSE[26533] pbx_spool.c: Attempting call on LOCAL/9111010001@911-sim-calls/n for 9111010001@911-sim-calls:1 (Retry 1)
  15. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Creating topic. name: channel:1608135106.2148, detail:
  16. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Topic 'channel:1608135106.2148': 0x7f3180002590 created
  17. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Creating topic. name: cache:2162/channel:1608135106.2148, detail:
  18. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Topic 'cache:2162/channel:1608135106.2148': 0x7f318000ffb0 created
  19. [2020-12-16 16:11:46] DEBUG[26533] channel.c: Channel 0x7f3180017050 'Local/9111010001@911-sim-calls-0000005a;1' allocated
  20. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Creating topic. name: channel:1608135106.2149, detail:
  21. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Topic 'channel:1608135106.2149': 0x7f3180010fa0 created
  22. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Creating topic. name: cache:2163/channel:1608135106.2149, detail:
  23. [2020-12-16 16:11:46] DEBUG[26533] stasis.c: Topic 'cache:2163/channel:1608135106.2149': 0x7f31800150b0 created
  24. [2020-12-16 16:11:46] DEBUG[26533] channel.c: Channel 0x7f318001d680 'Local/9111010001@911-sim-calls-0000005a;2' allocated
  25. [2020-12-16 16:11:46] VERBOSE[26533] dial.c: Called 9111010001@911-sim-calls/n
  26. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  27. Event: Newchannel
  28. Privilege: call,all
  29. Channel: Local/9111010001@911-sim-calls-0000005a;1
  30. ChannelState: 0
  31. ChannelStateDesc: Down
  32. CallerIDNum: <unknown>
  33. CallerIDName: <unknown>
  34. ConnectedLineNum: <unknown>
  35. ConnectedLineName: <unknown>
  36. Language: en
  37. AccountCode:
  38. Context: 911-sim-calls
  39. Exten: 9111010001
  40. Priority: 1
  41. Uniqueid: 1608135106.2148
  42. Linkedid: 1608135106.2148
  43.  
  44.  
  45. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  46. Event: Newchannel
  47. Privilege: call,all
  48. Channel: Local/9111010001@911-sim-calls-0000005a;2
  49. ChannelState: 4
  50. ChannelStateDesc: Ring
  51. CallerIDNum: <unknown>
  52. CallerIDName: <unknown>
  53. ConnectedLineNum: <unknown>
  54. ConnectedLineName: <unknown>
  55. Language: en
  56. AccountCode:
  57. Context: 911-sim-calls
  58. Exten: 9111010001
  59. Priority: 1
  60. Uniqueid: 1608135106.2149
  61. Linkedid: 1608135106.2148
  62.  
  63.  
  64. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  65. Event: Newexten
  66. Privilege: dialplan,all
  67. Channel: Local/9111010001@911-sim-calls-0000005a;1
  68. ChannelState: 0
  69. ChannelStateDesc: Down
  70. CallerIDNum: <unknown>
  71. CallerIDName: <unknown>
  72. ConnectedLineNum: <unknown>
  73. ConnectedLineName: <unknown>
  74. Language: en
  75. AccountCode:
  76. Context: 911-sim-calls
  77. Exten: 9111010001
  78. Priority: 1
  79. Uniqueid: 1608135106.2148
  80. Linkedid: 1608135106.2148
  81. Extension: 9111010001
  82. Application: AppDial2
  83. AppData: (Outgoing Line)
  84.  
  85.  
  86. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  87. Event: VarSet
  88. Privilege: dialplan,all
  89. Channel: Local/9111010001@911-sim-calls-0000005a;1
  90. ChannelState: 0
  91. ChannelStateDesc: Down
  92. CallerIDNum: <unknown>
  93. CallerIDName: <unknown>
  94. ConnectedLineNum: <unknown>
  95. ConnectedLineName: <unknown>
  96. Language: en
  97. AccountCode:
  98. Context: 911-sim-calls
  99. Exten: 9111010001
  100. Priority: 1
  101. Uniqueid: 1608135106.2148
  102. Linkedid: 1608135106.2148
  103. Variable: MAX_NUM_CALLS
  104. Value: 3
  105.  
  106.  
  107. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  108. Event: VarSet
  109. Privilege: dialplan,all
  110. Channel: Local/9111010001@911-sim-calls-0000005a;1
  111. ChannelState: 0
  112. ChannelStateDesc: Down
  113. CallerIDNum: <unknown>
  114. CallerIDName: <unknown>
  115. ConnectedLineNum: <unknown>
  116. ConnectedLineName: <unknown>
  117. Language: en
  118. AccountCode:
  119. Context: 911-sim-calls
  120. Exten: 9111010001
  121. Priority: 1
  122. Uniqueid: 1608135106.2148
  123. Linkedid: 1608135106.2148
  124. Variable: PSAP_MNEMONIC
  125. Value: wspbpdtcp
  126.  
  127.  
  128. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  129. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  130. Event: VarSet
  131. Privilege: dialplan,all
  132. Channel: Local/9111010001@911-sim-calls-0000005a;1
  133. ChannelState: 0
  134. ChannelStateDesc: Down
  135. CallerIDNum: <unknown>
  136. CallerIDName: <unknown>
  137. ConnectedLineNum: <unknown>
  138. ConnectedLineName: <unknown>
  139. Language: en
  140. AccountCode:
  141. Context: 911-sim-calls
  142. Exten: 9111010001
  143. Priority: 1
  144. Uniqueid: 1608135106.2148
  145. Linkedid: 1608135106.2148
  146. Variable: AST_OUTGOING_ATTEMPT
  147. Value: 1
  148.  
  149.  
  150. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  151. Event: NewCallerid
  152. Privilege: call,all
  153. Channel: Local/9111010001@911-sim-calls-0000005a;1
  154. ChannelState: 0
  155. ChannelStateDesc: Down
  156. CallerIDNum: 5617672434
  157. CallerIDName: <unknown>
  158. ConnectedLineNum: <unknown>
  159. ConnectedLineName: <unknown>
  160. Language: en
  161. AccountCode:
  162. Context: 911-sim-calls
  163. Exten: 9111010001
  164. Priority: 1
  165. Uniqueid: 1608135106.2148
  166. Linkedid: 1608135106.2148
  167. CID-CallingPres: 0 (Presentation Allowed, Not Screened)
  168.  
  169.  
  170. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  171. Event: NewConnectedLine
  172. Privilege: call,all
  173. Channel: Local/9111010001@911-sim-calls-0000005a;1
  174. ChannelState: 0
  175. ChannelStateDesc: Down
  176. CallerIDNum: 5617672434
  177. CallerIDName: <unknown>
  178. ConnectedLineNum: 5617672434
  179. ConnectedLineName: <unknown>
  180. Language: en
  181. AccountCode:
  182. Context: 911-sim-calls
  183. Exten: 9111010001
  184. Priority: 1
  185. Uniqueid: 1608135106.2148
  186. Linkedid: 1608135106.2148
  187.  
  188.  
  189. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  190. Event: VarSet
  191. Privilege: dialplan,all
  192. Channel: Local/9111010001@911-sim-calls-0000005a;2
  193. ChannelState: 4
  194. ChannelStateDesc: Ring
  195. CallerIDNum: <unknown>
  196. CallerIDName: <unknown>
  197. ConnectedLineNum: <unknown>
  198. ConnectedLineName: <unknown>
  199. Language: en
  200. AccountCode:
  201. Context: 911-sim-calls
  202. Exten: 9111010001
  203. Priority: 1
  204. Uniqueid: 1608135106.2149
  205. Linkedid: 1608135106.2148
  206. Variable: AST_OUTGOING_ATTEMPT
  207. Value: 1
  208.  
  209.  
  210. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  211. Event: VarSet
  212. Privilege: dialplan,all
  213. Channel: Local/9111010001@911-sim-calls-0000005a;2
  214. ChannelState: 4
  215. ChannelStateDesc: Ring
  216. CallerIDNum: <unknown>
  217. CallerIDName: <unknown>
  218. ConnectedLineNum: <unknown>
  219. ConnectedLineName: <unknown>
  220. Language: en
  221. AccountCode:
  222. Context: 911-sim-calls
  223. Exten: 9111010001
  224. Priority: 1
  225. Uniqueid: 1608135106.2149
  226. Linkedid: 1608135106.2148
  227. Variable: PSAP_MNEMONIC
  228. Value: wspbpdtcp
  229.  
  230.  
  231. [2020-12-16 16:11:46] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_START', {ts '2020-12-16 16:11:46.725876'}, '', '', '', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;1', '', '', 3, '', '1608135106.2148', '1608135106.2148', '', '', '')]
  232. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  233. Event: VarSet
  234. Privilege: dialplan,all
  235. Channel: Local/9111010001@911-sim-calls-0000005a;2
  236. ChannelState: 4
  237. ChannelStateDesc: Ring
  238. CallerIDNum: <unknown>
  239. CallerIDName: <unknown>
  240. ConnectedLineNum: <unknown>
  241. ConnectedLineName: <unknown>
  242. Language: en
  243. AccountCode:
  244. Context: 911-sim-calls
  245. Exten: 9111010001
  246. Priority: 1
  247. Uniqueid: 1608135106.2149
  248. Linkedid: 1608135106.2148
  249. Variable: MAX_NUM_CALLS
  250. Value: 3
  251.  
  252.  
  253. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Set'
  254. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:1] Set("Local/9111010001@911-sim-calls-0000005a;2", "NUM_CALLS=0") in new stack
  255. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  256. Event: NewCallerid
  257. Privilege: call,all
  258. Channel: Local/9111010001@911-sim-calls-0000005a;2
  259. ChannelState: 4
  260. ChannelStateDesc: Ring
  261. CallerIDNum: 5617672434
  262. CallerIDName: <unknown>
  263. ConnectedLineNum: 5617672434
  264. ConnectedLineName: <unknown>
  265. Language: en
  266. AccountCode:
  267. Context: 911-sim-calls
  268. Exten: 9111010001
  269. Priority: 1
  270. Uniqueid: 1608135106.2149
  271. Linkedid: 1608135106.2148
  272. CID-CallingPres: 0 (Presentation Allowed, Not Screened)
  273.  
  274.  
  275. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  276. Event: NewConnectedLine
  277. Privilege: call,all
  278. Channel: Local/9111010001@911-sim-calls-0000005a;2
  279. ChannelState: 4
  280. ChannelStateDesc: Ring
  281. CallerIDNum: 5617672434
  282. CallerIDName: <unknown>
  283. ConnectedLineNum: 5617672434
  284. ConnectedLineName: <unknown>
  285. Language: en
  286. AccountCode:
  287. Context: 911-sim-calls
  288. Exten: 9111010001
  289. Priority: 1
  290. Uniqueid: 1608135106.2149
  291. Linkedid: 1608135106.2148
  292.  
  293.  
  294. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  295. Event: LocalBridge
  296. Privilege: call,all
  297. LocalOneChannel: Local/9111010001@911-sim-calls-0000005a;1
  298. LocalOneChannelState: 0
  299. LocalOneChannelStateDesc: Down
  300. LocalOneCallerIDNum: 5617672434
  301. LocalOneCallerIDName: <unknown>
  302. LocalOneConnectedLineNum: 5617672434
  303. LocalOneConnectedLineName: <unknown>
  304. LocalOneLanguage: en
  305. LocalOneAccountCode:
  306. LocalOneContext: 911-sim-calls
  307. LocalOneExten: 9111010001
  308. LocalOnePriority: 1
  309. LocalOneUniqueid: 1608135106.2148
  310. LocalOneLinkedid: 1608135106.2148
  311. LocalTwoChannel: Local/9111010001@911-sim-calls-0000005a;2
  312. LocalTwoChannelState: 4
  313. LocalTwoChannelStateDesc: Ring
  314. LocalTwoCallerIDNum: 5617672434
  315. LocalTwoCallerIDName: <unknown>
  316. LocalTwoConnectedLineNum: 5617672434
  317. LocalTwoConnectedLineName: <unknown>
  318. LocalTwoLanguage: en
  319. LocalTwoAccountCode:
  320. LocalTwoContext: 911-sim-calls
  321. LocalTwoExten: 9111010001
  322. LocalTwoPriority: 1
  323. LocalTwoUniqueid: 1608135106.2149
  324. LocalTwoLinkedid: 1608135106.2148
  325. Context: 911-sim-calls
  326. Exten: 9111010001
  327. LocalOptimization: No
  328.  
  329.  
  330. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  331. Event: DialBegin
  332. Privilege: call,all
  333. DestChannel: Local/9111010001@911-sim-calls-0000005a;1
  334. DestChannelState: 0
  335. DestChannelStateDesc: Down
  336. DestCallerIDNum: 5617672434
  337. DestCallerIDName: <unknown>
  338. DestConnectedLineNum: 5617672434
  339. DestConnectedLineName: <unknown>
  340. DestLanguage: en
  341. DestAccountCode:
  342. DestContext: 911-sim-calls
  343. DestExten: 9111010001
  344. DestPriority: 1
  345. DestUniqueid: 1608135106.2148
  346. DestLinkedid: 1608135106.2148
  347. DialString: 9111010001@911-sim-calls/n
  348.  
  349.  
  350. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'MAX_NUM_CALLS' is '3'
  351. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'EXTEN' is '9111010001'
  352. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Function CALLERID(num) result is '5617672434'
  353. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'NoOp'
  354. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:2] NoOp("Local/9111010001@911-sim-calls-0000005a;2", "Caller matched 9111010001 bot caller pattern. Call and stay on line as long as the call-taker doesn't hang up. If call-taker hangs up, repeat 3 time. Extension to dial = 9111010001, CID is 5617672434.") in new stack
  355. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'NUM_CALLS' is '0'
  356. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Expression result is '1'
  357. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Set'
  358. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:3] Set("Local/9111010001@911-sim-calls-0000005a;2", "NUM_CALLS=1") in new stack
  359. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'NUM_CALLS' is '1'
  360. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Verbose'
  361. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:4] Verbose("Local/9111010001@911-sim-calls-0000005a;2", "NUM_CALLS = 1") in new stack
  362. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] app_verbose.c: NUM_CALLS = 1
  363. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'MAX_NUM_CALLS' is '3'
  364. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Verbose'
  365. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:5] Verbose("Local/9111010001@911-sim-calls-0000005a;2", "MAX_NUM_CALLS = 3") in new stack
  366. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] app_verbose.c: MAX_NUM_CALLS = 3
  367. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'NUM_CALLS' is '1'
  368. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'MAX_NUM_CALLS' is '3'
  369. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Expression result is '0'
  370. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Verbose'
  371. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:6] Verbose("Local/9111010001@911-sim-calls-0000005a;2", "NUM_CALLS > MAX_NUM_CALLS = 0") in new stack
  372. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] app_verbose.c: NUM_CALLS > MAX_NUM_CALLS = 0
  373. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'NUM_CALLS' is '1'
  374. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'MAX_NUM_CALLS' is '3'
  375. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Expression result is '0'
  376. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'GotoIf'
  377. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:7] GotoIf("Local/9111010001@911-sim-calls-0000005a;2", "0?endcall") in new stack
  378. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_builtins.c: Not taking any branch
  379. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx_variables.c: Result of 'PSAP_MNEMONIC' is 'wspbpdtcp'
  380. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] pbx.c: Launching 'Dial'
  381. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] pbx.c: Executing [9111010001@911-sim-calls:8] Dial("Local/9111010001@911-sim-calls-0000005a;2", "PJSIP/wspbpdtcp@call-sim-911-trunk,300,gA(spam)") in new stack
  382. [2020-12-16 16:11:46] DEBUG[28062] threadpool.c: Increasing threadpool pjsip/pool's size by 5
  383. [2020-12-16 16:11:46] DEBUG[26535] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
  384. [2020-12-16 16:11:46] DEBUG[26535] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
  385. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  386. Event: Newexten
  387. Privilege: dialplan,all
  388. Channel: Local/9111010001@911-sim-calls-0000005a;2
  389. ChannelState: 4
  390. ChannelStateDesc: Ring
  391. CallerIDNum: 5617672434
  392. CallerIDName: <unknown>
  393. ConnectedLineNum: 5617672434
  394. ConnectedLineName: <unknown>
  395. Language: en
  396. AccountCode:
  397. Context: 911-sim-calls
  398. Exten: 9111010001
  399. Priority: 1
  400. Uniqueid: 1608135106.2149
  401. Linkedid: 1608135106.2148
  402. Extension: 9111010001
  403. Application: Set
  404. AppData: NUM_CALLS=0
  405.  
  406.  
  407. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  408. Event: VarSet
  409. Privilege: dialplan,all
  410. Channel: Local/9111010001@911-sim-calls-0000005a;2
  411. ChannelState: 4
  412. ChannelStateDesc: Ring
  413. CallerIDNum: 5617672434
  414. CallerIDName: <unknown>
  415. ConnectedLineNum: 5617672434
  416. ConnectedLineName: <unknown>
  417. Language: en
  418. AccountCode:
  419. Context: 911-sim-calls
  420. Exten: 9111010001
  421. Priority: 1
  422. Uniqueid: 1608135106.2149
  423. Linkedid: 1608135106.2148
  424. Variable: NUM_CALLS
  425. Value: 0
  426.  
  427.  
  428. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  429. Event: Newexten
  430. Privilege: dialplan,all
  431. Channel: Local/9111010001@911-sim-calls-0000005a;2
  432. ChannelState: 4
  433. ChannelStateDesc: Ring
  434. CallerIDNum: 5617672434
  435. CallerIDName: <unknown>
  436. ConnectedLineNum: 5617672434
  437. ConnectedLineName: <unknown>
  438. Language: en
  439. AccountCode:
  440. Context: 911-sim-calls
  441. Exten: 9111010001
  442. Priority: 2
  443. Uniqueid: 1608135106.2149
  444. Linkedid: 1608135106.2148
  445. Extension: 9111010001
  446. Application: NoOp
  447. AppData: Caller matched 9111010001 bot caller pattern. Call and stay on line as long as the call-taker doesn't hang up. If call-taker hangs up, repeat 3 time. Extension to dial = 9111010001, CID is 5617672434.
  448.  
  449.  
  450. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  451. Event: Newexten
  452. Privilege: dialplan,all
  453. Channel: Local/9111010001@911-sim-calls-0000005a;2
  454. ChannelState: 4
  455. ChannelStateDesc: Ring
  456. CallerIDNum: 5617672434
  457. CallerIDName: <unknown>
  458. ConnectedLineNum: 5617672434
  459. ConnectedLineName: <unknown>
  460. Language: en
  461. AccountCode:
  462. Context: 911-sim-calls
  463. Exten: 9111010001
  464. Priority: 3
  465. Uniqueid: 1608135106.2149
  466. Linkedid: 1608135106.2148
  467. Extension: 9111010001
  468. Application: Set
  469. AppData: NUM_CALLS=1
  470.  
  471.  
  472. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  473. Event: VarSet
  474. Privilege: dialplan,all
  475. Channel: Local/9111010001@911-sim-calls-0000005a;2
  476. ChannelState: 4
  477. ChannelStateDesc: Ring
  478. CallerIDNum: 5617672434
  479. CallerIDName: <unknown>
  480. ConnectedLineNum: 5617672434
  481. ConnectedLineName: <unknown>
  482. Language: en
  483. AccountCode:
  484. Context: 911-sim-calls
  485. Exten: 9111010001
  486. Priority: 3
  487. Uniqueid: 1608135106.2149
  488. Linkedid: 1608135106.2148
  489. Variable: NUM_CALLS
  490. Value: 1
  491.  
  492.  
  493. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  494. Event: Newexten
  495. Privilege: dialplan,all
  496. Channel: Local/9111010001@911-sim-calls-0000005a;2
  497. ChannelState: 4
  498. ChannelStateDesc: Ring
  499. CallerIDNum: 5617672434
  500. CallerIDName: <unknown>
  501. ConnectedLineNum: 5617672434
  502. ConnectedLineName: <unknown>
  503. Language: en
  504. AccountCode:
  505. Context: 911-sim-calls
  506. Exten: 9111010001
  507. Priority: 4
  508. Uniqueid: 1608135106.2149
  509. Linkedid: 1608135106.2148
  510. Extension: 9111010001
  511. Application: Verbose
  512. AppData: NUM_CALLS = 1
  513.  
  514.  
  515. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  516. Event: Newexten
  517. Privilege: dialplan,all
  518. Channel: Local/9111010001@911-sim-calls-0000005a;2
  519. ChannelState: 4
  520. ChannelStateDesc: Ring
  521. CallerIDNum: 5617672434
  522. CallerIDName: <unknown>
  523. ConnectedLineNum: 5617672434
  524. ConnectedLineName: <unknown>
  525. Language: en
  526. AccountCode:
  527. Context: 911-sim-calls
  528. Exten: 9111010001
  529. Priority: 5
  530. Uniqueid: 1608135106.2149
  531. Linkedid: 1608135106.2148
  532. Extension: 9111010001
  533. Application: Verbose
  534. AppData: MAX_NUM_CALLS = 3
  535.  
  536.  
  537. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  538. Event: Newexten
  539. Privilege: dialplan,all
  540. Channel: Local/9111010001@911-sim-calls-0000005a;2
  541. ChannelState: 4
  542. ChannelStateDesc: Ring
  543. CallerIDNum: 5617672434
  544. CallerIDName: <unknown>
  545. ConnectedLineNum: 5617672434
  546. ConnectedLineName: <unknown>
  547. Language: en
  548. AccountCode:
  549. Context: 911-sim-calls
  550. Exten: 9111010001
  551. Priority: 6
  552. Uniqueid: 1608135106.2149
  553. Linkedid: 1608135106.2148
  554. Extension: 9111010001
  555. Application: Verbose
  556. AppData: NUM_CALLS > MAX_NUM_CALLS = 0
  557.  
  558.  
  559. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  560. Event: Newexten
  561. Privilege: dialplan,all
  562. Channel: Local/9111010001@911-sim-calls-0000005a;2
  563. ChannelState: 4
  564. ChannelStateDesc: Ring
  565. CallerIDNum: 5617672434
  566. CallerIDName: <unknown>
  567. ConnectedLineNum: 5617672434
  568. ConnectedLineName: <unknown>
  569. Language: en
  570. AccountCode:
  571. Context: 911-sim-calls
  572. Exten: 9111010001
  573. Priority: 7
  574. Uniqueid: 1608135106.2149
  575. Linkedid: 1608135106.2148
  576. Extension: 9111010001
  577. Application: GotoIf
  578. AppData: 0?endcall
  579.  
  580.  
  581. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  582. Event: Newexten
  583. Privilege: dialplan,all
  584. Channel: Local/9111010001@911-sim-calls-0000005a;2
  585. ChannelState: 4
  586. ChannelStateDesc: Ring
  587. CallerIDNum: 5617672434
  588. CallerIDName: <unknown>
  589. ConnectedLineNum: 5617672434
  590. ConnectedLineName: <unknown>
  591. Language: en
  592. AccountCode:
  593. Context: 911-sim-calls
  594. Exten: 9111010001
  595. Priority: 8
  596. Uniqueid: 1608135106.2149
  597. Linkedid: 1608135106.2148
  598. Extension: 9111010001
  599. Application: Dial
  600. AppData: PJSIP/wspbpdtcp@call-sim-911-trunk,300,gA(spam)
  601.  
  602.  
  603. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  604. Event: VarSet
  605. Privilege: dialplan,all
  606. Channel: Local/9111010001@911-sim-calls-0000005a;2
  607. ChannelState: 4
  608. ChannelStateDesc: Ring
  609. CallerIDNum: 5617672434
  610. CallerIDName: <unknown>
  611. ConnectedLineNum: 5617672434
  612. ConnectedLineName: <unknown>
  613. Language: en
  614. AccountCode:
  615. Context: 911-sim-calls
  616. Exten: 9111010001
  617. Priority: 8
  618. Uniqueid: 1608135106.2149
  619. Linkedid: 1608135106.2148
  620. Variable: DIALSTATUS
  621. Value:
  622.  
  623.  
  624. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  625. Event: VarSet
  626. Privilege: dialplan,all
  627. Channel: Local/9111010001@911-sim-calls-0000005a;2
  628. ChannelState: 4
  629. ChannelStateDesc: Ring
  630. CallerIDNum: 5617672434
  631. CallerIDName: <unknown>
  632. ConnectedLineNum: 5617672434
  633. ConnectedLineName: <unknown>
  634. Language: en
  635. AccountCode:
  636. Context: 911-sim-calls
  637. Exten: 9111010001
  638. Priority: 8
  639. Uniqueid: 1608135106.2149
  640. Linkedid: 1608135106.2148
  641. Variable: DIALEDPEERNUMBER
  642. Value:
  643.  
  644.  
  645. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  646. Event: VarSet
  647. Privilege: dialplan,all
  648. Channel: Local/9111010001@911-sim-calls-0000005a;2
  649. ChannelState: 4
  650. ChannelStateDesc: Ring
  651. CallerIDNum: 5617672434
  652. CallerIDName: <unknown>
  653. ConnectedLineNum: 5617672434
  654. ConnectedLineName: <unknown>
  655. Language: en
  656. AccountCode:
  657. Context: 911-sim-calls
  658. Exten: 9111010001
  659. Priority: 8
  660. Uniqueid: 1608135106.2149
  661. Linkedid: 1608135106.2148
  662. Variable: DIALEDPEERNAME
  663. Value:
  664.  
  665.  
  666. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  667. Event: VarSet
  668. Privilege: dialplan,all
  669. Channel: Local/9111010001@911-sim-calls-0000005a;2
  670. ChannelState: 4
  671. ChannelStateDesc: Ring
  672. CallerIDNum: 5617672434
  673. CallerIDName: <unknown>
  674. ConnectedLineNum: 5617672434
  675. ConnectedLineName: <unknown>
  676. Language: en
  677. AccountCode:
  678. Context: 911-sim-calls
  679. Exten: 9111010001
  680. Priority: 8
  681. Uniqueid: 1608135106.2149
  682. Linkedid: 1608135106.2148
  683. Variable: ANSWEREDTIME
  684. Value:
  685.  
  686.  
  687. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  688. Event: VarSet
  689. Privilege: dialplan,all
  690. Channel: Local/9111010001@911-sim-calls-0000005a;2
  691. ChannelState: 4
  692. ChannelStateDesc: Ring
  693. CallerIDNum: 5617672434
  694. CallerIDName: <unknown>
  695. ConnectedLineNum: 5617672434
  696. ConnectedLineName: <unknown>
  697. Language: en
  698. AccountCode:
  699. Context: 911-sim-calls
  700. Exten: 9111010001
  701. Priority: 8
  702. Uniqueid: 1608135106.2149
  703. Linkedid: 1608135106.2148
  704. Variable: ANSWEREDTIME_MS
  705. Value:
  706.  
  707.  
  708. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  709. Event: VarSet
  710. Privilege: dialplan,all
  711. Channel: Local/9111010001@911-sim-calls-0000005a;2
  712. ChannelState: 4
  713. ChannelStateDesc: Ring
  714. CallerIDNum: 5617672434
  715. CallerIDName: <unknown>
  716. ConnectedLineNum: 5617672434
  717. ConnectedLineName: <unknown>
  718. Language: en
  719. AccountCode:
  720. Context: 911-sim-calls
  721. Exten: 9111010001
  722. Priority: 8
  723. Uniqueid: 1608135106.2149
  724. Linkedid: 1608135106.2148
  725. Variable: DIALEDTIME
  726. Value:
  727.  
  728.  
  729. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  730. Event: VarSet
  731. Privilege: dialplan,all
  732. Channel: Local/9111010001@911-sim-calls-0000005a;2
  733. ChannelState: 4
  734. ChannelStateDesc: Ring
  735. CallerIDNum: 5617672434
  736. CallerIDName: <unknown>
  737. ConnectedLineNum: 5617672434
  738. ConnectedLineName: <unknown>
  739. Language: en
  740. AccountCode:
  741. Context: 911-sim-calls
  742. Exten: 9111010001
  743. Priority: 8
  744. Uniqueid: 1608135106.2149
  745. Linkedid: 1608135106.2148
  746. Variable: DIALEDTIME_MS
  747. Value:
  748.  
  749.  
  750. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  751. Event: VarSet
  752. Privilege: dialplan,all
  753. Channel: Local/9111010001@911-sim-calls-0000005a;2
  754. ChannelState: 4
  755. ChannelStateDesc: Ring
  756. CallerIDNum: 5617672434
  757. CallerIDName: <unknown>
  758. ConnectedLineNum: 5617672434
  759. ConnectedLineName: <unknown>
  760. Language: en
  761. AccountCode:
  762. Context: 911-sim-calls
  763. Exten: 9111010001
  764. Priority: 8
  765. Uniqueid: 1608135106.2149
  766. Linkedid: 1608135106.2148
  767. Variable: RINGTIME
  768. Value:
  769.  
  770.  
  771. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  772. Event: VarSet
  773. Privilege: dialplan,all
  774. Channel: Local/9111010001@911-sim-calls-0000005a;2
  775. ChannelState: 4
  776. ChannelStateDesc: Ring
  777. CallerIDNum: 5617672434
  778. CallerIDName: <unknown>
  779. ConnectedLineNum: 5617672434
  780. ConnectedLineName: <unknown>
  781. Language: en
  782. AccountCode:
  783. Context: 911-sim-calls
  784. Exten: 9111010001
  785. Priority: 8
  786. Uniqueid: 1608135106.2149
  787. Linkedid: 1608135106.2148
  788. Variable: RINGTIME_MS
  789. Value:
  790.  
  791.  
  792. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  793. Event: VarSet
  794. Privilege: dialplan,all
  795. Channel: Local/9111010001@911-sim-calls-0000005a;2
  796. ChannelState: 4
  797. ChannelStateDesc: Ring
  798. CallerIDNum: 5617672434
  799. CallerIDName: <unknown>
  800. ConnectedLineNum: 5617672434
  801. ConnectedLineName: <unknown>
  802. Language: en
  803. AccountCode:
  804. Context: 911-sim-calls
  805. Exten: 9111010001
  806. Priority: 8
  807. Uniqueid: 1608135106.2149
  808. Linkedid: 1608135106.2148
  809. Variable: PROGRESSTIME
  810. Value:
  811.  
  812.  
  813. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  814. Event: VarSet
  815. Privilege: dialplan,all
  816. Channel: Local/9111010001@911-sim-calls-0000005a;2
  817. ChannelState: 4
  818. ChannelStateDesc: Ring
  819. CallerIDNum: 5617672434
  820. CallerIDName: <unknown>
  821. ConnectedLineNum: 5617672434
  822. ConnectedLineName: <unknown>
  823. Language: en
  824. AccountCode:
  825. Context: 911-sim-calls
  826. Exten: 9111010001
  827. Priority: 8
  828. Uniqueid: 1608135106.2149
  829. Linkedid: 1608135106.2148
  830. Variable: PROGRESSTIME_MS
  831. Value:
  832.  
  833.  
  834. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] stasis.c: Creating topic. name: channel:1608135106.2150, detail:
  835. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] stasis.c: Topic 'channel:1608135106.2150': 0x7f317c142010 created
  836. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] stasis.c: Creating topic. name: cache:2164/channel:1608135106.2150, detail:
  837. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] stasis.c: Topic 'cache:2164/channel:1608135106.2150': 0x7f317c145fe0 created
  838. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel 0x7f317c2953e0 'PJSIP/call-sim-911-trunk-000007b0' allocated
  839. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] app_dial.c: Called PJSIP/wspbpdtcp@call-sim-911-trunk
  840. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel PJSIP/call-sim-911-trunk-000007b0 setting read format path: ulaw -> slin
  841. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel Local/9111010001@911-sim-calls-0000005a;2 setting write format path: slin -> slin
  842. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel Local/9111010001@911-sim-calls-0000005a;2 setting read format path: slin -> slin
  843. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel PJSIP/call-sim-911-trunk-000007b0 setting write format path: slin -> ulaw
  844. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  845. Event: Newchannel
  846. Privilege: call,all
  847. Channel: PJSIP/call-sim-911-trunk-000007b0
  848. ChannelState: 0
  849. ChannelStateDesc: Down
  850. CallerIDNum: <unknown>
  851. CallerIDName: <unknown>
  852. ConnectedLineNum: <unknown>
  853. ConnectedLineName: <unknown>
  854. Language: en
  855. AccountCode:
  856. Context: from-pstn
  857. Exten: s
  858. Priority: 1
  859. Uniqueid: 1608135106.2150
  860. Linkedid: 1608135106.2148
  861.  
  862.  
  863. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '0.0.0.0' into...
  864. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '0.0.0.0' and port ''.
  865. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  866. Event: VarSet
  867. Privilege: dialplan,all
  868. Channel: PJSIP/call-sim-911-trunk-000007b0
  869. ChannelState: 0
  870. ChannelStateDesc: Down
  871. CallerIDNum: <unknown>
  872. CallerIDName: <unknown>
  873. ConnectedLineNum: <unknown>
  874. ConnectedLineName: <unknown>
  875. Language: en
  876. AccountCode:
  877. Context: from-pstn
  878. Exten: s
  879. Priority: 1
  880. Uniqueid: 1608135106.2150
  881. Linkedid: 1608135106.2148
  882. Variable: DIALEDPEERNUMBER
  883. Value: wspbpdtcp@call-sim-911-trunk
  884.  
  885.  
  886. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_sdp_rtp.c: Transport 0.0.0.0-udp bound to 0.0.0.0: Using it for RTP media.
  887. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  888. Event: Newexten
  889. Privilege: dialplan,all
  890. Channel: PJSIP/call-sim-911-trunk-000007b0
  891. ChannelState: 0
  892. ChannelStateDesc: Down
  893. CallerIDNum: 9111010001
  894. CallerIDName: <unknown>
  895. ConnectedLineNum: 5617672434
  896. ConnectedLineName: <unknown>
  897. Language: en
  898. AccountCode:
  899. Context: from-pstn
  900. Exten: 9111010001
  901. Priority: 1
  902. Uniqueid: 1608135106.2150
  903. Linkedid: 1608135106.2148
  904. Extension: 9111010001
  905. Application: AppDial
  906. AppData: (Outgoing Line)
  907.  
  908.  
  909. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Using engine 'asterisk' for RTP instance '0x7f3188002590'
  910. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  911. Event: NewCallerid
  912. Privilege: call,all
  913. Channel: PJSIP/call-sim-911-trunk-000007b0
  914. ChannelState: 0
  915. ChannelStateDesc: Down
  916. CallerIDNum: 9111010001
  917. CallerIDName: <unknown>
  918. ConnectedLineNum: 5617672434
  919. ConnectedLineName: <unknown>
  920. Language: en
  921. AccountCode:
  922. Context: from-pstn
  923. Exten: 9111010001
  924. Priority: 1
  925. Uniqueid: 1608135106.2150
  926. Linkedid: 1608135106.2148
  927. CID-CallingPres: 0 (Presentation Allowed, Not Screened)
  928.  
  929.  
  930. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  931. Event: NewConnectedLine
  932. Privilege: call,all
  933. Channel: PJSIP/call-sim-911-trunk-000007b0
  934. ChannelState: 0
  935. ChannelStateDesc: Down
  936. CallerIDNum: 9111010001
  937. CallerIDName: <unknown>
  938. ConnectedLineNum: 5617672434
  939. ConnectedLineName: <unknown>
  940. Language: en
  941. AccountCode:
  942. Context: from-pstn
  943. Exten: 9111010001
  944. Priority: 1
  945. Uniqueid: 1608135106.2150
  946. Linkedid: 1608135106.2148
  947.  
  948.  
  949. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  950. Event: DialBegin
  951. Privilege: call,all
  952. Channel: Local/9111010001@911-sim-calls-0000005a;2
  953. ChannelState: 4
  954. ChannelStateDesc: Ring
  955. CallerIDNum: 5617672434
  956. CallerIDName: <unknown>
  957. ConnectedLineNum: 5617672434
  958. ConnectedLineName: <unknown>
  959. Language: en
  960. AccountCode:
  961. Context: 911-sim-calls
  962. Exten: 9111010001
  963. Priority: 8
  964. Uniqueid: 1608135106.2149
  965. Linkedid: 1608135106.2148
  966. DestChannel: PJSIP/call-sim-911-trunk-000007b0
  967. DestChannelState: 0
  968. DestChannelStateDesc: Down
  969. DestCallerIDNum: 9111010001
  970. DestCallerIDName: <unknown>
  971. DestConnectedLineNum: 5617672434
  972. DestConnectedLineName: <unknown>
  973. DestLanguage: en
  974. DestAccountCode:
  975. DestContext: from-pstn
  976. DestExten: 9111010001
  977. DestPriority: 1
  978. DestUniqueid: 1608135106.2150
  979. DestLinkedid: 1608135106.2148
  980. DialString: wspbpdtcp@call-sim-911-trunk
  981.  
  982.  
  983. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: Allocated port 12490 for RTP instance '0x7f3188002590'
  984. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: Creating ICE session 0.0.0.0:12490 (12490) for RTP instance '0x7f3188002590'
  985. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  986. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '172.31.41.181' into...
  987. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '172.31.41.181' and port ''.
  988. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '172.31.41.181' into...
  989. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '172.31.41.181' and port ''.
  990. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: RTP instance '0x7f3188002590' is setup and ready to go
  991. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  992. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting 'ip-172-31-41-181.us-east-2.compute.internal' into...
  993. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host 'ip-172-31-41-181.us-east-2.compute.internal' and port ''.
  994. [2020-12-16 16:11:46] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_START', {ts '2020-12-16 16:11:46.725956'}, '', '', '', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;2', '', '', 3, '', '1608135106.2149', '1608135106.2148', '', '', '')]
  995. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  996. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  997. [2020-12-16 16:11:46] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_START', {ts '2020-12-16 16:11:46.728320'}, '', '', '', '', '', 's', 'from-pstn', 'PJSIP/call-sim-911-trunk-000007b0', '', '', 3, '', '1608135106.2150', '1608135106.2148', '', '', '')]
  998. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  999. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: Setup RTCP on RTP instance '0x7f3188002590'
  1000. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Method is INVITE
  1001. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Performing SIP DNS resolution of target '13.58.54.250'
  1002. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Transport type for target '13.58.54.250' is 'UDP'
  1003. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Target '13.58.54.250' is an IP address, skipping resolution
  1004. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_message_filter.c: Re-wrote Contact URI host/port to 172.31.41.181:5160 (this may be re-written again later)
  1005. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '13.58.54.250' into...
  1006. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '13.58.54.250' and port ''.
  1007. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1008. Event: NewConnectedLine
  1009. Privilege: call,all
  1010. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1011. ChannelState: 4
  1012. ChannelStateDesc: Ring
  1013. CallerIDNum: 5617672434
  1014. CallerIDName: <unknown>
  1015. ConnectedLineNum: 9111010001
  1016. ConnectedLineName: <unknown>
  1017. Language: en
  1018. AccountCode:
  1019. Context: 911-sim-calls
  1020. Exten: 9111010001
  1021. Priority: 8
  1022. Uniqueid: 1608135106.2149
  1023. Linkedid: 1608135106.2148
  1024.  
  1025.  
  1026. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '172.31.41.181' into...
  1027. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '172.31.41.181' and port ''.
  1028. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Setting external media address to 18.223.54.241
  1029. [2020-12-16 16:11:46] VERBOSE[26535] res_pjsip_logger.c: <--- Transmitting SIP request (1014 bytes) to UDP:13.58.54.250:5060 --->
  1030. INVITE sip:wspbpdtcp@13.58.54.250:5060 SIP/2.0
  1031. Via: SIP/2.0/UDP 18.223.54.241:5160;rport;branch=z9hG4bKPj965c0af4-58be-43a7-add7-32d415aada62
  1032. From: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1033. To: <sip:wspbpdtcp@13.58.54.250>
  1034. Contact: <sip:asterisk@18.223.54.241:5160>
  1035. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1036. CSeq: 10208 INVITE
  1037. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  1038. Supported: 100rel, timer, replaces, norefersub
  1039. Session-Expires: 1800
  1040. Min-SE: 90
  1041. Max-Forwards: 70
  1042. User-Agent: FPBX-15.0.16.57(16.9.0)
  1043. Content-Type: application/sdp
  1044. Content-Length: 341
  1045.  
  1046. v=0
  1047. o=- 1755447903 1755447903 IN IP4 18.223.54.241
  1048. s=Asterisk
  1049. c=IN IP4 18.223.54.241
  1050. t=0 0
  1051. m=audio 12490 RTP/AVP 0 8 3 111 9 101
  1052. a=rtpmap:0 PCMU/8000
  1053. a=rtpmap:8 PCMA/8000
  1054. a=rtpmap:3 GSM/8000
  1055. a=rtpmap:111 G726-32/8000
  1056. a=rtpmap:9 G722/8000
  1057. a=rtpmap:101 telephone-event/8000
  1058. a=fmtp:101 0-16
  1059. a=ptime:20
  1060. a=maxptime:150
  1061. a=sendrecv
  1062.  
  1063. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_state_changed called on event TSX_STATE
  1064. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1065. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session still has an invite_tsx (0x7f31a809b5a8)
  1066. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: There is no transaction involved in this state change
  1067. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CALLING
  1068. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Source of transaction state change is TX_MSG
  1069. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_tsx_state_changed called on event TSX_STATE
  1070. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1071. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session still has an invite_tsx (0x7f31a809b5a8)
  1072. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The UAC INVITE transaction involved in this state change is 0x7f31a809b5a8
  1073. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current transaction state is Calling
  1074. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The transaction state change event is TX_MSG
  1075. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CALLING
  1076. [2020-12-16 16:11:46] VERBOSE[28065] res_pjsip_logger.c: <--- Received SIP response (579 bytes) from UDP:13.58.54.250:5060 --->
  1077. SIP/2.0 100 Trying
  1078. Via: SIP/2.0/UDP 18.223.54.241:5160;branch=z9hG4bKPj965c0af4-58be-43a7-add7-32d415aada62;received=18.223.54.241;rport=5160
  1079. From: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1080. To: <sip:wspbpdtcp@13.58.54.250>
  1081. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1082. CSeq: 10208 INVITE
  1083. Server: FPBX-15.0.16.57(16.9.0)
  1084. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1085. Supported: replaces, timer
  1086. Session-Expires: 1800;refresher=uas
  1087. Contact: <sip:wspbpdtcp@13.58.54.250:5060>
  1088. Content-Length: 0
  1089.  
  1090.  
  1091. [2020-12-16 16:11:46] DEBUG[28065] res_pjsip/pjsip_distributor.c: Searching for serializer associated with dialog dlg0x7f319cd3e768 for Response msg 100/INVITE/cseq=10208 (rdata0x7f30f02e0cf8)
  1092. [2020-12-16 16:11:46] DEBUG[28065] res_pjsip/pjsip_distributor.c: Found serializer pjsip/outsess/call-sim-911-trunk-00000815 associated with dialog dlg0x7f319cd3e768
  1093. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_tsx_state_changed called on event TSX_STATE
  1094. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1095. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session still has an invite_tsx (0x7f31a809b5a8)
  1096. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The UAC INVITE transaction involved in this state change is 0x7f31a809b5a8
  1097. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current transaction state is Proceeding
  1098. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The transaction state change event is RX_MSG
  1099. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CALLING
  1100. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Received response
  1101. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Response is 100 Trying
  1102. [2020-12-16 16:11:46] VERBOSE[28065] res_pjsip_logger.c: <--- Received SIP response (990 bytes) from UDP:13.58.54.250:5060 --->
  1103. SIP/2.0 200 OK
  1104. Via: SIP/2.0/UDP 18.223.54.241:5160;branch=z9hG4bKPj965c0af4-58be-43a7-add7-32d415aada62;received=18.223.54.241;rport=5160
  1105. From: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1106. To: <sip:wspbpdtcp@13.58.54.250>;tag=as33ab0877
  1107. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1108. CSeq: 10208 INVITE
  1109. Server: FPBX-15.0.16.57(16.9.0)
  1110. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1111. Supported: replaces, timer
  1112. Session-Expires: 1800;refresher=uas
  1113. Contact: <sip:wspbpdtcp@13.58.54.250:5060>
  1114. Content-Type: application/sdp
  1115. Require: timer
  1116. Content-Length: 351
  1117.  
  1118. v=0
  1119. o=root 677353148 677353148 IN IP4 13.58.54.250
  1120. s=Asterisk PBX 16.9.0
  1121. c=IN IP4 13.58.54.250
  1122. t=0 0
  1123. m=audio 17924 RTP/AVP 0 8 3 111 9 101
  1124. a=rtpmap:0 PCMU/8000
  1125. a=rtpmap:8 PCMA/8000
  1126. a=rtpmap:3 GSM/8000
  1127. a=rtpmap:111 G726-32/8000
  1128. a=rtpmap:9 G722/8000
  1129. a=rtpmap:101 telephone-event/8000
  1130. a=fmtp:101 0-16
  1131. a=ptime:20
  1132. a=maxptime:150
  1133. a=sendrecv
  1134.  
  1135. [2020-12-16 16:11:46] DEBUG[28065] res_pjsip/pjsip_distributor.c: Searching for serializer associated with dialog dlg0x7f319cd3e768 for Response msg 200/INVITE/cseq=10208 (rdata0x7f30f02e0cf8)
  1136. [2020-12-16 16:11:46] DEBUG[28065] res_pjsip/pjsip_distributor.c: Found serializer pjsip/outsess/call-sim-911-trunk-00000815 associated with dialog dlg0x7f319cd3e768
  1137. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_state_changed called on event TSX_STATE
  1138. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1139. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session still has an invite_tsx (0x7f31a809b5a8)
  1140. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: There is no transaction involved in this state change
  1141. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CONNECTING
  1142. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Source of transaction state change is RX_MSG
  1143. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Received response
  1144. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Response is 200 OK
  1145. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Applying negotiated SDP media stream 'audio' using audio SDP handler
  1146. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: Ignoring duplicate RTCP property on RTP instance '0x7f3188002590'
  1147. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '13.58.54.250' into...
  1148. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '13.58.54.250' and port ''.
  1149. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] app_dial.c: PJSIP/call-sim-911-trunk-000007b0 answered Local/9111010001@911-sim-calls-0000005a;2
  1150. [2020-12-16 16:11:46] DEBUG[26535] acl.c: For destination '13.58.54.250', our source address is '172.31.41.181'.
  1151. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0x7f3188002590'
  1152. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Setting tx payload type 0 based on m type on 0x7f30de9abf50
  1153. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Setting tx payload type 8 based on m type on 0x7f30de9abf50
  1154. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Setting tx payload type 3 based on m type on 0x7f30de9abf50
  1155. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Setting tx payload type 9 based on m type on 0x7f30de9abf50
  1156. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 0 (0x7f3188005828) from 0x7f30de9abf50 to 0x7f3188002768
  1157. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 3 (0x7f3188022138) from 0x7f30de9abf50 to 0x7f3188002768
  1158. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 8 (0x7f31880166e8) from 0x7f30de9abf50 to 0x7f3188002768
  1159. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 9 (0x7f31880225e8) from 0x7f30de9abf50 to 0x7f3188002768
  1160. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 101 (0x7f3188022748) from 0x7f30de9abf50 to 0x7f3188002768
  1161. [2020-12-16 16:11:46] DEBUG[26535] rtp_engine.c: Copying tx payload mapping 111 (0x7f3188022188) from 0x7f30de9abf50 to 0x7f3188002768
  1162. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: ast_rtp_activate (0x7f318801ea90) - setup and perform DTLS'
  1163. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: dtls_perform_handshake (0x7f318801ea90) - ssl = (nil), setup = 0
  1164. [2020-12-16 16:11:46] DEBUG[26535] res_rtp_asterisk.c: dtls_perform_handshake (0x7f318801ea90) - ssl = (nil), setup = 0
  1165. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Applied negotiated SDP media stream 'audio' using audio SDP handler
  1166. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Performing SIP DNS resolution of target '13.58.54.250'
  1167. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Transport type for target '13.58.54.250' is 'UDP'
  1168. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip/pjsip_resolver.c: Target '13.58.54.250' is an IP address, skipping resolution
  1169. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Channel PJSIP/call-sim-911-trunk-000007b0 setting write format path: ulaw -> ulaw
  1170. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: Splitting '13.58.54.250' into...
  1171. [2020-12-16 16:11:46] DEBUG[26535] netsock2.c: ...host '13.58.54.250' and port ''.
  1172. [2020-12-16 16:11:46] VERBOSE[26535] res_pjsip_logger.c: <--- Transmitting SIP request (410 bytes) to UDP:13.58.54.250:5060 --->
  1173. ACK sip:wspbpdtcp@13.58.54.250:5060 SIP/2.0
  1174. Via: SIP/2.0/UDP 18.223.54.241:5160;rport;branch=z9hG4bKPj14b1f1c9-284e-44dc-8729-43246306b7a8
  1175. From: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1176. To: <sip:wspbpdtcp@13.58.54.250>;tag=as33ab0877
  1177. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1178. CSeq: 10208 ACK
  1179. Max-Forwards: 70
  1180. User-Agent: FPBX-15.0.16.57(16.9.0)
  1181. Content-Length: 0
  1182.  
  1183.  
  1184. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_state_changed called on event TX_MSG
  1185. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1186. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session still has an invite_tsx (0x7f31a809b5a8)
  1187. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] res_rtp_asterisk.c: Ooh, format changed from none to ulaw
  1188. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] res_rtp_asterisk.c: Starting RTCP transmission on RTP instance '0x7f3188002590'
  1189. [2020-12-16 16:11:46] DEBUG[26534][C-0000005d] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
  1190. [2020-12-16 16:11:46] VERBOSE[26534][C-0000005d] file.c: <PJSIP/call-sim-911-trunk-000007b0> Playing 'spam.ulaw' (language 'en')
  1191. [2020-12-16 16:11:46] DEBUG[28032] devicestate.c: No provider found, checking channel drivers for PJSIP - call-sim-911-trunk
  1192. [2020-12-16 16:11:46] DEBUG[28032] devicestate.c: Changing state for PJSIP/call-sim-911-trunk - state 2 (In use)
  1193. [2020-12-16 16:11:46] DEBUG[28128] app_queue.c: Device 'PJSIP/call-sim-911-trunk' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  1194. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1195. Event: Newstate
  1196. Privilege: call,all
  1197. Channel: PJSIP/call-sim-911-trunk-000007b0
  1198. ChannelState: 6
  1199. ChannelStateDesc: Up
  1200. CallerIDNum: 9111010001
  1201. CallerIDName: <unknown>
  1202. ConnectedLineNum: 5617672434
  1203. ConnectedLineName: <unknown>
  1204. Language: en
  1205. AccountCode:
  1206. Context: from-pstn
  1207. Exten: 9111010001
  1208. Priority: 1
  1209. Uniqueid: 1608135106.2150
  1210. Linkedid: 1608135106.2148
  1211.  
  1212.  
  1213. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: There is no transaction involved in this state change
  1214. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CONFIRMED
  1215. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_tsx_state_changed called on event TSX_STATE
  1216. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1217. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The inv session does NOT have an invite_tsx
  1218. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The UAC INVITE transaction involved in this state change is 0x7f31a809b5a8
  1219. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current transaction state is Terminated
  1220. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1221. Event: VarSet
  1222. Privilege: dialplan,all
  1223. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1224. ChannelState: 4
  1225. ChannelStateDesc: Ring
  1226. CallerIDNum: 5617672434
  1227. CallerIDName: <unknown>
  1228. ConnectedLineNum: 9111010001
  1229. ConnectedLineName: <unknown>
  1230. Language: en
  1231. AccountCode:
  1232. Context: 911-sim-calls
  1233. Exten: 9111010001
  1234. Priority: 8
  1235. Uniqueid: 1608135106.2149
  1236. Linkedid: 1608135106.2148
  1237. Variable: DIALSTATUS
  1238. Value: ANSWER
  1239.  
  1240.  
  1241. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The transaction state change event is RX_MSG
  1242. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: The current inv state is CONFIRMED
  1243. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Received response
  1244. [2020-12-16 16:11:46] DEBUG[26535] res_pjsip_session.c: Response is 200 OK
  1245. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1246. Event: VarSet
  1247. Privilege: dialplan,all
  1248. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1249. ChannelState: 4
  1250. ChannelStateDesc: Ring
  1251. CallerIDNum: 5617672434
  1252. CallerIDName: <unknown>
  1253. ConnectedLineNum: 9111010001
  1254. ConnectedLineName: <unknown>
  1255. Language: en
  1256. AccountCode:
  1257. Context: 911-sim-calls
  1258. Exten: 9111010001
  1259. Priority: 8
  1260. Uniqueid: 1608135106.2149
  1261. Linkedid: 1608135106.2148
  1262. Variable: DIALEDPEERNAME
  1263. Value: PJSIP/call-sim-911-trunk-000007b0
  1264.  
  1265.  
  1266. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1267. Event: VarSet
  1268. Privilege: dialplan,all
  1269. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1270. ChannelState: 4
  1271. ChannelStateDesc: Ring
  1272. CallerIDNum: 5617672434
  1273. CallerIDName: <unknown>
  1274. ConnectedLineNum: 9111010001
  1275. ConnectedLineName: <unknown>
  1276. Language: en
  1277. AccountCode:
  1278. Context: 911-sim-calls
  1279. Exten: 9111010001
  1280. Priority: 8
  1281. Uniqueid: 1608135106.2149
  1282. Linkedid: 1608135106.2148
  1283. Variable: DIALEDPEERNUMBER
  1284. Value: wspbpdtcp@call-sim-911-trunk
  1285.  
  1286.  
  1287. [2020-12-16 16:11:46] DEBUG[26121] manager.c: Examining AMI event:
  1288. Event: DeviceStateChange
  1289. Privilege: call,all
  1290. Device: PJSIP/call-sim-911-trunk
  1291. State: INUSE
  1292.  
  1293.  
  1294. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1295. [2020-12-16 16:11:46] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('ANSWER', {ts '2020-12-16 16:11:46.783744'}, '', '9111010001', '', '', '', '9111010001', 'from-pstn', 'PJSIP/call-sim-911-trunk-000007b0', 'AppDial', '(Outgoing Line)', 3, '', '1608135106.2150', '1608135106.2148', '', '', '')]
  1296. [2020-12-16 16:11:46] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1297. [2020-12-16 16:11:48] DEBUG[28077] res_pjsip_registrar.c: Woke up at 1608135108 Interval: 30
  1298. [2020-12-16 16:11:48] DEBUG[28077] res_pjsip_registrar.c: Expiring 0 contacts
  1299. [2020-12-16 16:11:51] DEBUG[26121] manager.c: Examining AMI event:
  1300. Event: RTCPSent
  1301. Privilege: reporting,all
  1302. Channel: PJSIP/call-sim-911-trunk-000007b0
  1303. ChannelState: 6
  1304. ChannelStateDesc: Up
  1305. CallerIDNum: 9111010001
  1306. CallerIDName: <unknown>
  1307. ConnectedLineNum: 5617672434
  1308. ConnectedLineName: <unknown>
  1309. Language: en
  1310. AccountCode:
  1311. Context: from-pstn
  1312. Exten: 9111010001
  1313. Priority: 1
  1314. Uniqueid: 1608135106.2150
  1315. Linkedid: 1608135106.2148
  1316. To: 13.58.54.250:17925
  1317. From: 172.31.41.181:12491
  1318. SSRC: 0x6304aadf
  1319. PT: 200(SR)
  1320. ReportCount: 1
  1321. SentNTP: 1608135111.783298
  1322. SentRTP: 40000
  1323. SentPackets: 250
  1324. SentOctets: 40000
  1325. Report0SourceSSRC: 0x72d6df71
  1326. Report0FractionLost: 0
  1327. Report0CumulativeLost: 0
  1328. Report0HighestSequence: 27606
  1329. Report0SequenceNumberCycles: 0
  1330. Report0IAJitter: 0
  1331. Report0LSR: 0
  1332. Report0DLSR: 0.0000
  1333.  
  1334.  
  1335. [2020-12-16 16:11:51] DEBUG[26534][C-0000005d] res_rtp_asterisk.c: Got RTCP report of 100 bytes from 13.58.54.250:17925
  1336. [2020-12-16 16:11:51] DEBUG[26121] manager.c: Examining AMI event:
  1337. Event: RTCPReceived
  1338. Privilege: reporting,all
  1339. Channel: PJSIP/call-sim-911-trunk-000007b0
  1340. ChannelState: 6
  1341. ChannelStateDesc: Up
  1342. CallerIDNum: 9111010001
  1343. CallerIDName: <unknown>
  1344. ConnectedLineNum: 5617672434
  1345. ConnectedLineName: <unknown>
  1346. Language: en
  1347. AccountCode:
  1348. Context: from-pstn
  1349. Exten: 9111010001
  1350. Priority: 1
  1351. Uniqueid: 1608135106.2150
  1352. Linkedid: 1608135106.2148
  1353. To: 172.31.41.181:12491
  1354. From: 13.58.54.250:17925
  1355. RTT: 0.0012
  1356. SSRC: 0xe384b047
  1357. PT: 200(SR)
  1358. ReportCount: 1
  1359. SentNTP: 1608135111.780898
  1360. SentRTP: 40160
  1361. SentPackets: 251
  1362. SentOctets: 40160
  1363. Report0SourceSSRC: 0x6304aadf
  1364. Report0FractionLost: 0
  1365. Report0CumulativeLost: 0
  1366. Report0HighestSequence: 9545
  1367. Report0SequenceNumberCycles: 0
  1368. Report0IAJitter: 0
  1369. Report0LSR: 2957494406
  1370. Report0DLSR: 0.0010
  1371.  
  1372.  
  1373. [2020-12-16 16:11:56] DEBUG[26121] manager.c: Examining AMI event:
  1374. Event: RTCPSent
  1375. Privilege: reporting,all
  1376. Channel: PJSIP/call-sim-911-trunk-000007b0
  1377. ChannelState: 6
  1378. ChannelStateDesc: Up
  1379. CallerIDNum: 9111010001
  1380. CallerIDName: <unknown>
  1381. ConnectedLineNum: 5617672434
  1382. ConnectedLineName: <unknown>
  1383. Language: en
  1384. AccountCode:
  1385. Context: from-pstn
  1386. Exten: 9111010001
  1387. Priority: 1
  1388. Uniqueid: 1608135106.2150
  1389. Linkedid: 1608135106.2148
  1390. To: 13.58.54.250:17925
  1391. From: 172.31.41.181:12491
  1392. SSRC: 0x6304aadf
  1393. PT: 200(SR)
  1394. ReportCount: 1
  1395. SentNTP: 1608135116.783447
  1396. SentRTP: 80000
  1397. SentPackets: 500
  1398. SentOctets: 80000
  1399. Report0SourceSSRC: 0x72d6df71
  1400. Report0FractionLost: 0
  1401. Report0CumulativeLost: 0
  1402. Report0HighestSequence: 27856
  1403. Report0SequenceNumberCycles: 0
  1404. Report0IAJitter: 0
  1405. Report0LSR: 2957494248
  1406. Report0DLSR: 4.9970
  1407.  
  1408.  
  1409. [2020-12-16 16:11:56] DEBUG[26534][C-0000005d] res_rtp_asterisk.c: Got RTCP report of 100 bytes from 13.58.54.250:17925
  1410. [2020-12-16 16:11:56] DEBUG[26121] manager.c: Examining AMI event:
  1411. Event: RTCPReceived
  1412. Privilege: reporting,all
  1413. Channel: PJSIP/call-sim-911-trunk-000007b0
  1414. ChannelState: 6
  1415. ChannelStateDesc: Up
  1416. CallerIDNum: 9111010001
  1417. CallerIDName: <unknown>
  1418. ConnectedLineNum: 5617672434
  1419. ConnectedLineName: <unknown>
  1420. Language: en
  1421. AccountCode:
  1422. Context: from-pstn
  1423. Exten: 9111010001
  1424. Priority: 1
  1425. Uniqueid: 1608135106.2150
  1426. Linkedid: 1608135106.2148
  1427. To: 172.31.41.181:12491
  1428. From: 13.58.54.250:17925
  1429. RTT: 0.0012
  1430. SSRC: 0xe384b04c
  1431. PT: 200(SR)
  1432. ReportCount: 1
  1433. SentNTP: 1608135116.780033
  1434. SentRTP: 80000
  1435. SentPackets: 500
  1436. SentOctets: 80000
  1437. Report0SourceSSRC: 0x6304aadf
  1438. Report0FractionLost: 0
  1439. Report0CumulativeLost: 0
  1440. Report0HighestSequence: 9795
  1441. Report0SequenceNumberCycles: 0
  1442. Report0IAJitter: 0
  1443. Report0LSR: 2957822095
  1444. Report0DLSR: 0.0000
  1445.  
  1446.  
  1447. [2020-12-16 16:12:01] DEBUG[26121] manager.c: Examining AMI event:
  1448. Event: RTCPSent
  1449. Privilege: reporting,all
  1450. Channel: PJSIP/call-sim-911-trunk-000007b0
  1451. ChannelState: 6
  1452. ChannelStateDesc: Up
  1453. CallerIDNum: 9111010001
  1454. CallerIDName: <unknown>
  1455. ConnectedLineNum: 5617672434
  1456. ConnectedLineName: <unknown>
  1457. Language: en
  1458. AccountCode:
  1459. Context: from-pstn
  1460. Exten: 9111010001
  1461. Priority: 1
  1462. Uniqueid: 1608135106.2150
  1463. Linkedid: 1608135106.2148
  1464. To: 13.58.54.250:17925
  1465. From: 172.31.41.181:12491
  1466. SSRC: 0x6304aadf
  1467. PT: 200(SR)
  1468. ReportCount: 1
  1469. SentNTP: 1608135121.783657
  1470. SentRTP: 120000
  1471. SentPackets: 750
  1472. SentOctets: 120000
  1473. Report0SourceSSRC: 0x72d6df71
  1474. Report0FractionLost: 0
  1475. Report0CumulativeLost: 0
  1476. Report0HighestSequence: 28106
  1477. Report0SequenceNumberCycles: 0
  1478. Report0IAJitter: 0
  1479. Report0LSR: 2957821872
  1480. Report0DLSR: 4.9990
  1481.  
  1482.  
  1483. [2020-12-16 16:12:01] DEBUG[26534][C-0000005d] res_rtp_asterisk.c: Got RTCP report of 100 bytes from 13.58.54.250:17925
  1484. [2020-12-16 16:12:01] DEBUG[26121] manager.c: Examining AMI event:
  1485. Event: RTCPReceived
  1486. Privilege: reporting,all
  1487. Channel: PJSIP/call-sim-911-trunk-000007b0
  1488. ChannelState: 6
  1489. ChannelStateDesc: Up
  1490. CallerIDNum: 9111010001
  1491. CallerIDName: <unknown>
  1492. ConnectedLineNum: 5617672434
  1493. ConnectedLineName: <unknown>
  1494. Language: en
  1495. AccountCode:
  1496. Context: from-pstn
  1497. Exten: 9111010001
  1498. Priority: 1
  1499. Uniqueid: 1608135106.2150
  1500. Linkedid: 1608135106.2148
  1501. To: 172.31.41.181:12491
  1502. From: 13.58.54.250:17925
  1503. RTT: 0.0013
  1504. SSRC: 0xe384b051
  1505. PT: 200(SR)
  1506. ReportCount: 1
  1507. SentNTP: 1608135121.780305
  1508. SentRTP: 120000
  1509. SentPackets: 750
  1510. SentOctets: 120000
  1511. Report0SourceSSRC: 0x6304aadf
  1512. Report0FractionLost: 0
  1513. Report0CumulativeLost: 0
  1514. Report0HighestSequence: 10045
  1515. Report0SequenceNumberCycles: 0
  1516. Report0IAJitter: 0
  1517. Report0LSR: 2958149789
  1518. Report0DLSR: 0.0000
  1519.  
  1520.  
  1521. [2020-12-16 16:12:02] VERBOSE[28065] res_pjsip_logger.c: <--- Received SIP request (449 bytes) from UDP:13.58.54.250:5060 --->
  1522. BYE sip:asterisk@18.223.54.241:5160 SIP/2.0
  1523. Via: SIP/2.0/UDP 13.58.54.250:5060;branch=z9hG4bK616af5e8;rport
  1524. Max-Forwards: 70
  1525. From: <sip:wspbpdtcp@13.58.54.250>;tag=as33ab0877
  1526. To: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1527. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1528. CSeq: 102 BYE
  1529. User-Agent: FPBX-15.0.16.57(16.9.0)
  1530. X-Asterisk-HangupCause: Normal Clearing
  1531. X-Asterisk-HangupCauseCode: 16
  1532. Content-Length: 0
  1533.  
  1534.  
  1535. [2020-12-16 16:12:02] DEBUG[28065] res_pjsip/pjsip_distributor.c: Searching for serializer associated with dialog dlg0x7f319cd3e768 for Request msg BYE/cseq=102 (rdata0x7f30f02e0cf8)
  1536. [2020-12-16 16:12:02] DEBUG[28065] res_pjsip/pjsip_distributor.c: Found serializer pjsip/outsess/call-sim-911-trunk-00000815 associated with dialog dlg0x7f319cd3e768
  1537. [2020-12-16 16:12:02] DEBUG[26535] netsock2.c: Splitting '13.58.54.250' into...
  1538. [2020-12-16 16:12:02] DEBUG[26535] netsock2.c: ...host '13.58.54.250' and port ''.
  1539. [2020-12-16 16:12:02] VERBOSE[26535] res_pjsip_logger.c: <--- Transmitting SIP response (353 bytes) to UDP:13.58.54.250:5060 --->
  1540. SIP/2.0 200 OK
  1541. Via: SIP/2.0/UDP 13.58.54.250:5060;rport=5060;received=13.58.54.250;branch=z9hG4bK616af5e8
  1542. Call-ID: c7e370ab-d701-45ba-b204-174d9f4d57db
  1543. From: <sip:wspbpdtcp@13.58.54.250>;tag=as33ab0877
  1544. To: <sip:5617672434@172.31.41.181>;tag=ac294b30-8443-46e5-9387-64007ba3de76
  1545. CSeq: 102 BYE
  1546. Server: FPBX-15.0.16.57(16.9.0)
  1547. Content-Length: 0
  1548.  
  1549.  
  1550. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_tsx_state_changed called on event TSX_STATE
  1551. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1552. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The inv session does NOT have an invite_tsx
  1553. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The UAS BYE transaction involved in this state change is 0x7f31a809b5a8
  1554. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The current transaction state is Completed
  1555. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The transaction state change event is TX_MSG
  1556. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The current inv state is CONFIRMED
  1557. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_state_changed called on event TSX_STATE
  1558. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1559. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The inv session does NOT have an invite_tsx
  1560. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: There is no transaction involved in this state change
  1561. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The current inv state is DISCONNCTD
  1562. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Source of transaction state change is RX_MSG
  1563. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Received request
  1564. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Method is BYE
  1565. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: Function session_inv_on_tsx_state_changed called on event TSX_STATE
  1566. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The state change pertains to the endpoint 'call-sim-911-trunk(PJSIP/call-sim-911-trunk-000007b0)'
  1567. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The inv session does NOT have an invite_tsx
  1568. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The UAS BYE transaction involved in this state change is 0x7f31a809b5a8
  1569. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The current transaction state is Completed
  1570. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The transaction state change event is RX_MSG
  1571. [2020-12-16 16:12:02] DEBUG[26535] res_pjsip_session.c: The current inv state is DISCONNCTD
  1572. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1573. Event: HangupRequest
  1574. Privilege: call,all
  1575. Channel: PJSIP/call-sim-911-trunk-000007b0
  1576. ChannelState: 6
  1577. ChannelStateDesc: Up
  1578. CallerIDNum: 9111010001
  1579. CallerIDName: <unknown>
  1580. ConnectedLineNum: 5617672434
  1581. ConnectedLineName: <unknown>
  1582. Language: en
  1583. AccountCode:
  1584. Context: from-pstn
  1585. Exten:
  1586. Priority: 1
  1587. Uniqueid: 1608135106.2150
  1588. Linkedid: 1608135106.2148
  1589.  
  1590.  
  1591. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Channel 0x7f317c2953e0 'PJSIP/call-sim-911-trunk-000007b0' hanging up. Refs: 3
  1592. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  1593. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  1594. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] chan_pjsip.c: AST hangup cause 16 (no match found in PJSIP)
  1595. [2020-12-16 16:12:02] DEBUG[26535] rtp_engine.c: Destroyed RTP instance '0x7f3188002590'
  1596. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] pbx.c: Spawn extension (911-sim-calls,9111010001,8) exited non-zero on 'Local/9111010001@911-sim-calls-0000005a;2'
  1597. [2020-12-16 16:12:02] VERBOSE[26534][C-0000005d] pbx.c: Spawn extension (911-sim-calls, 9111010001, 8) exited non-zero on 'Local/9111010001@911-sim-calls-0000005a;2'
  1598. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Soft-Hanging (0x10) up channel 'Local/9111010001@911-sim-calls-0000005a;2'
  1599. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Channel 0x7f318001d680 'Local/9111010001@911-sim-calls-0000005a;2' hanging up. Refs: 2
  1600. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Channel 0x7f318001d680 'Local/9111010001@911-sim-calls-0000005a;2' destroying
  1601. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1602. Event: SoftHangupRequest
  1603. Privilege: call,all
  1604. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1605. ChannelState: 4
  1606. ChannelStateDesc: Ring
  1607. CallerIDNum: 5617672434
  1608. CallerIDName: <unknown>
  1609. ConnectedLineNum: 9111010001
  1610. ConnectedLineName: <unknown>
  1611. Language: en
  1612. AccountCode:
  1613. Context: 911-sim-calls
  1614. Exten: 9111010001
  1615. Priority: 8
  1616. Uniqueid: 1608135106.2149
  1617. Linkedid: 1608135106.2148
  1618. Cause: 16
  1619.  
  1620.  
  1621. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] channel.c: Channel 0x7f317c2953e0 'PJSIP/call-sim-911-trunk-000007b0' destroying
  1622. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1623. Event: HangupRequest
  1624. Privilege: call,all
  1625. Channel: Local/9111010001@911-sim-calls-0000005a;1
  1626. ChannelState: 0
  1627. ChannelStateDesc: Down
  1628. CallerIDNum: 9111010001
  1629. CallerIDName: <unknown>
  1630. ConnectedLineNum: 5617672434
  1631. ConnectedLineName: <unknown>
  1632. Language: en
  1633. AccountCode:
  1634. Context: 911-sim-calls
  1635. Exten: 9111010001
  1636. Priority: 1
  1637. Uniqueid: 1608135106.2148
  1638. Linkedid: 1608135106.2148
  1639. Cause: 16
  1640.  
  1641.  
  1642. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1643. Event: Hangup
  1644. Privilege: call,all
  1645. Channel: Local/9111010001@911-sim-calls-0000005a;2
  1646. ChannelState: 4
  1647. ChannelStateDesc: Ring
  1648. CallerIDNum: 5617672434
  1649. CallerIDName: <unknown>
  1650. ConnectedLineNum: 9111010001
  1651. ConnectedLineName: <unknown>
  1652. Language: en
  1653. AccountCode:
  1654. Context: 911-sim-calls
  1655. Exten: 9111010001
  1656. Priority: 8
  1657. Uniqueid: 1608135106.2149
  1658. Linkedid: 1608135106.2148
  1659. Cause: 16
  1660. Cause-txt: Normal Clearing
  1661.  
  1662.  
  1663. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Destroying topic. name: cache:2164/channel:1608135106.2150, detail:
  1664. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Topic 'cache:2164/channel:1608135106.2150': 0x7f317c145fe0 destroyed
  1665. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Destroying topic. name: channel:1608135106.2150, detail:
  1666. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Topic 'channel:1608135106.2150': 0x7f317c142010 destroyed
  1667. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Destroying topic. name: cache:2163/channel:1608135106.2149, detail:
  1668. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Topic 'cache:2163/channel:1608135106.2149': 0x7f31800150b0 destroyed
  1669. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Destroying topic. name: channel:1608135106.2149, detail:
  1670. [2020-12-16 16:12:02] DEBUG[26534][C-0000005d] stasis.c: Topic 'channel:1608135106.2149': 0x7f3180010fa0 destroyed
  1671. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: No provider found, checking channel drivers for PJSIP - call-sim-911-trunk
  1672. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: Changing state for PJSIP/call-sim-911-trunk - state 1 (Not in use)
  1673. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: No provider found, checking channel drivers for Local - 9111010001@911-sim-calls
  1674. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: Changing state for Local/9111010001@911-sim-calls - state 1 (Not in use)
  1675. [2020-12-16 16:12:02] DEBUG[28019] threadpool.c: Increasing threadpool stasis/pool's size by 1
  1676. [2020-12-16 16:12:02] DEBUG[28128] app_queue.c: Device 'PJSIP/call-sim-911-trunk' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  1677. [2020-12-16 16:12:02] DEBUG[28128] app_queue.c: Device 'Local/9111010001@911-sim-calls' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  1678. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1679. [2020-12-16 16:12:02] DEBUG[28044] cdr.c: Finalized CDR for Local/9111010001@911-sim-calls-0000005a;2 - start 1608135106.725956 answer 0.000000 end 1608135122.794353 dur 16.068 bill 1608135122.794 dispo NO ANSWER
  1680. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('HANGUP', {ts '2020-12-16 16:12:02.794353'}, '', '5617672434', '', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;2', '', '', 3, '', '1608135106.2149', '1608135106.2148', '', '', '{"hangupcause":16,"hangupsource":"","dialstatus":""}')]
  1681. [2020-12-16 16:12:02] DEBUG[26533] channel.c: Channel 0x7f3180017050 'Local/9111010001@911-sim-calls-0000005a;1' hanging up. Refs: 2
  1682. [2020-12-16 16:12:02] DEBUG[26533] channel.c: Channel 0x7f3180017050 'Local/9111010001@911-sim-calls-0000005a;1' destroying
  1683. [2020-12-16 16:12:02] DEBUG[26533] stasis.c: Destroying topic. name: cache:2162/channel:1608135106.2148, detail:
  1684. [2020-12-16 16:12:02] DEBUG[26533] stasis.c: Topic 'cache:2162/channel:1608135106.2148': 0x7f318000ffb0 destroyed
  1685. [2020-12-16 16:12:02] DEBUG[26533] stasis.c: Destroying topic. name: channel:1608135106.2148, detail:
  1686. [2020-12-16 16:12:02] DEBUG[26533] stasis.c: Topic 'channel:1608135106.2148': 0x7f3180002590 destroyed
  1687. [2020-12-16 16:12:02] NOTICE[26533] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
  1688. [2020-12-16 16:12:02] NOTICE[26533] pbx_spool.c: Queued call to LOCAL/9111010001@911-sim-calls/n expired without completion after 0 attempts
  1689. [2020-12-16 16:12:02] DEBUG[28044] res_odbc.c: Reusing ODBC handle 0x7f3110013ac0 from class 'asteriskcdrdb'
  1690. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: No provider found, checking channel drivers for Local - 9111010001@911-sim-calls
  1691. [2020-12-16 16:12:02] DEBUG[28032] core_local.c: Checking if extension 9111010001@911-sim-calls exists (devicestate)
  1692. [2020-12-16 16:12:02] DEBUG[28032] devicestate.c: Changing state for Local/9111010001@911-sim-calls - state 1 (Not in use)
  1693. [2020-12-16 16:12:02] DEBUG[28044] cdr_adaptive_odbc.c: Executing [INSERT INTO cdr (calldate, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, duration, billsec, disposition, amaflags, uniqueid, linkedid, sequence) VALUES ({ ts '2020-12-16 16:11:46' }, '"" <5617672434>', '5617672434', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;2', 'PJSIP/call-sim-911-trunk-000007b0', 'Dial', 'PJSIP/wspbpdtcp@call-sim-911-trunk,300,gA(spam)', 16, 0, 'NO ANSWER', 3, '1608135106.2149', '1608135106.2148', 4067)]
  1694. [2020-12-16 16:12:02] DEBUG[28128] app_queue.c: Device 'Local/9111010001@911-sim-calls' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  1695. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1696. Event: Hangup
  1697. Privilege: call,all
  1698. Channel: PJSIP/call-sim-911-trunk-000007b0
  1699. ChannelState: 6
  1700. ChannelStateDesc: Up
  1701. CallerIDNum: 9111010001
  1702. CallerIDName: <unknown>
  1703. ConnectedLineNum: 5617672434
  1704. ConnectedLineName: <unknown>
  1705. Language: en
  1706. AccountCode:
  1707. Context: from-pstn
  1708. Exten:
  1709. Priority: 1
  1710. Uniqueid: 1608135106.2150
  1711. Linkedid: 1608135106.2148
  1712. Cause: 16
  1713. Cause-txt: Normal Clearing
  1714.  
  1715.  
  1716. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1717. Event: DeviceStateChange
  1718. Privilege: call,all
  1719. Device: PJSIP/call-sim-911-trunk
  1720. State: NOT_INUSE
  1721.  
  1722.  
  1723. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1724. Event: DeviceStateChange
  1725. Privilege: call,all
  1726. Device: Local/9111010001@911-sim-calls
  1727. State: NOT_INUSE
  1728.  
  1729.  
  1730. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1731. Event: DialEnd
  1732. Privilege: call,all
  1733. DestChannel: Local/9111010001@911-sim-calls-0000005a;1
  1734. DestChannelState: 0
  1735. DestChannelStateDesc: Down
  1736. DestCallerIDNum: 9111010001
  1737. DestCallerIDName: <unknown>
  1738. DestConnectedLineNum: 5617672434
  1739. DestConnectedLineName: <unknown>
  1740. DestLanguage: en
  1741. DestAccountCode:
  1742. DestContext: 911-sim-calls
  1743. DestExten: 9111010001
  1744. DestPriority: 1
  1745. DestUniqueid: 1608135106.2148
  1746. DestLinkedid: 1608135106.2148
  1747. DialStatus: NOANSWER
  1748.  
  1749.  
  1750. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1751. Event: Hangup
  1752. Privilege: call,all
  1753. Channel: Local/9111010001@911-sim-calls-0000005a;1
  1754. ChannelState: 0
  1755. ChannelStateDesc: Down
  1756. CallerIDNum: 9111010001
  1757. CallerIDName: <unknown>
  1758. ConnectedLineNum: 5617672434
  1759. ConnectedLineName: <unknown>
  1760. Language: en
  1761. AccountCode:
  1762. Context: 911-sim-calls
  1763. Exten: 9111010001
  1764. Priority: 1
  1765. Uniqueid: 1608135106.2148
  1766. Linkedid: 1608135106.2148
  1767. Cause: 16
  1768. Cause-txt: Normal Clearing
  1769.  
  1770.  
  1771. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1772. Event: NewCallerid
  1773. Privilege: call,all
  1774. Channel: Local/9111010001@911-sim-calls-0000005a;1
  1775. ChannelState: 0
  1776. ChannelStateDesc: Down
  1777. CallerIDNum: 9111010001
  1778. CallerIDName: <unknown>
  1779. ConnectedLineNum: 5617672434
  1780. ConnectedLineName: <unknown>
  1781. Language: en
  1782. AccountCode:
  1783. Context: 911-sim-calls
  1784. Exten: 9111010001
  1785. Priority: 1
  1786. Uniqueid: 1608135106.2148
  1787. Linkedid: 1608135106.2148
  1788. CID-CallingPres: 0 (Presentation Allowed, Not Screened)
  1789.  
  1790.  
  1791. [2020-12-16 16:12:02] DEBUG[26121] manager.c: Examining AMI event:
  1792. Event: DeviceStateChange
  1793. Privilege: call,all
  1794. Device: Local/9111010001@911-sim-calls
  1795. State: NOT_INUSE
  1796.  
  1797.  
  1798. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1799. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1800. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_END', {ts '2020-12-16 16:12:02.794374'}, '', '5617672434', '', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;2', '', '', 3, '', '1608135106.2149', '1608135106.2148', '', '', '')]
  1801. [2020-12-16 16:12:02] DEBUG[28044] res_odbc.c: Releasing ODBC handle 0x7f3110013ac0 into pool
  1802. [2020-12-16 16:12:02] DEBUG[28044] cdr.c: Finalized CDR for PJSIP/call-sim-911-trunk-000007b0 - start 1608135106.728320 answer 1608135106.783744 end 1608135122.794397 dur 16.066 bill 16.010 dispo ANSWERED
  1803. [2020-12-16 16:12:02] DEBUG[28044] cdr.c: CDR for PJSIP/call-sim-911-trunk-000007b0 is dialed and has no Party B; discarding
  1804. [2020-12-16 16:12:02] DEBUG[28044] cdr.c: Finalized CDR for Local/9111010001@911-sim-calls-0000005a;1 - start 1608135106.725876 answer 0.000000 end 1608135122.794817 dur 16.068 bill 1608135122.794 dispo NO ANSWER
  1805. [2020-12-16 16:12:02] DEBUG[28044] cdr.c: Skipping CDR for Local/9111010001@911-sim-calls-0000005a;1 since we weren't answered
  1806. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1807. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1808. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('HANGUP', {ts '2020-12-16 16:12:02.794397'}, '', '9111010001', '', '', '', '', 'from-pstn', 'PJSIP/call-sim-911-trunk-000007b0', 'AppDial', '(Outgoing Line)', 3, '', '1608135106.2150', '1608135106.2148', '', '', '{"hangupcause":16,"hangupsource":"PJSIP/call-sim-911-trunk-000007b0","dialstatus":""}')]
  1809. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1810. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1811. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_END', {ts '2020-12-16 16:12:02.794419'}, '', '9111010001', '', '', '', '', 'from-pstn', 'PJSIP/call-sim-911-trunk-000007b0', 'AppDial', '(Outgoing Line)', 3, '', '1608135106.2150', '1608135106.2148', '', '', '')]
  1812. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1813. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1814. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('HANGUP', {ts '2020-12-16 16:12:02.794851'}, '', '9111010001', '5617672434', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;1', 'AppDial2', '(Outgoing Line)', 3, '', '1608135106.2148', '1608135106.2148', '', '', '{"hangupcause":16,"hangupsource":"","dialstatus":""}')]
  1815. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1816. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1817. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('CHAN_END', {ts '2020-12-16 16:12:02.794864'}, '', '9111010001', '5617672434', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;1', 'AppDial2', '(Outgoing Line)', 3, '', '1608135106.2148', '1608135106.2148', '', '', '')]
  1818. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1819. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Reusing ODBC handle 0x7f3110014000 from class 'asteriskcdrdb'
  1820. [2020-12-16 16:12:02] DEBUG[28048] cel_odbc.c: Executing SQL statement: [INSERT INTO cel (eventtype, eventtime, cid_name, cid_num, cid_ani, cid_rdnis, cid_dnid, exten, context, channame, appname, appdata, amaflags, accountcode, uniqueid, linkedid, peer, userdeftype, extra) VALUES ('LINKEDID_END', {ts '2020-12-16 16:12:02.794864'}, '', '9111010001', '5617672434', '', '', '9111010001', '911-sim-calls', 'Local/9111010001@911-sim-calls-0000005a;1', 'AppDial2', '(Outgoing Line)', 3, '', '1608135106.2148', '1608135106.2148', '', '', '')]
  1821. [2020-12-16 16:12:02] DEBUG[28048] res_odbc.c: Releasing ODBC handle 0x7f3110014000 into pool
  1822. [2020-12-16 16:12:15] DEBUG[26550] manager.c: Running action 'Login'
  1823. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1824. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1825. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1826. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1827. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1828. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1829. [2020-12-16 16:12:16] DEBUG[26550] manager.c: Running action 'Command'
  1830. [2020-12-16 16:12:17] DEBUG[26602] manager.c: Running action 'Login'
  1831. [2020-12-16 16:12:18] DEBUG[28077] res_pjsip_registrar.c: Woke up at 1608135138 Interval: 30
  1832. [2020-12-16 16:12:18] DEBUG[28077] res_pjsip_registrar.c: Expiring 0 contacts
  1833.  
  1834.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement