From test, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-04-20 13:54:33.135257 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [66e4daa0-bf28-4346-aaf5-a8ff30a05423]
  2. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_NEW (Cur 1 Tot 212)
  3. 2021-04-20 13:54:33.135257 [INFO] sofia.c:10362 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk receiving invite from 172.31.17.93:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: N2NmYTBlNzY5YmFiZmFmMTIxNTA0NWVhZWMwODBiYWE.
  4. 2021-04-20 13:54:33.135257 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 172.31.17.93:0.
  5. 2021-04-20 13:54:33.135257 [DEBUG] sofia.c:10485 IP 172.31.17.93 Approved by acl "default[]". Access Granted.
  6. 2021-04-20 13:54:33.135257 [DEBUG] sofia.c:7406 Channel sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk entering state [received][100]
  7. 2021-04-20 13:54:33.135257 [DEBUG] sofia.c:7416 Remote SDP:
  8. v=0
  9. o=Z 0 0 IN IP4 117.247.91.162
  10. s=Z
  11. c=IN IP4 117.247.91.162
  12. t=0 0
  13. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  14. a=rtpmap:110 speex/8000
  15. a=rtpmap:98 iLBC/8000
  16. a=fmtp:98 mode=20
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-15
  19.  
  20. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]
  21. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  22. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  23. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[G722:9:8000:20:64000:1]
  24. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  26. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  27. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  31. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  34. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G722:9:8000:20:64000:1]
  35. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  38. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  39. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_codec.c:111 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Original read codec set to PCMA:8
  40. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  41. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_media.c:5918 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2021-04-20 13:54:33.135257 [DEBUG] sofia.c:7840 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State Change CS_NEW -> CS_INIT
  43. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:604 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State NEW
  44. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_INIT (Cur 1 Tot 212)
  45. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State INIT
  46. 2021-04-20 13:54:33.135257 [DEBUG] mod_sofia.c:93 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk SOFIA INIT
  47. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:40 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard INIT
  48. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State Change CS_INIT -> CS_ROUTING
  49. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State INIT going to sleep
  50. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_ROUTING (Cur 1 Tot 212)
  51. 2021-04-20 13:54:33.135257 [DEBUG] switch_channel.c:2332 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Callstate Change DOWN -> RINGING
  52. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State ROUTING
  53. 2021-04-20 13:54:33.135257 [DEBUG] mod_sofia.c:154 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk SOFIA ROUTING
  54. 2021-04-20 13:54:33.135257 [DEBUG] switch_core_state_machine.c:236 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard ROUTING
  55. 2021-04-20 13:54:33.135257 [INFO] mod_dialplan_xml.c:637 Processing 8643613997 <8643613997>->60326186333 in context default
  56. 2021-04-20 13:54:33.135257 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  57. 2021-04-20 13:54:33.155339 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2021-04-20 13:54:33.175255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  59. Event-Name: REQUEST_PARAMS
  60. Core-UUID: cd7e11fb-1225-43fc-9ba6-9e1bfe87c41c
  61. FreeSWITCH-Hostname: ip-172-31-17-93
  62. FreeSWITCH-Switchname: ip-172-31-17-93
  63. FreeSWITCH-IPv4: 172.31.17.93
  64. FreeSWITCH-IPv6: %3A%3A1
  65. Event-Date-Local: 2021-04-20%2013%3A54%3A33
  66. Event-Date-GMT: Tue,%2020%20Apr%202021%2013%3A54%3A33%20GMT
  67. Event-Date-Timestamp: 1618926873135257
  68. Event-Calling-File: mod_dialplan_xml.c
  69. Event-Calling-Function: dialplan_xml_locate
  70. Event-Calling-Line-Number: 608
  71. Event-Sequence: 19262
  72. Channel-State: CS_ROUTING
  73. Channel-Call-State: RINGING
  74. Channel-State-Number: 2
  75. Channel-Name: sofia/default/8643613997%40HP62.sbc10.onqcommunications.co.uk
  76. Unique-ID: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  77. Call-Direction: inbound
  78. Presence-Call-Direction: inbound
  79. Channel-HIT-Dialplan: true
  80. Channel-Presence-ID: 8643613997%40HP62.sbc10.onqcommunications.co.uk
  81. Channel-Call-UUID: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  82. Answer-State: ringing
  83. Channel-Read-Codec-Name: PCMA
  84. Channel-Read-Codec-Rate: 8000
  85. Channel-Read-Codec-Bit-Rate: 64000
  86. Channel-Write-Codec-Name: PCMA
  87. Channel-Write-Codec-Rate: 8000
  88. Channel-Write-Codec-Bit-Rate: 64000
  89. Caller-Direction: inbound
  90. Caller-Logical-Direction: inbound
  91. Caller-Username: 8643613997
  92. Caller-Dialplan: XML
  93. Caller-Caller-ID-Name: 8643613997
  94. Caller-Caller-ID-Number: 8643613997
  95. Caller-Orig-Caller-ID-Name: 8643613997
  96. Caller-Orig-Caller-ID-Number: 8643613997
  97. Caller-Network-Addr: 172.31.17.93
  98. Caller-ANI: 8643613997
  99. Caller-Destination-Number: 60326186333
  100. Caller-Unique-ID: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  101. Caller-Source: mod_sofia
  102. Caller-Context: default
  103. Caller-Channel-Name: sofia/default/8643613997%40HP62.sbc10.onqcommunications.co.uk
  104. Caller-Profile-Index: 1
  105. Caller-Profile-Created-Time: 1618926873135257
  106. Caller-Channel-Created-Time: 1618926873135257
  107. Caller-Channel-Answered-Time: 0
  108. Caller-Channel-Progress-Time: 0
  109. Caller-Channel-Progress-Media-Time: 0
  110. Caller-Channel-Hangup-Time: 0
  111. Caller-Channel-Transfer-Time: 0
  112. Caller-Channel-Resurrect-Time: 0
  113. Caller-Channel-Bridged-Time: 0
  114. Caller-Channel-Last-Hold: 0
  115. Caller-Channel-Hold-Accum: 0
  116. Caller-Screen-Bit: true
  117. Caller-Privacy-Hide-Name: false
  118. Caller-Privacy-Hide-Number: false
  119. variable_direction: inbound
  120. variable_uuid: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  121. variable_session_id: 212
  122. variable_sip_from_params: transport%3DUDP
  123. variable_sip_from_user: 8643613997
  124. variable_sip_from_uri: 8643613997%40HP62.sbc10.onqcommunications.co.uk
  125. variable_sip_from_host: HP62.sbc10.onqcommunications.co.uk
  126. variable_video_media_flow: disabled
  127. variable_text_media_flow: disabled
  128. variable_channel_name: sofia/default/8643613997%40HP62.sbc10.onqcommunications.co.uk
  129. variable_sip_call_id: N2NmYTBlNzY5YmFiZmFmMTIxNTA0NWVhZWMwODBiYWE.
  130. variable_sip_local_network_addr: 18.141.84.176
  131. variable_sip_network_ip: 172.31.17.93
  132. variable_sip_network_port: 5060
  133. variable_sip_invite_stamp: 1618926873135257
  134. variable_sip_received_ip: 172.31.17.93
  135. variable_sip_received_port: 5060
  136. variable_sip_via_protocol: udp
  137. variable_sip_authorized: true
  138. variable_sip_acl_authed_by: default
  139. variable_sip_from_user_stripped: 8643613997
  140. variable_sip_from_tag: ea512360
  141. variable_sofia_profile_name: default
  142. variable_sofia_profile_url: sip%3Amod_sofia%4018.141.84.176%3A7777
  143. variable_recovery_profile_name: default
  144. variable_sip_invite_route_uri: %3Csip%3A18.141.84.176%3Blr%3Bdid%3D746.6ae51f23%3E
  145. variable_sip_invite_record_route: %3Csip%3A18.141.84.176%3Blr%3Bdid%3D746.6ae51f23%3E
  146. variable_sip_full_via: SIP/2.0/UDP%2018.141.84.176%3A5060%3Bbranch%3Dz9hG4bKb76c.bd2afa25.0%3Breceived%3D172.31.17.93,SIP/2.0/UDP%20117.247.91.162%3A58747%3Bbranch%3Dz9hG4bK-d8754z-f49217afdeb71e9a-1---d8754z-
  147. variable_sip_full_from: %3Csip%3A8643613997%40HP62.sbc10.onqcommunications.co.uk%3Btransport%3DUDP%3E%3Btag%3Dea512360
  148. variable_sip_full_to: %3Csip%3A60326186333%40HP62.sbc10.onqcommunications.co.uk%3Btransport%3DUDP%3E
  149. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  150. variable_sip_req_params: transport%3DUDP
  151. variable_sip_req_user: 60326186333
  152. variable_sip_req_uri: 60326186333%40HP62.sbc10.onqcommunications.co.uk
  153. variable_sip_req_host: HP62.sbc10.onqcommunications.co.uk
  154. variable_sip_to_params: transport%3DUDP
  155. variable_sip_to_user: 60326186333
  156. variable_sip_to_uri: 60326186333%40HP62.sbc10.onqcommunications.co.uk
  157. variable_sip_to_host: HP62.sbc10.onqcommunications.co.uk
  158. variable_sip_contact_params: transport%3DUDP
  159. variable_sip_contact_user: 8643613997
  160. variable_sip_contact_port: 58747
  161. variable_sip_contact_uri: 8643613997%40117.247.91.162%3A58747
  162. variable_sip_contact_host: 117.247.91.162
  163. variable_sip_user_agent: Z%203.3.25608%20r25552
  164. variable_sip_via_host: 18.141.84.176
  165. variable_sip_via_port: 5060
  166. variable_max_forwards: 30
  167. variable_presence_id: 8643613997%40HP62.sbc10.onqcommunications.co.uk
  168. variable_sip_h_X-AUTH-IP: 117.247.91.162
  169. variable_sip_h_P-Prefix: %3Cnull%3E
  170. variable_sip_h_P-Accountcode: 2542853412
  171. variable_sip_h_P-effective_caller_id_name: 8643613997
  172. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20117.247.91.162%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20117.247.91.162%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
  173. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  174. variable_rtp_use_codec_string: OPUS,G722,PCMA,PCMU,H264
  175. variable_remote_video_media_flow: inactive
  176. variable_remote_text_media_flow: inactive
  177. variable_remote_audio_media_flow: sendrecv
  178. variable_audio_media_flow: sendrecv
  179. variable_remote_media_ip: 117.247.91.162
  180. variable_remote_media_port: 8000
  181. variable_rtp_audio_recv_pt: 8
  182. variable_rtp_use_codec_name: PCMA
  183. variable_rtp_use_codec_rate: 8000
  184. variable_rtp_use_codec_ptime: 20
  185. variable_rtp_use_codec_channels: 1
  186. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  187. variable_read_codec: PCMA
  188. variable_original_read_codec: PCMA
  189. variable_read_rate: 8000
  190. variable_original_read_rate: 8000
  191. variable_write_codec: PCMA
  192. variable_write_rate: 8000
  193. variable_dtmf_type: rfc2833
  194. variable_endpoint_disposition: RECEIVED
  195. variable_call_uuid: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  196. Hunt-Direction: inbound
  197. Hunt-Logical-Direction: inbound
  198. Hunt-Username: 8643613997
  199. Hunt-Dialplan: XML
  200. Hunt-Caller-ID-Name: 8643613997
  201. Hunt-Caller-ID-Number: 8643613997
  202. Hunt-Orig-Caller-ID-Name: 8643613997
  203. Hunt-Orig-Caller-ID-Number: 8643613997
  204. Hunt-Network-Addr: 172.31.17.93
  205. Hunt-ANI: 8643613997
  206. Hunt-Destination-Number: 60326186333
  207. Hunt-Unique-ID: 66e4daa0-bf28-4346-aaf5-a8ff30a05423
  208. Hunt-Source: mod_sofia
  209. Hunt-Context: default
  210. Hunt-Channel-Name: sofia/default/8643613997%40HP62.sbc10.onqcommunications.co.uk
  211. Hunt-Profile-Index: 1
  212. Hunt-Profile-Created-Time: 1618926873135257
  213. Hunt-Channel-Created-Time: 1618926873135257
  214. Hunt-Channel-Answered-Time: 0
  215. Hunt-Channel-Progress-Time: 0
  216. Hunt-Channel-Progress-Media-Time: 0
  217. Hunt-Channel-Hangup-Time: 0
  218. Hunt-Channel-Transfer-Time: 0
  219. Hunt-Channel-Resurrect-Time: 0
  220. Hunt-Channel-Bridged-Time: 0
  221. Hunt-Channel-Last-Hold: 0
  222. Hunt-Channel-Hold-Accum: 0
  223. Hunt-Screen-Bit: true
  224. Hunt-Privacy-Hide-Name: false
  225. Hunt-Privacy-Hide-Number: false
  226.  
  227.  
  228. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  229. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  230. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  231. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  232. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] blind_flag: 0
  233. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 60326186333
  234. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '60326186333' limit 1
  235. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '60326186333' AND status=0 limit 1
  236. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '60326186333' and status=0 LIMIT 1
  237. 2021-04-20 13:54:33.175255 [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] in custom Caller ID
  238. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8643613997 / 8643613997
  239. 2021-04-20 13:54:33.175255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] HARSH2: 4
  240. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1
  241. 2021-04-20 13:54:33.175255 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="60326186333" LIMIT 1
  242. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="60326186333"  AND domains.domain="HP62.sbc10.onqcommunications.co.uk" limit 1
  243. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  244. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2542853412]
  245. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2542853412" AND deleted = 0 limit 1
  246. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^60326186333.*' OR blocked_patterns = '^6032618633.*' OR blocked_patterns = '^603261863.*' OR blocked_patterns = '^60326186.*' OR blocked_patterns = '^6032618.*' OR blocked_patterns = '^603261.*' OR blocked_patterns = '^60326.*' OR blocked_patterns = '^6032.*' OR blocked_patterns = '^603.*' OR blocked_patterns = '^60.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 89 limit 1
  247. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER ===: 89
  248. 2021-04-20 13:54:33.175255 [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 ="60326186333" AND A.accountid = '89' limit 1
  249. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 60326186333
  250. 2021-04-20 13:54:33.175255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] HARSH2: 4
  251. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1
  252. 2021-04-20 13:54:33.175255 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="60326186333" LIMIT 1
  253. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation 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="60326186333"  AND domains.domain="HP62.sbc10.onqcommunications.co.uk" limit 1
  254. 2021-04-20 13:54:33.175255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  255. 2021-04-20 13:54:33.175255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] HARSH2: 4
  256. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 4 AND status=0 limit 1
  257. 2021-04-20 13:54:33.175255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="60326186333" AND (accountid = 0 OR status = 1) LIMIT 1
  258. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] HARSH1: 1
  259. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  260. 2021-04-20 13:54:33.195251 [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 (patterns = '^60326186333.*' OR patterns = '^6032618633.*' OR patterns = '^603261863.*' OR patterns = '^60326186.*' OR patterns = '^6032618.*' OR patterns = '^603261.*' OR patterns = '^60326.*' OR patterns = '^6032.*' OR patterns = '^603.*' OR patterns = '^60.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 89 ORDER BY LENGTH(PKGPTR.patterns) DESC
  261. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '60326186333' OR number = '6032618633' OR number = '603261863' OR number = '60326186' OR number = '6032618' OR number = '603261' OR number = '60326' OR number = '6032' OR number = '603' OR number = '60' OR number = '6' OR number ='--') OR (number = '60326186333*' OR number = '6032618633*' OR number = '603261863*' OR number = '60326186*' OR number = '6032618*' OR number = '603261*' OR number = '60326*' OR number = '6032*' OR number = '603*' OR number = '60*' OR number = '6*' OR number ='--') OR (number = '8643613997' OR number = '864361399' OR number = '86436139' OR number = '8643613' OR number = '864361' OR number = '86436' OR number = '8643' OR number = '864' OR number = '86' OR number = '8' OR number ='--') OR (number = '8643613997*' OR number = '864361399*' OR number = '86436139*' OR number = '8643613*' OR number = '864361*' OR number = '86436*' OR number = '8643*' OR number = '864*' OR number = '86*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  262. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  263. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '60326186333' OR routing_prefix = '6032618633' OR routing_prefix = '603261863' OR routing_prefix = '60326186' OR routing_prefix = '6032618' OR routing_prefix = '603261' OR routing_prefix = '60326' OR routing_prefix = '6032' OR routing_prefix = '603' OR routing_prefix = '60' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  264. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (60326186333)!!!!
  265. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (60326186333)!!!!
  266. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  267. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 89
  268. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2542853412
  269. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 443.0249
  270. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  271. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 71
  272. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  273. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  274. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0
  275. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  276. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Caller Number :8643613997
  277. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^60326186333.*' OR pattern = '^6032618633.*' OR pattern = '^603261863.*' OR pattern = '^60326186.*' OR pattern = '^6032618.*' OR pattern = '^603261.*' OR pattern = '^60326.*' OR pattern = '^6032.*' OR pattern = '^603.*' OR pattern = '^60.*' OR pattern = '^6.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 71 OR accountid=89)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  278. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Call ID Presentation :60378901199
  279. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Caller Number 11:60378901199
  280. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  281. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  282. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1480953
  283. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  284. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  285. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.07000
  286. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] comment : Malaysia
  287. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 117
  288. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 89
  289. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 27
  290. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 0
  291. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  292. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your443.0249 balance Accountid 89 !!!
  293. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 600 mins!
  294. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 600 minutes
  295. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1480953
  296. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :27
  297. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^60326186333.*' OR pattern = '^6032618633.*' OR pattern = '^603261863.*' OR pattern = '^60326186.*' OR pattern = '^6032618.*' OR pattern = '^603261.*' OR pattern = '^60326.*' OR pattern = '^6032.*' OR pattern = '^603.*' OR pattern = '^60.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (27)  ORDER by FIELD(TR.trunk_id,27),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
  298. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  299. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 994686
  300. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^60.*
  301. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Malaysia
  302. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  303. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  304. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^60.*
  305. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  306. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  307. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 27
  308. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : RedtonePrimary
  309. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  310. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  311. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 93
  312. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 5
  313. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : RedtonePrimary
  314. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  315. 2021-04-20 13:54:33.195251 [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 = 89 AND status=0 LIMIT 1
  316. 2021-04-20 13:54:33.195251 [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 600
  317. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0
  318. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 93) AND status=0 limit 1
  319. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 60326186333
  320. 2021-04-20 13:54:33.195251 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0326186333
  321. 2021-04-20 13:54:33.195251 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  322. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  323. <document type="freeswitch/xml">
  324. <section name="dialplan" description="ASTPP Dialplan">
  325. <context name="default">
  326. <extension name="60326186333">
  327. <condition field="destination_number" expression="60326186333">
  328. <action application="set" data="effective_destination_number=60326186333"/>
  329. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  330. <action application="set" data="bridge_pre_execute_bleg_data=+36000 normal_clearing"/>
  331. <action application="set" data="callstart=2021-04-20 13:54:33"/>
  332. <action application="set" data="hangup_after_bridge=true"/>
  333. <action application="set" data="continue_on_fail=TRUE"/>
  334. <action application="set" data="account_id=89"/>
  335. <action application="set" data="parent_id=0"/>
  336. <action application="set" data="entity_id=0"/>
  337. <action application="set" data="call_processed=internal"/>
  338. <action application="set" data="call_direction=outbound"/>
  339. <action application="set" data="accountname=default"/>
  340. <action application="set" data="filename1=astpp.pbx.lua"/>
  341. <action application="set" data="origination_rates=ID:1480953|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:60|INITIALBLOCK:60|RATEGROUP:71|MARKUP:0|CI:117|ACCID:89"/>
  342. <action application="set" data="original_caller_id_name=8643613997"/>
  343. <action application="set" data="original_caller_id_number=8643613997"/>
  344.  
  345. <action application="set" data="effective_caller_id_name=8643613997"/>
  346. <action application="set" data="effective_caller_id_number=8643613997"/>
  347. <action application="set" data="calltype=STANDARD"/>
  348. <action application="set" data="termination_rates=ID:994686|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:60|INITIALBLOCK:60|TRUNK:27|PROVIDER:93"/>
  349. <action application="set" data="trunk_id=27"/>
  350. <action application="set" data="provider_id=93"/>
  351. <action application="set" data="rate_flag=0"/>
  352. <action application="set" data="force_trunk_flag=1480953"/>
  353. <action application="export" data="presence_data=trunk_id=27"/>
  354. <action application="set" data="intcall=0"/>
  355. <action application="export" data="presence_data=x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162"/>
  356. <action application="limit" data="hash CPS_27 CPS_trunk_27 3/1 !SWITCH_CONGESTION"/>
  357. <action application="limit_execute" data="db RedtonePrimary gw_RedtonePrimary 5 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/RedtonePrimary/0326186333;fs_path=sip:172.31.17.93:5060"/>
  358. </condition>
  359. </extension>
  360. </context>
  361. </section>
  362. </document>
  363. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk parsing [default->60326186333] continue=false
  364. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Regex (PASS) [60326186333] destination_number(60326186333) =~ /60326186333/ break=on-false
  365. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(effective_destination_number=60326186333)
  366. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(bridge_pre_execute_bleg_app=sched_hangup)
  367. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(bridge_pre_execute_bleg_data=+36000 normal_clearing)
  368. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(callstart=2021-04-20 13:54:33)
  369. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(hangup_after_bridge=true)
  370. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(continue_on_fail=TRUE)
  371. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(account_id=89)
  372. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(parent_id=0)
  373. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(entity_id=0)
  374. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(call_processed=internal)
  375. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(call_direction=outbound)
  376. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(accountname=default)
  377. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(filename1=astpp.pbx.lua)
  378. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(origination_rates=ID:1480953|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:60|INITIALBLOCK:60|RATEGROUP:71|MARKUP:0|CI:117|ACCID:89)
  379. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(original_caller_id_name=8643613997)
  380. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(original_caller_id_number=8643613997)
  381. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(effective_caller_id_name=8643613997)
  382. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(effective_caller_id_number=8643613997)
  383. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(calltype=STANDARD)
  384. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(termination_rates=ID:994686|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:60|INITIALBLOCK:60|TRUNK:27|PROVIDER:93)
  385. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(trunk_id=27)
  386. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(provider_id=93)
  387. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(rate_flag=0)
  388. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(force_trunk_flag=1480953)
  389. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action export(presence_data=trunk_id=27)
  390. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action set(intcall=0)
  391. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action export(presence_data=x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162)
  392. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action limit(hash CPS_27 CPS_trunk_27 3/1 !SWITCH_CONGESTION)
  393. Dialplan: sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Action limit_execute(db RedtonePrimary gw_RedtonePrimary 5 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/RedtonePrimary/0326186333;fs_path=sip:172.31.17.93:5060)
  394. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:287 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State Change CS_ROUTING -> CS_EXECUTE
  395. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State ROUTING going to sleep
  396. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_EXECUTE (Cur 1 Tot 212)
  397. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:651 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State EXECUTE
  398. 2021-04-20 13:54:33.195251 [DEBUG] mod_sofia.c:209 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk SOFIA EXECUTE
  399. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:329 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard EXECUTE
  400. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(effective_destination_number=60326186333)
  401. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [effective_destination_number]=[60326186333]
  402. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(bridge_pre_execute_bleg_app=sched_hangup)
  403. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [bridge_pre_execute_bleg_app]=[sched_hangup]
  404. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(bridge_pre_execute_bleg_data=+36000 normal_clearing)
  405. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [bridge_pre_execute_bleg_data]=[+36000 normal_clearing]
  406. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(callstart=2021-04-20 13:54:33)
  407. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [callstart]=[2021-04-20 13:54:33]
  408. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(hangup_after_bridge=true)
  409. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [hangup_after_bridge]=[true]
  410. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(continue_on_fail=TRUE)
  411. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [continue_on_fail]=[TRUE]
  412. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(account_id=89)
  413. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [account_id]=[89]
  414. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(parent_id=0)
  415. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [parent_id]=[0]
  416. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(entity_id=0)
  417. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [entity_id]=[0]
  418. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(call_processed=internal)
  419. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [call_processed]=[internal]
  420. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(call_direction=outbound)
  421. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [call_direction]=[outbound]
  422. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(accountname=default)
  423. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [accountname]=[default]
  424. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(filename1=astpp.pbx.lua)
  425. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [filename1]=[astpp.pbx.lua]
  426. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(origination_rates=ID:1480953|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:60|INITIALBLOCK:60|RATEGROUP:71|MARKUP:0|CI:117|ACCID:89)
  427. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [origination_rates]=[ID:1480953|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.07000|INC:60|INITIALBLOCK:60|RATEGROUP:71|MARKUP:0|CI:117|ACCID:89]
  428. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(original_caller_id_name=8643613997)
  429. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [original_caller_id_name]=[8643613997]
  430. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(original_caller_id_number=8643613997)
  431. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [original_caller_id_number]=[8643613997]
  432. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(effective_caller_id_name=8643613997)
  433. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [effective_caller_id_name]=[8643613997]
  434. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(effective_caller_id_number=8643613997)
  435. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [effective_caller_id_number]=[8643613997]
  436. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(calltype=STANDARD)
  437. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [calltype]=[STANDARD]
  438. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(termination_rates=ID:994686|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:60|INITIALBLOCK:60|TRUNK:27|PROVIDER:93)
  439. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [termination_rates]=[ID:994686|CODE:^60.*|DESTINATION:Malaysia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.03500|INC:60|INITIALBLOCK:60|TRUNK:27|PROVIDER:93]
  440. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(trunk_id=27)
  441. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [trunk_id]=[27]
  442. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(provider_id=93)
  443. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [provider_id]=[93]
  444. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(rate_flag=0)
  445. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [rate_flag]=[0]
  446. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(force_trunk_flag=1480953)
  447. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [force_trunk_flag]=[1480953]
  448. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk export(presence_data=trunk_id=27)
  449. 2021-04-20 13:54:33.195251 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=27]
  450. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk set(intcall=0)
  451. 2021-04-20 13:54:33.195251 [DEBUG] mod_dptools.c:1685 SET sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [intcall]=[0]
  452. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk export(presence_data=x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162)
  453. 2021-04-20 13:54:33.195251 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162]
  454. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk limit(hash CPS_27 CPS_trunk_27 3/1 !SWITCH_CONGESTION)
  455. 2021-04-20 13:54:33.195251 [DEBUG] switch_limit.c:124 incr called: CPS_27_CPS_trunk_27 max:3, interval:1
  456. 2021-04-20 13:54:33.195251 [DEBUG] mod_hash.c:198 Usage for CPS_27_CPS_trunk_27 is now 1/3 for the last 1 seconds
  457. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk limit_execute(db RedtonePrimary gw_RedtonePrimary 5 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/RedtonePrimary/0326186333;fs_path=sip:172.31.17.93:5060)
  458. 2021-04-20 13:54:33.195251 [DEBUG] switch_limit.c:124 incr called: RedtonePrimary_gw_RedtonePrimary max:5, interval:0
  459. 2021-04-20 13:54:33.195251 [DEBUG] mod_db.c:194 Usage for RedtonePrimary_gw_RedtonePrimary is now 1/5
  460. EXECUTE [depth=0] sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/RedtonePrimary/0326186333;fs_path=sip:172.31.17.93:5060)
  461. 2021-04-20 13:54:33.195251 [DEBUG] switch_channel.c:1264 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk EXPORTING[export_vars] [presence_data]=[x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162] to event
  462. 2021-04-20 13:54:33.195251 [DEBUG] switch_channel.c:1264 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk EXPORTING[export_vars] [presence_data]=[x|||HP(2542853412)|||^60.* // Malaysia // 0.07000 // trunk_id=27|||RedtonePrimary // ^60.* // Malaysia // 0.03500 // trunk_id=27|||STD|||117.247.91.162] to event
  463. 2021-04-20 13:54:33.195251 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  464. 2021-04-20 13:54:33.195251 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  465. 2021-04-20 13:54:33.195251 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0326186333 [b9848a95-e77e-404d-b0d1-8c1009c50c15]
  466. 2021-04-20 13:54:33.195251 [DEBUG] mod_sofia.c:5102 (sofia/default/0326186333) State Change CS_NEW -> CS_INIT
  467. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0326186333) Running State Change CS_INIT (Cur 2 Tot 213)
  468. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0326186333) State INIT
  469. 2021-04-20 13:54:33.195251 [DEBUG] mod_sofia.c:93 sofia/default/0326186333 SOFIA INIT
  470. 2021-04-20 13:54:33.195251 [DEBUG] sofia_glue.c:1590 sip:172.31.17.93:5060 Setting proxy route to sofia/default/0326186333
  471. 2021-04-20 13:54:33.195251 [INFO] sofia_glue.c:1621 sofia/default/0326186333 sending invite call-id: (null)
  472. 2021-04-20 13:54:33.195251 [DEBUG] sofia_glue.c:1624 sofia/default/0326186333 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  473. Local SDP:
  474. v=0
  475. o=FreeSWITCH 1618899977 1618899978 IN IP4 172.31.17.93
  476. s=FreeSWITCH
  477. c=IN IP4 172.31.17.93
  478. t=0 0
  479. m=audio 26896 RTP/AVP 8 0 101
  480. a=rtpmap:8 PCMA/8000
  481. a=rtpmap:0 PCMU/8000
  482. a=rtpmap:101 telephone-event/8000
  483. a=fmtp:101 0-16
  484. a=ptime:20
  485. a=sendrecv
  486.  
  487. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:40 sofia/default/0326186333 Standard INIT
  488. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0326186333) State Change CS_INIT -> CS_ROUTING
  489. 2021-04-20 13:54:33.195251 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0326186333) State INIT going to sleep
  490. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0326186333) Running State Change CS_ROUTING (Cur 2 Tot 213)
  491. 2021-04-20 13:54:33.215252 [DEBUG] sofia.c:7406 Channel sofia/default/0326186333 entering state [calling][0]
  492. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0326186333) State ROUTING
  493. 2021-04-20 13:54:33.215252 [DEBUG] mod_sofia.c:154 sofia/default/0326186333 SOFIA ROUTING
  494. 2021-04-20 13:54:33.215252 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0326186333) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  495. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0326186333) State ROUTING going to sleep
  496. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0326186333) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 213)
  497. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0326186333) State CONSUME_MEDIA
  498. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0326186333) State CONSUME_MEDIA going to sleep
  499. 2021-04-20 13:54:33.215252 [DEBUG] sofia.c:7406 Channel sofia/default/0326186333 entering state [terminated][403]
  500. 2021-04-20 13:54:33.215252 [NOTICE] sofia.c:8641 Hangup sofia/default/0326186333 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  501. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0326186333) Running State Change CS_HANGUP (Cur 2 Tot 213)
  502. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0326186333) Callstate Change DOWN -> HANGUP
  503. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0326186333) State HANGUP
  504. 2021-04-20 13:54:33.215252 [DEBUG] mod_sofia.c:453 Channel sofia/default/0326186333 hanging up, cause: CALL_REJECTED
  505. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:60 sofia/default/0326186333 Standard HANGUP, cause: CALL_REJECTED
  506. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0326186333) State HANGUP going to sleep
  507. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0326186333) State Change CS_HANGUP -> CS_REPORTING
  508. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0326186333) Running State Change CS_REPORTING (Cur 2 Tot 213)
  509. 2021-04-20 13:54:33.215252 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0326186333) State REPORTING
  510. 2021-04-20 13:54:33.215252 [INFO] mod_json_cdr.c:271 Process [b9848a95-e77e-404d-b0d1-8c1009c50c15.cdr.json]
  511. 2021-04-20 13:54:33.235247 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  512. 2021-04-20 13:54:33.235247 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: CALL_REJECTED
  513. 2021-04-20 13:54:33.235247 [INFO] mod_dptools.c:4917 immediately releasing
  514. 2021-04-20 13:54:33.235247 [NOTICE] switch_core_state_machine.c:386 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk has executed the last dialplan instruction, hanging up.
  515. 2021-04-20 13:54:33.235247 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [CS_EXECUTE] [NORMAL_CLEARING]
  516. 2021-04-20 13:54:33.235247 [DEBUG] mod_hash.c:296 Usage for CPS_27_CPS_trunk_27 is now 0
  517. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:651 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State EXECUTE going to sleep
  518. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_HANGUP (Cur 2 Tot 213)
  519. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Callstate Change RINGING -> HANGUP
  520. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State HANGUP
  521. 2021-04-20 13:54:33.235247 [DEBUG] mod_sofia.c:447 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Overriding SIP cause 480 with 403 from the other leg
  522. 2021-04-20 13:54:33.235247 [DEBUG] mod_sofia.c:453 Channel sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk hanging up, cause: NORMAL_CLEARING
  523. 2021-04-20 13:54:33.235247 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 403
  524. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:60 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard HANGUP, cause: NORMAL_CLEARING
  525. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State HANGUP going to sleep
  526. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State Change CS_HANGUP -> CS_REPORTING
  527. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_REPORTING (Cur 2 Tot 213)
  528. 2021-04-20 13:54:33.235247 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State REPORTING
  529. 2021-04-20 13:54:33.235247 [INFO] mod_json_cdr.c:271 Process [66e4daa0-bf28-4346-aaf5-a8ff30a05423.cdr.json]
  530. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:174 sofia/default/0326186333 Standard REPORTING, cause: CALL_REJECTED
  531. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0326186333) State REPORTING going to sleep
  532. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0326186333) State Change CS_REPORTING -> CS_DESTROY
  533. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_session.c:1736 Session 213 (sofia/default/0326186333) Locked, Waiting on external entities
  534. 2021-04-20 13:54:34.075246 [NOTICE] switch_core_session.c:1754 Session 213 (sofia/default/0326186333) Ended
  535. 2021-04-20 13:54:34.075246 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/0326186333 [CS_DESTROY]
  536. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0326186333) Running State Change CS_DESTROY (Cur 1 Tot 213)
  537. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0326186333) State DESTROY
  538. 2021-04-20 13:54:34.075246 [DEBUG] mod_sofia.c:364 sofia/default/0326186333 SOFIA DESTROY
  539. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:181 sofia/default/0326186333 Standard DESTROY
  540. 2021-04-20 13:54:34.075246 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0326186333) State DESTROY going to sleep
  541. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:174 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard REPORTING, cause: NORMAL_CLEARING
  542. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State REPORTING going to sleep
  543. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State Change CS_REPORTING -> CS_DESTROY
  544. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_session.c:1736 Session 212 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Locked, Waiting on external entities
  545. 2021-04-20 13:54:34.395258 [NOTICE] switch_core_session.c:1754 Session 212 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Ended
  546. 2021-04-20 13:54:34.395258 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk [CS_DESTROY]
  547. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) Running State Change CS_DESTROY (Cur 0 Tot 213)
  548. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State DESTROY
  549. 2021-04-20 13:54:34.395258 [DEBUG] mod_sofia.c:364 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk SOFIA DESTROY
  550. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:181 sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk Standard DESTROY
  551. 2021-04-20 13:54:34.395258 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8643613997@HP62.sbc10.onqcommunications.co.uk) State DESTROY going to sleep