From clint, 8 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-08-28 13:25:04.174254 99.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5878445509@pelser.skybrevoip.co.za [e7112ae9-fba0-44b8-9356-db8294fb90fc]
  2. 2023-08-28 13:25:04.174254 99.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_NEW (Cur 1 Tot 369068)
  3. 2023-08-28 13:25:04.174254 99.30% [INFO] sofia.c:10453 sofia/default/5878445509@pelser.skybrevoip.co.za receiving invite from 103.240.35.46:47528 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: YWMzYTg2Y2RmMzM2NmRmNDMyOGIzMjNjZmUxM2RlZTE.
  4. 2023-08-28 13:25:04.174254 99.30% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2023-08-28 13:25:04.174254 99.30% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [0561100142@pelser.skybrevoip.co.za] from ip 103.240.35.46
  6. 2023-08-28 13:25:04.174254 99.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5878445509@pelser.skybrevoip.co.za) State NEW
  7. 2023-08-28 13:25:04.174254 99.30% [DEBUG] sofia.c:2419 detaching session e7112ae9-fba0-44b8-9356-db8294fb90fc
  8. 2023-08-28 13:25:05.194289 99.17% [DEBUG] sofia.c:2532 Re-attaching to session e7112ae9-fba0-44b8-9356-db8294fb90fc
  9. 2023-08-28 13:25:05.194289 99.17% [INFO] sofia.c:10453 sofia/default/5878445509@pelser.skybrevoip.co.za receiving invite from 103.240.35.46:47528 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: YWMzYTg2Y2RmMzM2NmRmNDMyOGIzMjNjZmUxM2RlZTE.
  10. 2023-08-28 13:25:05.194289 99.17% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2023-08-28 13:25:05.214271 99.17% [DEBUG] sofia.c:11668 Setting NAT mode based on via received
  12. 2023-08-28 13:25:05.214271 99.17% [DEBUG] sofia.c:7487 Channel sofia/default/5878445509@pelser.skybrevoip.co.za entering state [received][100]
  13. 2023-08-28 13:25:05.214271 99.17% [DEBUG] sofia.c:7497 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  29. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  32. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  34. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  36. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  40. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  41. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  42. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  43. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  44. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/5878445509@pelser.skybrevoip.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_codec.c:111 sofia/default/5878445509@pelser.skybrevoip.co.za Original read codec set to PCMA:8
  46. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  47. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_media.c:5850 sofia/default/5878445509@pelser.skybrevoip.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2023-08-28 13:25:05.214271 99.17% [DEBUG] sofia.c:7921 (sofia/default/5878445509@pelser.skybrevoip.co.za) State Change CS_NEW -> CS_INIT
  49. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_INIT (Cur 1 Tot 369068)
  50. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5878445509@pelser.skybrevoip.co.za) State INIT
  51. 2023-08-28 13:25:05.214271 99.17% [DEBUG] mod_sofia.c:97 sofia/default/5878445509@pelser.skybrevoip.co.za SOFIA INIT
  52. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/5878445509@pelser.skybrevoip.co.za Standard INIT
  53. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5878445509@pelser.skybrevoip.co.za) State Change CS_INIT -> CS_ROUTING
  54. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5878445509@pelser.skybrevoip.co.za) State INIT going to sleep
  55. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_ROUTING (Cur 1 Tot 369068)
  56. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_channel.c:2380 (sofia/default/5878445509@pelser.skybrevoip.co.za) Callstate Change DOWN -> RINGING
  57. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5878445509@pelser.skybrevoip.co.za) State ROUTING
  58. 2023-08-28 13:25:05.214271 99.17% [DEBUG] mod_sofia.c:158 sofia/default/5878445509@pelser.skybrevoip.co.za SOFIA ROUTING
  59. 2023-08-28 13:25:05.214271 99.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/5878445509@pelser.skybrevoip.co.za Standard ROUTING
  60. 2023-08-28 13:25:05.214271 99.17% [INFO] mod_dialplan_xml.c:639 Processing 5878445509 <5878445509>->0561100142 in context default
  61. 2023-08-28 13:25:05.214271 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  62. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  63. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  64. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  66. Event-Name: REQUEST_PARAMS
  67. Core-UUID: 13943694-e7af-4b6a-a61f-ced98a365d54
  68. FreeSWITCH-Hostname: voice
  69. FreeSWITCH-Switchname: voice
  70. FreeSWITCH-IPv4: 102.23.150.243
  71. FreeSWITCH-IPv6: %3A%3A1
  72. Event-Date-Local: 2023-08-28%2013%3A25%3A05
  73. Event-Date-GMT: Mon,%2028%20Aug%202023%2013%3A25%3A05%20GMT
  74. Event-Date-Timestamp: 1693229105214271
  75. Event-Calling-File: mod_dialplan_xml.c
  76. Event-Calling-Function: dialplan_xml_locate
  77. Event-Calling-Line-Number: 610
  78. Event-Sequence: 26026324
  79. Channel-State: CS_ROUTING
  80. Channel-Call-State: RINGING
  81. Channel-State-Number: 2
  82. Channel-Name: sofia/default/5878445509%40pelser.skybrevoip.co.za
  83. Unique-ID: e7112ae9-fba0-44b8-9356-db8294fb90fc
  84. Call-Direction: inbound
  85. Presence-Call-Direction: inbound
  86. Channel-HIT-Dialplan: true
  87. Channel-Presence-ID: 5878445509%40pelser.skybrevoip.co.za
  88. Channel-Call-UUID: e7112ae9-fba0-44b8-9356-db8294fb90fc
  89. Answer-State: ringing
  90. Channel-Read-Codec-Name: PCMA
  91. Channel-Read-Codec-Rate: 8000
  92. Channel-Read-Codec-Bit-Rate: 64000
  93. Channel-Write-Codec-Name: PCMA
  94. Channel-Write-Codec-Rate: 8000
  95. Channel-Write-Codec-Bit-Rate: 64000
  96. Caller-Direction: inbound
  97. Caller-Logical-Direction: inbound
  98. Caller-Username: 5878445509
  99. Caller-Dialplan: XML
  100. Caller-Caller-ID-Name: 5878445509
  101. Caller-Caller-ID-Number: 5878445509
  102. Caller-Orig-Caller-ID-Name: 5878445509
  103. Caller-Orig-Caller-ID-Number: 5878445509
  104. Caller-Network-Addr: 103.240.35.46
  105. Caller-ANI: 5878445509
  106. Caller-Destination-Number: 0561100142
  107. Caller-Unique-ID: e7112ae9-fba0-44b8-9356-db8294fb90fc
  108. Caller-Source: mod_sofia
  109. Caller-Context: default
  110. Caller-Channel-Name: sofia/default/5878445509%40pelser.skybrevoip.co.za
  111. Caller-Profile-Index: 1
  112. Caller-Profile-Created-Time: 1693229105214271
  113. Caller-Channel-Created-Time: 1693229105214271
  114. Caller-Channel-Answered-Time: 0
  115. Caller-Channel-Progress-Time: 0
  116. Caller-Channel-Progress-Media-Time: 0
  117. Caller-Channel-Hangup-Time: 0
  118. Caller-Channel-Transfer-Time: 0
  119. Caller-Channel-Resurrect-Time: 0
  120. Caller-Channel-Bridged-Time: 0
  121. Caller-Channel-Last-Hold: 0
  122. Caller-Channel-Hold-Accum: 0
  123. Caller-Screen-Bit: true
  124. Caller-Privacy-Hide-Name: false
  125. Caller-Privacy-Hide-Number: false
  126. variable_direction: inbound
  127. variable_uuid: e7112ae9-fba0-44b8-9356-db8294fb90fc
  128. variable_session_id: 369068
  129. variable_sip_from_params: transport%3DTCP
  130. variable_sip_from_user: 5878445509
  131. variable_sip_from_uri: 5878445509%40pelser.skybrevoip.co.za
  132. variable_sip_from_host: pelser.skybrevoip.co.za
  133. variable_video_media_flow: disabled
  134. variable_text_media_flow: disabled
  135. variable_channel_name: sofia/default/5878445509%40pelser.skybrevoip.co.za
  136. variable_sip_call_id: YWMzYTg2Y2RmMzM2NmRmNDMyOGIzMjNjZmUxM2RlZTE.
  137. variable_sip_local_network_addr: 102.23.150.242
  138. variable_sip_network_ip: 103.240.35.46
  139. variable_sip_network_port: 47528
  140. variable_sip_invite_stamp: 1693229105194289
  141. variable_sip_received_ip: 103.240.35.46
  142. variable_sip_received_port: 47528
  143. variable_sip_via_protocol: tcp
  144. variable_sip_authorized: true
  145. variable_Event-Name: REQUEST_PARAMS
  146. variable_Core-UUID: 13943694-e7af-4b6a-a61f-ced98a365d54
  147. variable_FreeSWITCH-Hostname: voice
  148. variable_FreeSWITCH-Switchname: voice
  149. variable_FreeSWITCH-IPv4: 102.23.150.243
  150. variable_FreeSWITCH-IPv6: %3A%3A1
  151. variable_Event-Date-Local: 2023-08-28%2013%3A25%3A05
  152. variable_Event-Date-GMT: Mon,%2028%20Aug%202023%2013%3A25%3A05%20GMT
  153. variable_Event-Date-Timestamp: 1693229105194289
  154. variable_Event-Calling-File: sofia.c
  155. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  156. variable_Event-Calling-Line-Number: 10716
  157. variable_Event-Sequence: 26026315
  158. variable_sip_number_alias: 5878445509
  159. variable_sip_auth_username: 5878445509
  160. variable_sip_auth_realm: pelser.skybrevoip.co.za
  161. variable_number_alias: 5878445509
  162. variable_requested_user_name: 5878445509
  163. variable_requested_domain_name: pelser.skybrevoip.co.za
  164. variable_effective_caller_id_name: Clint%20Test
  165. variable_effective_caller_id_number: 0871524652
  166. variable_user_context: default
  167. variable_sip-force-expires: 1800
  168. variable_sipcall: true
  169. variable_sip_user: 5878445509
  170. variable_accountcode: 2084621831
  171. variable_reseller_id: 0
  172. variable_accountid: 13
  173. variable_sipStatus: 0
  174. variable_user_name: 5878445509
  175. variable_domain_name: pelser.skybrevoip.co.za
  176. variable_sip_from_user_stripped: 5878445509
  177. variable_sip_from_tag: c039ac42
  178. variable_sofia_profile_name: default
  179. variable_sofia_profile_url: sip%3Amod_sofia%40102.23.150.242%3A5060
  180. variable_recovery_profile_name: default
  181. variable_sip_full_via: SIP/2.0/TCP%20192.168.1.43%3A53184%3Bbranch%3Dz9hG4bK-d8754z-edc4ed6112e19cfa-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D47528
  182. variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.43%3A53184%3Bbranch%3Dz9hG4bK-d8754z-edc4ed6112e19cfa-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D47528
  183. variable_sip_full_from: %3Csip%3A5878445509%40pelser.skybrevoip.co.za%3Btransport%3DTCP%3E%3Btag%3Dc039ac42
  184. variable_sip_full_to: %3Csip%3A0561100142%40pelser.skybrevoip.co.za%3Btransport%3DTCP%3E
  185. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  186. variable_sip_req_params: transport%3DTCP
  187. variable_sip_req_user: 0561100142
  188. variable_sip_req_uri: 0561100142%40pelser.skybrevoip.co.za
  189. variable_sip_req_host: pelser.skybrevoip.co.za
  190. variable_sip_to_params: transport%3DTCP
  191. variable_sip_to_user: 0561100142
  192. variable_sip_to_uri: 0561100142%40pelser.skybrevoip.co.za
  193. variable_sip_to_host: pelser.skybrevoip.co.za
  194. variable_sip_contact_params: transport%3DTCP
  195. variable_sip_contact_user: 5878445509
  196. variable_sip_contact_port: 53184
  197. variable_sip_contact_uri: 5878445509%40103.240.35.46%3A53184
  198. variable_sip_contact_host: 103.240.35.46
  199. variable_sip_user_agent: Z%203.3.25608%20r25552
  200. variable_sip_via_host: 192.168.1.43
  201. variable_sip_via_port: 53184
  202. variable_sip_via_rport: 47528
  203. variable_max_forwards: 70
  204. variable_presence_id: 5878445509%40pelser.skybrevoip.co.za
  205. variable_sip_nat_detected: true
  206. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.35.46%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.35.46%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
  207. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  208. variable_rtp_use_codec_string: PCMA,PCMU,G729,H264
  209. variable_remote_video_media_flow: inactive
  210. variable_remote_text_media_flow: inactive
  211. variable_remote_audio_media_flow: sendrecv
  212. variable_audio_media_flow: sendrecv
  213. variable_remote_media_ip: 103.240.35.46
  214. variable_remote_media_port: 8000
  215. variable_rtp_audio_recv_pt: 8
  216. variable_rtp_use_codec_name: PCMA
  217. variable_rtp_use_codec_rate: 8000
  218. variable_rtp_use_codec_ptime: 20
  219. variable_rtp_use_codec_channels: 1
  220. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  221. variable_read_codec: PCMA
  222. variable_original_read_codec: PCMA
  223. variable_read_rate: 8000
  224. variable_original_read_rate: 8000
  225. variable_write_codec: PCMA
  226. variable_write_rate: 8000
  227. variable_dtmf_type: rfc2833
  228. variable_endpoint_disposition: RECEIVED
  229. variable_call_uuid: e7112ae9-fba0-44b8-9356-db8294fb90fc
  230. Hunt-Direction: inbound
  231. Hunt-Logical-Direction: inbound
  232. Hunt-Username: 5878445509
  233. Hunt-Dialplan: XML
  234. Hunt-Caller-ID-Name: 5878445509
  235. Hunt-Caller-ID-Number: 5878445509
  236. Hunt-Orig-Caller-ID-Name: 5878445509
  237. Hunt-Orig-Caller-ID-Number: 5878445509
  238. Hunt-Network-Addr: 103.240.35.46
  239. Hunt-ANI: 5878445509
  240. Hunt-Destination-Number: 0561100142
  241. Hunt-Unique-ID: e7112ae9-fba0-44b8-9356-db8294fb90fc
  242. Hunt-Source: mod_sofia
  243. Hunt-Context: default
  244. Hunt-Channel-Name: sofia/default/5878445509%40pelser.skybrevoip.co.za
  245. Hunt-Profile-Index: 1
  246. Hunt-Profile-Created-Time: 1693229105214271
  247. Hunt-Channel-Created-Time: 1693229105214271
  248. Hunt-Channel-Answered-Time: 0
  249. Hunt-Channel-Progress-Time: 0
  250. Hunt-Channel-Progress-Media-Time: 0
  251. Hunt-Channel-Hangup-Time: 0
  252. Hunt-Channel-Transfer-Time: 0
  253. Hunt-Channel-Resurrect-Time: 0
  254. Hunt-Channel-Bridged-Time: 0
  255. Hunt-Channel-Last-Hold: 0
  256. Hunt-Channel-Hold-Accum: 0
  257. Hunt-Screen-Bit: true
  258. Hunt-Privacy-Hide-Name: false
  259. Hunt-Privacy-Hide-Number: false
  260.  
  261.  
  262. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  263. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  264. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  265. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  266. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  267. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0561100142
  268. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0561100142' limit 1
  269. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0561100142' AND status=0 limit 1
  270. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0561100142' and status=0 LIMIT 1
  271. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER5878445509
  272. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  273. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0561100142' limit 1
  274. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Clint Test / 0871524652
  275. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 1100142
  276. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 056 AND status=0 limit 1
  277. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  278. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  279. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  280. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  281. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  282. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  283. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  284. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  285. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  286. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0561100142" LIMIT 1
  287. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  288. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  289. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2084621831]
  290. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2084621831" AND deleted = 0 limit 1
  291. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =37
  292. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  293. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  294. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  295. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  296. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  297. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  298. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  299. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  300. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 37
  301. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^0561100142.*' OR patterns = '^056110014.*' OR patterns = '^05611001.*' OR patterns = '^0561100.*' OR patterns = '^056110.*' OR patterns = '^05611.*' OR patterns = '^0561.*' OR patterns = '^056.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 37 ORDER BY LENGTH(PKGPTR.patterns) DESC
  302. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0561100142" AND A.accountid = '13' limit 1
  303. 2023-08-28 13:25:05.234272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0561100142
  304. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  305. 2023-08-28 13:25:05.234272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  306. 2023-08-28 13:25:05.234272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  307. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  308. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  309. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  310. 2023-08-28 13:25:05.254272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  311. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  312. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  313. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0561100142" LIMIT 1
  314. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  315. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  316. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '0561100142' OR number = '056110014' OR number = '05611001' OR number = '0561100' OR number = '056110' OR number = '05611' OR number = '0561' OR number = '056' OR number = '05' OR number = '0' OR number ='--') OR (number = '0561100142*' OR number = '056110014*' OR number = '05611001*' OR number = '0561100*' OR number = '056110*' OR number = '05611*' OR number = '0561*' OR number = '056*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '0871524652' OR number = '087152465' OR number = '08715246' OR number = '0871524' OR number = '087152' OR number = '08715' OR number = '0871' OR number = '087' OR number = '08' OR number = '0' OR number ='--') OR (number = '0871524652*' OR number = '087152465*' OR number = '08715246*' OR number = '0871524*' OR number = '087152*' OR number = '08715*' OR number = '0871*' OR number = '087*' OR number = '08*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  317. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  318. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0561100142' OR routing_prefix = '056110014' OR routing_prefix = '05611001' OR routing_prefix = '0561100' OR routing_prefix = '056110' OR routing_prefix = '05611' OR routing_prefix = '0561' OR routing_prefix = '056' OR routing_prefix = '05' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  319. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  320. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
  321. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2084621831
  322. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =37
  323. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 998.7414
  324. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  325. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  326. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  327. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  328. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  329. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  330. 2023-08-28 13:25:05.254272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  331. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  332. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*/*/*".....0561100142
  333. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0561100142" LIMIT 1
  334. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  335. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  336. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 100
  337. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  338. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 27
  339. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  340. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  341. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  342. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 0561100142
  343. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  344. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
  345. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  346. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =37
  347. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your998.7414 balance Accountid 13 !!!
  348. 2023-08-28 13:25:05.254272 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  349. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  350. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  351. 2023-08-28 13:25:05.254272 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  352. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 13 AND status=0 LIMIT 1
  353. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "37" AND deleted = 0 limit 1
  354. 2023-08-28 13:25:05.254272 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =37
  355. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  356. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
  357. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  358. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 37 limit 1
  359. 2023-08-28 13:25:05.274275 99.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : oryx.skybrevoip.co.za
  360. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  361. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  362. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  363. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  364. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "5" AND accounts.status = 0
  365. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....Clint Test
  366. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....0871524652
  367. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....Clint Test
  368. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"27/0/*/*".....0871524652
  369. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 37 limit 1
  370. 2023-08-28 13:25:05.274275 99.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : oryx.skybrevoip.co.za
  371. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 37  and status = 0 limit 1
  372. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  373. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 37 or id = 37 ) and status = 0 limit 1
  374. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7
  375. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  376. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '37' LIMIT 1
  377. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  378. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  379. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  380. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 5 and status = 0 LIMIT 1
  381. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  382. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  383. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  384. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 37 limit 1
  385. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  386. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  387. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1]
  388. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9000"  AND domains.domain="oryx.skybrevoip.co.za" limit 1
  389. 2023-08-28 13:25:05.274275 99.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec : PCMA,G729,PCMU,H264
  390. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "9000"
  391. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Forwarding Destination Number :0810170157#
  392. 2023-08-28 13:25:05.274275 99.17% [ERR] mod_lua.cpp:202 ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:301: attempt to concatenate a nil value
  393. stack traceback:
  394.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:301: in function 'did_pbx_info'
  395.         ...ip_pbx/freeswitch/scripts/astpp/lib/addons/astpp.pbx.lua:2181: in function '?'
  396.         ./astpp/scripts/astpp.xml.lua:505: in function 'freeswitch_xml_inbound'
  397.         ./astpp/scripts/astpp.dialplan.lua:823: in main chunk
  398.         [C]: in function 'dofile'
  399.         /usr/local/freeswitch/scripts/astpp/astpp.lua:140: in main chunk
  400. 2023-08-28 13:25:05.274275 99.17% [ERR] mod_lua.cpp:269 LUA script parse/execute error!
  401. 2023-08-28 13:25:05.274275 99.17% [WARNING] mod_dialplan_xml.c:669 Context default not found
  402. 2023-08-28 13:25:05.274275 99.17% [INFO] switch_core_state_machine.c:306 No Route, Aborting
  403. 2023-08-28 13:25:05.274275 99.17% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/5878445509@pelser.skybrevoip.co.za [CS_ROUTING] [NO_ROUTE_DESTINATION]
  404. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5878445509@pelser.skybrevoip.co.za) State ROUTING going to sleep
  405. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_HANGUP (Cur 1 Tot 369068)
  406. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5878445509@pelser.skybrevoip.co.za) Callstate Change RINGING -> HANGUP
  407. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5878445509@pelser.skybrevoip.co.za) State HANGUP
  408. 2023-08-28 13:25:05.274275 99.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/5878445509@pelser.skybrevoip.co.za hanging up, cause: NO_ROUTE_DESTINATION
  409. 2023-08-28 13:25:05.274275 99.17% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  410. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/5878445509@pelser.skybrevoip.co.za Standard HANGUP, cause: NO_ROUTE_DESTINATION
  411. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5878445509@pelser.skybrevoip.co.za) State HANGUP going to sleep
  412. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5878445509@pelser.skybrevoip.co.za) State Change CS_HANGUP -> CS_REPORTING
  413. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_REPORTING (Cur 1 Tot 369068)
  414. 2023-08-28 13:25:05.274275 99.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5878445509@pelser.skybrevoip.co.za) State REPORTING
  415. 2023-08-28 13:25:05.274275 99.17% [INFO] mod_json_cdr.c:272 Process [e7112ae9-fba0-44b8-9356-db8294fb90fc.cdr.json]
  416. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/5878445509@pelser.skybrevoip.co.za Standard REPORTING, cause: NO_ROUTE_DESTINATION
  417. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5878445509@pelser.skybrevoip.co.za) State REPORTING going to sleep
  418. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5878445509@pelser.skybrevoip.co.za) State Change CS_REPORTING -> CS_DESTROY
  419. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_session.c:1743 Session 369068 (sofia/default/5878445509@pelser.skybrevoip.co.za) Locked, Waiting on external entities
  420. 2023-08-28 13:25:05.294271 99.17% [NOTICE] switch_core_session.c:1761 Session 369068 (sofia/default/5878445509@pelser.skybrevoip.co.za) Ended
  421. 2023-08-28 13:25:05.294271 99.17% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/5878445509@pelser.skybrevoip.co.za [CS_DESTROY]
  422. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5878445509@pelser.skybrevoip.co.za) Running State Change CS_DESTROY (Cur 0 Tot 369068)
  423. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5878445509@pelser.skybrevoip.co.za) State DESTROY
  424. 2023-08-28 13:25:05.294271 99.17% [DEBUG] mod_sofia.c:379 sofia/default/5878445509@pelser.skybrevoip.co.za SOFIA DESTROY
  425. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/5878445509@pelser.skybrevoip.co.za Standard DESTROY
  426. 2023-08-28 13:25:05.294271 99.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5878445509@pelser.skybrevoip.co.za) State DESTROY going to sleep
  427.