From Ruchita, 3 Years ago, written in Plain Text.
- view diff
Embed
  1. 2020-10-27 11:23:17.765810 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  2. 2020-10-27 11:23:25.485807 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  3. 2020-10-27 11:23:32.185821 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  4. 2020-10-27 11:23:41.925812 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  5. 2020-10-27 11:23:47.665809 [NOTICE] switch_channel.c:1118 New Channel sofia/default/018888388@192.168.8.6 [bc6ca164-db08-42c8-895e-df1d47d4fd44]
  6. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_NEW (Cur 1 Tot 8860)
  7. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:10243 sofia/default/018888388@192.168.8.6 receiving invite from 192.168.8.6:5060 version: 1.10.1 -release-12-f9990221e6 64bit
  8. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 192.168.8.6:0.
  9. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:10366 IP 192.168.8.6 Approved by acl "default[]". Access Granted.
  10. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:7290 Channel sofia/default/018888388@192.168.8.6 entering state [received][100]
  11. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:7300 Remote SDP:
  12. v=0
  13. o=- 1083192432 1083192432 IN IP4 192.168.8.6
  14. s=Asterisk
  15. c=IN IP4 192.168.8.6
  16. t=0 0
  17. m=audio 18272 RTP/AVP 0 8 3 111 9 101
  18. a=rtpmap:0 PCMU/8000
  19. a=rtpmap:8 PCMA/8000
  20. a=rtpmap:3 GSM/8000
  21. a=rtpmap:111 G726-32/8000
  22. a=rtpmap:9 G722/8000
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-16
  25. a=ptime:20
  26. a=maxptime:150
  27.  
  28. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  31. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  35. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  36. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000
  41. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/018888388@192.168.8.6 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  42. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_codec.c:111 sofia/default/018888388@192.168.8.6 Original read codec set to PCMU:0
  43. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000
  44. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_media.c:5907 sofia/default/018888388@192.168.8.6 Set 2833 dtmf send payload to 101 recv payload to 101
  45. 2020-10-27 11:23:47.665809 [DEBUG] sofia.c:7724 (sofia/default/018888388@192.168.8.6) State Change CS_NEW -> CS_INIT
  46. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:604 (sofia/default/018888388@192.168.8.6) State NEW
  47. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_INIT (Cur 1 Tot 8860)
  48. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:628 (sofia/default/018888388@192.168.8.6) State INIT
  49. 2020-10-27 11:23:47.665809 [DEBUG] mod_sofia.c:93 sofia/default/018888388@192.168.8.6 SOFIA INIT
  50. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:40 sofia/default/018888388@192.168.8.6 Standard INIT
  51. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:48 (sofia/default/018888388@192.168.8.6) State Change CS_INIT -> CS_ROUTING
  52. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:628 (sofia/default/018888388@192.168.8.6) State INIT going to sleep
  53. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_ROUTING (Cur 1 Tot 8860)
  54. 2020-10-27 11:23:47.665809 [DEBUG] switch_channel.c:2332 (sofia/default/018888388@192.168.8.6) Callstate Change DOWN -> RINGING
  55. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:644 (sofia/default/018888388@192.168.8.6) State ROUTING
  56. 2020-10-27 11:23:47.665809 [DEBUG] mod_sofia.c:154 sofia/default/018888388@192.168.8.6 SOFIA ROUTING
  57. 2020-10-27 11:23:47.665809 [DEBUG] switch_core_state_machine.c:236 sofia/default/018888388@192.168.8.6 Standard ROUTING
  58. 2020-10-27 11:23:47.665809 [INFO] mod_dialplan_xml.c:637 Processing 018888388 <018888388>->9088999989 in context default
  59. 2020-10-27 11:23:47.685813 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  60. 2020-10-27 11:23:47.685813 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2020-10-27 11:23:47.745817 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  62. Event-Name: REQUEST_PARAMS
  63. Core-UUID: f0e00936-3fce-4a2b-af76-c25556ae0e1a
  64. FreeSWITCH-Hostname: soultech
  65. FreeSWITCH-Switchname: soultech
  66. FreeSWITCH-IPv4: 192.168.8.3
  67. FreeSWITCH-IPv6: %3A%3A1
  68. Event-Date-Local: 2020-10-27%2011%3A23%3A47
  69. Event-Date-GMT: Tue,%2027%20Oct%202020%2010%3A23%3A47%20GMT
  70. Event-Date-Timestamp: 1603794227665809
  71. Event-Calling-File: mod_dialplan_xml.c
  72. Event-Calling-Function: dialplan_xml_locate
  73. Event-Calling-Line-Number: 608
  74. Event-Sequence: 453422
  75. Channel-State: CS_ROUTING
  76. Channel-Call-State: RINGING
  77. Channel-State-Number: 2
  78. Channel-Name: sofia/default/018888388%40192.168.8.6
  79. Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  80. Call-Direction: inbound
  81. Presence-Call-Direction: inbound
  82. Channel-HIT-Dialplan: true
  83. Channel-Presence-ID: 018888388%40192.168.8.6
  84. Channel-Call-UUID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  85. Answer-State: ringing
  86. Channel-Read-Codec-Name: PCMU
  87. Channel-Read-Codec-Rate: 8000
  88. Channel-Read-Codec-Bit-Rate: 64000
  89. Channel-Write-Codec-Name: PCMU
  90. Channel-Write-Codec-Rate: 8000
  91. Channel-Write-Codec-Bit-Rate: 64000
  92. Caller-Direction: inbound
  93. Caller-Logical-Direction: inbound
  94. Caller-Username: 018888388
  95. Caller-Dialplan: XML
  96. Caller-Caller-ID-Name: 018888388
  97. Caller-Caller-ID-Number: 018888388
  98. Caller-Orig-Caller-ID-Name: 018888388
  99. Caller-Orig-Caller-ID-Number: 018888388
  100. Caller-Network-Addr: 192.168.8.6
  101. Caller-ANI: 018888388
  102. Caller-Destination-Number: 9088999989
  103. Caller-Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  104. Caller-Source: mod_sofia
  105. Caller-Context: default
  106. Caller-Channel-Name: sofia/default/018888388%40192.168.8.6
  107. Caller-Profile-Index: 1
  108. Caller-Profile-Created-Time: 1603794227665809
  109. Caller-Channel-Created-Time: 1603794227665809
  110. Caller-Channel-Answered-Time: 0
  111. Caller-Channel-Progress-Time: 0
  112. Caller-Channel-Progress-Media-Time: 0
  113. Caller-Channel-Hangup-Time: 0
  114. Caller-Channel-Transfer-Time: 0
  115. Caller-Channel-Resurrect-Time: 0
  116. Caller-Channel-Bridged-Time: 0
  117. Caller-Channel-Last-Hold: 0
  118. Caller-Channel-Hold-Accum: 0
  119. Caller-Screen-Bit: true
  120. Caller-Privacy-Hide-Name: false
  121. Caller-Privacy-Hide-Number: false
  122. variable_direction: inbound
  123. variable_uuid: bc6ca164-db08-42c8-895e-df1d47d4fd44
  124. variable_session_id: 8860
  125. variable_sip_from_user: 018888388
  126. variable_sip_from_uri: 018888388%40192.168.8.6
  127. variable_sip_from_host: 192.168.8.6
  128. variable_video_media_flow: disabled
  129. variable_text_media_flow: disabled
  130. variable_channel_name: sofia/default/018888388%40192.168.8.6
  131. variable_sip_call_id: e5a9fcd0-d8f1-418b-97e1-e6691b3b0d00
  132. variable_sip_local_network_addr: 192.168.8.3
  133. variable_sip_network_ip: 192.168.8.6
  134. variable_sip_network_port: 5060
  135. variable_sip_invite_stamp: 1603794227665809
  136. variable_sip_received_ip: 192.168.8.6
  137. variable_sip_received_port: 5060
  138. variable_sip_via_protocol: udp
  139. variable_sip_authorized: true
  140. variable_sip_acl_authed_by: default
  141. variable_sip_from_user_stripped: 018888388
  142. variable_sip_from_tag: 4d72185b-b608-4d97-af3f-857fe60aaaa6
  143. variable_sofia_profile_name: default
  144. variable_sofia_profile_url: sip%3Amod_sofia%40192.168.8.3%3A5060
  145. variable_recovery_profile_name: default
  146. variable_sip_full_via: SIP/2.0/UDP%20192.168.8.6%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKPjbb9a22eb-1c3a-4d69-af1a-ede4e094b45f
  147. variable_sip_from_display: 018888388
  148. variable_sip_full_from: %22018888388%22%20%3Csip%3A018888388%40192.168.8.6%3E%3Btag%3D4d72185b-b608-4d97-af3f-857fe60aaaa6
  149. variable_sip_full_to: %3Csip%3A9088999989%40192.168.8.3%3E
  150. variable_sip_allow: OPTIONS,%20SUBSCRIBE,%20NOTIFY,%20PUBLISH,%20INVITE,%20ACK,%20BYE,%20CANCEL,%20UPDATE,%20PRACK,%20REGISTER,%20MESSAGE,%20REFER
  151. variable_sip_req_user: 9088999989
  152. variable_sip_req_uri: 9088999989%40192.168.8.3
  153. variable_sip_req_host: 192.168.8.3
  154. variable_sip_to_user: 9088999989
  155. variable_sip_to_uri: 9088999989%40192.168.8.3
  156. variable_sip_to_host: 192.168.8.3
  157. variable_sip_contact_user: asterisk
  158. variable_sip_contact_port: 5060
  159. variable_sip_contact_uri: asterisk%40192.168.8.6%3A5060
  160. variable_sip_contact_host: 192.168.8.6
  161. variable_sip_user_agent: FPBX-14.0.13.40(13.29.2)
  162. variable_sip_via_host: 192.168.8.6
  163. variable_sip_via_port: 5060
  164. variable_sip_via_rport: 5060
  165. variable_max_forwards: 70
  166. variable_presence_id: 018888388%40192.168.8.6
  167. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%201083192432%201083192432%20IN%20IP4%20192.168.8.6%0D%0As%3DAsterisk%0D%0Ac%3DIN%20IP4%20192.168.8.6%0D%0At%3D0%200%0D%0Am%3Daudio%2018272%20RTP/AVP%200%208%203%20111%209%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A111%20G726-32/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A
  168. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  169. variable_rtp_use_codec_string: PCMA,PCMU
  170. variable_remote_video_media_flow: inactive
  171. variable_remote_text_media_flow: inactive
  172. variable_remote_audio_media_flow: sendrecv
  173. variable_audio_media_flow: sendrecv
  174. variable_remote_media_ip: 192.168.8.6
  175. variable_remote_media_port: 18272
  176. variable_rtp_audio_recv_pt: 0
  177. variable_rtp_use_codec_name: PCMU
  178. variable_rtp_use_codec_rate: 8000
  179. variable_rtp_use_codec_ptime: 20
  180. variable_rtp_use_codec_channels: 1
  181. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  182. variable_read_codec: PCMU
  183. variable_original_read_codec: PCMU
  184. variable_read_rate: 8000
  185. variable_original_read_rate: 8000
  186. variable_write_codec: PCMU
  187. variable_write_rate: 8000
  188. variable_dtmf_type: rfc2833
  189. variable_endpoint_disposition: RECEIVED
  190. variable_call_uuid: bc6ca164-db08-42c8-895e-df1d47d4fd44
  191. Hunt-Direction: inbound
  192. Hunt-Logical-Direction: inbound
  193. Hunt-Username: 018888388
  194. Hunt-Dialplan: XML
  195. Hunt-Caller-ID-Name: 018888388
  196. Hunt-Caller-ID-Number: 018888388
  197. Hunt-Orig-Caller-ID-Name: 018888388
  198. Hunt-Orig-Caller-ID-Number: 018888388
  199. Hunt-Network-Addr: 192.168.8.6
  200. Hunt-ANI: 018888388
  201. Hunt-Destination-Number: 9088999989
  202. Hunt-Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  203. Hunt-Source: mod_sofia
  204. Hunt-Context: default
  205. Hunt-Channel-Name: sofia/default/018888388%40192.168.8.6
  206. Hunt-Profile-Index: 1
  207. Hunt-Profile-Created-Time: 1603794227665809
  208. Hunt-Channel-Created-Time: 1603794227665809
  209. Hunt-Channel-Answered-Time: 0
  210. Hunt-Channel-Progress-Time: 0
  211. Hunt-Channel-Progress-Media-Time: 0
  212. Hunt-Channel-Hangup-Time: 0
  213. Hunt-Channel-Transfer-Time: 0
  214. Hunt-Channel-Resurrect-Time: 0
  215. Hunt-Channel-Bridged-Time: 0
  216. Hunt-Channel-Last-Hold: 0
  217. Hunt-Channel-Hold-Accum: 0
  218. Hunt-Screen-Bit: true
  219. Hunt-Privacy-Hide-Name: false
  220. Hunt-Privacy-Hide-Number: false
  221.  
  222.  
  223. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  224. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  225. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  226. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  227. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  228. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 9088999989
  229. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9088999989' limit 1
  230. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '9088999989' AND status=0 limit 1
  231. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9088999989' and status=0 LIMIT 1
  232. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 018888388 / 018888388
  233. 2020-10-27 11:23:47.745817 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  234. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [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
  235. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999989" LIMIT 1
  236. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
  237. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("192.168.8.6") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "9088999989"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  238. 2020-10-27 11:23:47.745817 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1135674299]
  239. 2020-10-27 11:23:47.745817 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1135674299" AND deleted = 0 limit 1
  240. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE number = "1135674299" AND deleted = 0 limit 1
  241. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999989" AND A.accountid = '123' limit 1
  242. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9088999989
  243. 2020-10-27 11:23:47.765805 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  244. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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
  245. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999989" LIMIT 1
  246. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
  247. 2020-10-27 11:23:47.765805 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  248. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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
  249. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="9088999989" AND (accountid = 0 OR status = 1) LIMIT 1
  250. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  251. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :138
  252. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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 = '^9088999989.*' OR patterns = '^908899998.*' OR patterns = '^90889999.*' OR patterns = '^9088999.*' OR patterns = '^908899.*' OR patterns = '^90889.*' OR patterns = '^9088.*' OR patterns = '^908.*' OR patterns = '^90.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 138 ORDER BY LENGTH(PKGPTR.patterns) DESC
  253. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '9088999989' OR number = '908899998' OR number = '90889999' OR number = '9088999' OR number = '908899' OR number = '90889' OR number = '9088' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9088999989*' OR number = '908899998*' OR number = '90889999*' OR number = '9088999*' OR number = '908899*' OR number = '90889*' OR number = '9088*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--') OR (number = '018888388' OR number = '01888838' OR number = '0188883' OR number = '018888' OR number = '01888' OR number = '0188' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '018888388*' OR number = '01888838*' OR number = '0188883*' OR number = '018888*' OR number = '01888*' OR number = '0188*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  254. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  255. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9088999989' OR routing_prefix = '908899998' OR routing_prefix = '90889999' OR routing_prefix = '9088999' OR routing_prefix = '908899' OR routing_prefix = '90889' OR routing_prefix = '9088' OR routing_prefix = '908' OR routing_prefix = '90' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  256. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  257. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 123
  258. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1135674299
  259. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 6856.66
  260. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  261. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
  262. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  263. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  264. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  265. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
  266. 2020-10-27 11:23:47.765805 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  267. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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
  268. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [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 ="9088999989" LIMIT 1
  269. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
  270. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  271. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 40
  272. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  273. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  274. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
  275. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 9088999989
  276. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 141
  277. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 123
  278. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  279. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your6856.66 balance Accountid 123 !!!
  280. 2020-10-27 11:23:47.765805 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  281. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  282. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
  283. 2020-10-27 11:23:47.765805 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
  284. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 123 AND status=0 LIMIT 1
  285. 2020-10-27 11:23:47.765805 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "138" AND deleted = 0 limit 1
  286. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE id = "138" AND deleted = 0 limit 1
  287. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:123
  288. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:123
  289. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 123
  290. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  291. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 138 limit 1
  292. 2020-10-27 11:23:47.785821 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domaintest446.9mobile.nativetalk.com.ng
  293. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_10
  294. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name::::::::::1343:::::::::::::::40
  295. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : 10
  296. 2020-10-27 11:23:47.785821 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : IVR
  297. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 12 and status=0 LIMIT 1
  298. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  299. 2020-10-27 11:23:47.785821 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  300. <document type="freeswitch/xml">
  301. <section name="dialplan" description="ASTPP Dialplan">
  302. <context name="default">
  303. <extension name="9088999989">
  304. <condition field="destination_number" expression="9088999989">
  305. <action application="set" data="effective_destination_number=9088999989"/>
  306. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  307. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  308. <action application="set" data="callstart=2020-10-27 10:23:47"/>
  309. <action application="set" data="hangup_after_bridge=true"/>
  310. <action application="set" data="continue_on_fail=TRUE"/>
  311. <action application="set" data="account_id=123"/>
  312. <action application="set" data="parent_id=0"/>
  313. <action application="set" data="entity_id=0"/>
  314. <action application="set" data="call_processed=internal"/>
  315. <action application="set" data="call_direction=inbound"/>
  316. <action application="set" data="accountname=HOD1"/>
  317. <action application="set" data="origination_rates_did=ID:40|CODE:^9088999989.*|DESTINATION:9088999989|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:138"/>
  318. <action application="set" data="origination_rates=0"/>
  319. <action application="set" data="original_caller_id_name=9088999989"/>
  320. <action application="set" data="original_caller_id_number=9088999989"/>
  321. <action application="set" data="effective_caller_id_name=9088999989"/>
  322. <action application="set" data="effective_caller_id_number=9088999989"/>
  323. <action application="set" data="receiver_accid=138"/>
  324. <action application="export" data="presence_data=x|||martins(1135674299)|||^9088999989.* // 9088999989 // 0.00000||||||DID"/>
  325. <action application="export" data="call_type=10"/>
  326. <action application="set" data="did_calltype=10"/>
  327. <action application="set" data="did_extensions=12"/>
  328. <action application="set" data="ringback="/>
  329. <action application="set" data="module_name=pbx"/>
  330.     <action application="answer"/>
  331. <action application="ivr" data="iVRtest0"/>
  332. </condition>
  333. </extension>
  334. </context>
  335. </section>
  336. </document>
  337. Dialplan: sofia/default/018888388@192.168.8.6 parsing [default->9088999989] continue=false
  338. Dialplan: sofia/default/018888388@192.168.8.6 Regex (PASS) [9088999989] destination_number(9088999989) =~ /9088999989/ break=on-false
  339. Dialplan: sofia/default/018888388@192.168.8.6 Action set(effective_destination_number=9088999989)
  340. Dialplan: sofia/default/018888388@192.168.8.6 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  341. Dialplan: sofia/default/018888388@192.168.8.6 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  342. Dialplan: sofia/default/018888388@192.168.8.6 Action set(callstart=2020-10-27 10:23:47)
  343. Dialplan: sofia/default/018888388@192.168.8.6 Action set(hangup_after_bridge=true)
  344. Dialplan: sofia/default/018888388@192.168.8.6 Action set(continue_on_fail=TRUE)
  345. Dialplan: sofia/default/018888388@192.168.8.6 Action set(account_id=123)
  346. Dialplan: sofia/default/018888388@192.168.8.6 Action set(parent_id=0)
  347. Dialplan: sofia/default/018888388@192.168.8.6 Action set(entity_id=0)
  348. Dialplan: sofia/default/018888388@192.168.8.6 Action set(call_processed=internal)
  349. Dialplan: sofia/default/018888388@192.168.8.6 Action set(call_direction=inbound)
  350. Dialplan: sofia/default/018888388@192.168.8.6 Action set(accountname=HOD1)
  351. Dialplan: sofia/default/018888388@192.168.8.6 Action set(origination_rates_did=ID:40|CODE:^9088999989.*|DESTINATION:9088999989|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:138)
  352. Dialplan: sofia/default/018888388@192.168.8.6 Action set(origination_rates=0)
  353. Dialplan: sofia/default/018888388@192.168.8.6 Action set(original_caller_id_name=9088999989)
  354. Dialplan: sofia/default/018888388@192.168.8.6 Action set(original_caller_id_number=9088999989)
  355. Dialplan: sofia/default/018888388@192.168.8.6 Action set(effective_caller_id_name=9088999989)
  356. Dialplan: sofia/default/018888388@192.168.8.6 Action set(effective_caller_id_number=9088999989)
  357. Dialplan: sofia/default/018888388@192.168.8.6 Action set(receiver_accid=138)
  358. Dialplan: sofia/default/018888388@192.168.8.6 Action export(presence_data=x|||martins(1135674299)|||^9088999989.* // 9088999989 // 0.00000||||||DID)
  359. Dialplan: sofia/default/018888388@192.168.8.6 Action export(call_type=10)
  360. Dialplan: sofia/default/018888388@192.168.8.6 Action set(did_calltype=10)
  361. Dialplan: sofia/default/018888388@192.168.8.6 Action set(did_extensions=12)
  362. Dialplan: sofia/default/018888388@192.168.8.6 Action set(ringback=)
  363. Dialplan: sofia/default/018888388@192.168.8.6 Action set(module_name=pbx)
  364. Dialplan: sofia/default/018888388@192.168.8.6 Action answer()
  365. Dialplan: sofia/default/018888388@192.168.8.6 Action ivr(iVRtest0)
  366. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_state_machine.c:287 (sofia/default/018888388@192.168.8.6) State Change CS_ROUTING -> CS_EXECUTE
  367. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_state_machine.c:644 (sofia/default/018888388@192.168.8.6) State ROUTING going to sleep
  368. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_EXECUTE (Cur 1 Tot 8860)
  369. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_state_machine.c:651 (sofia/default/018888388@192.168.8.6) State EXECUTE
  370. 2020-10-27 11:23:47.785821 [DEBUG] mod_sofia.c:209 sofia/default/018888388@192.168.8.6 SOFIA EXECUTE
  371. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_state_machine.c:329 sofia/default/018888388@192.168.8.6 Standard EXECUTE
  372. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(effective_destination_number=9088999989)
  373. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [effective_destination_number]=[9088999989]
  374. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(bridge_pre_execute_bleg_app=sched_hangup)
  375. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [bridge_pre_execute_bleg_app]=[sched_hangup]
  376. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  377. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  378. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(callstart=2020-10-27 10:23:47)
  379. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [callstart]=[2020-10-27 10:23:47]
  380. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(hangup_after_bridge=true)
  381. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [hangup_after_bridge]=[true]
  382. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(continue_on_fail=TRUE)
  383. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [continue_on_fail]=[TRUE]
  384. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(account_id=123)
  385. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [account_id]=[123]
  386. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(parent_id=0)
  387. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [parent_id]=[0]
  388. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(entity_id=0)
  389. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [entity_id]=[0]
  390. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(call_processed=internal)
  391. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [call_processed]=[internal]
  392. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(call_direction=inbound)
  393. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [call_direction]=[inbound]
  394. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(accountname=HOD1)
  395. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [accountname]=[HOD1]
  396. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(origination_rates_did=ID:40|CODE:^9088999989.*|DESTINATION:9088999989|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:138)
  397. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [origination_rates_did]=[ID:40|CODE:^9088999989.*|DESTINATION:9088999989|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:138]
  398. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(origination_rates=0)
  399. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [origination_rates]=[0]
  400. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(original_caller_id_name=9088999989)
  401. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [original_caller_id_name]=[9088999989]
  402. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(original_caller_id_number=9088999989)
  403. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [original_caller_id_number]=[9088999989]
  404. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(effective_caller_id_name=9088999989)
  405. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [effective_caller_id_name]=[9088999989]
  406. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(effective_caller_id_number=9088999989)
  407. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [effective_caller_id_number]=[9088999989]
  408. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(receiver_accid=138)
  409. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [receiver_accid]=[138]
  410. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 export(presence_data=x|||martins(1135674299)|||^9088999989.* // 9088999989 // 0.00000||||||DID)
  411. 2020-10-27 11:23:47.785821 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||martins(1135674299)|||^9088999989.* // 9088999989 // 0.00000||||||DID]
  412. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 export(call_type=10)
  413. 2020-10-27 11:23:47.785821 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[10]
  414. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(did_calltype=10)
  415. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [did_calltype]=[10]
  416. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(did_extensions=12)
  417. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [did_extensions]=[12]
  418. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(ringback=)
  419. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [ringback]=[UNDEF]
  420. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(module_name=pbx)
  421. 2020-10-27 11:23:47.785821 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [module_name]=[pbx]
  422. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 answer()
  423. 2020-10-27 11:23:47.785821 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/018888388@192.168.8.6] 192.168.8.3 port 24596 -> 192.168.8.6 port 18272 codec: 0 ms: 20
  424. 2020-10-27 11:23:47.785821 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
  425. 2020-10-27 11:23:47.805809 [DEBUG] switch_core_media.c:8972 sofia/default/018888388@192.168.8.6 Set 2833 dtmf send payload to 101
  426. 2020-10-27 11:23:47.805809 [DEBUG] switch_core_media.c:8979 sofia/default/018888388@192.168.8.6 Set 2833 dtmf receive payload to 101
  427. 2020-10-27 11:23:47.805809 [DEBUG] switch_core_media.c:9002 sofia/default/018888388@192.168.8.6 Set rtp dtmf delay to 40
  428. 2020-10-27 11:23:47.805809 [DEBUG] mod_sofia.c:905 Local SDP sofia/default/018888388@192.168.8.6:
  429. v=0
  430. o=FreeSWITCH 1603769631 1603769632 IN IP4 192.168.8.3
  431. s=FreeSWITCH
  432. c=IN IP4 192.168.8.3
  433. t=0 0
  434. m=audio 24596 RTP/AVP 0 101
  435. a=rtpmap:0 PCMU/8000
  436. a=rtpmap:101 telephone-event/8000
  437. a=fmtp:101 0-16
  438. a=ptime:20
  439. a=sendrecv
  440.  
  441. 2020-10-27 11:23:47.805809 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/018888388@192.168.8.6] has been answered
  442. 2020-10-27 11:23:47.805809 [DEBUG] switch_channel.c:3865 (sofia/default/018888388@192.168.8.6) Callstate Change RINGING -> ACTIVE
  443. 2020-10-27 11:23:47.805809 [DEBUG] sofia.c:7290 Channel sofia/default/018888388@192.168.8.6 entering state [completed][200]
  444. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 ivr(iVRtest0)
  445. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  446. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  447. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  448. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  449. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  450. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  451. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:883 building menu 'iVRtest0'
  452. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  453. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  454. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '3'
  455. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  456. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_menu.c:486 Executing IVR menu iVRtest0
  457. 2020-10-27 11:23:47.845813 [DEBUG] sofia.c:7290 Channel sofia/default/018888388@192.168.8.6 entering state [ready][200]
  458. 2020-10-27 11:23:47.845813 [DEBUG] switch_ivr_play_say.c:1492 Codec Activated L16@8000hz 1 channels 20ms
  459. 2020-10-27 11:23:48.245813 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed.
  460. 2020-10-27 11:23:48.665802 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  461. 2020-10-27 11:23:54.365808 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  462. 2020-10-27 11:24:02.085803 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  463. 2020-10-27 11:24:05.465810 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/ivr(2)_211020121726.wav
  464. 2020-10-27 11:24:05.485811 [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  465. 2020-10-27 11:24:07.785813 [WARNING] switch_core_file.c:410 File has 2 channels, muxing to 1 channel will occur.
  466. 2020-10-27 11:24:11.485815 [DEBUG] switch_rtp.c:7963 RTP RECV DTMF 1:1768
  467. 2020-10-27 11:24:11.485815 [INFO] switch_channel.c:522 RECV DTMF 1:1768
  468. 2020-10-27 11:24:13.505812 [DEBUG] switch_ivr_menu.c:425 digits '1'
  469. 2020-10-27 11:24:13.505812 [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'iVRtest0' matched '1' param 'transfer 6350951709 XML ${domain_name}'
  470. 2020-10-27 11:24:13.505812 [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
  471. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 transfer(6350951709 XML 192.168.8.3)
  472. 2020-10-27 11:24:13.525809 [DEBUG] switch_ivr.c:2231 (sofia/default/018888388@192.168.8.6) State Change CS_EXECUTE -> CS_ROUTING
  473. 2020-10-27 11:24:13.525809 [NOTICE] switch_ivr.c:2238 Transfer sofia/default/018888388@192.168.8.6 to XML[6350951709@192.168.8.3]
  474. 2020-10-27 11:24:13.525809 [DEBUG] switch_ivr_menu.c:562 action regex [1] [/^(\d{2,20})$/] [0]
  475. 2020-10-27 11:24:13.525809 [DEBUG] switch_ivr_menu.c:676 exit-sound 'voicemail/vm-goodbye.wav'
  476. 2020-10-27 11:24:13.525809 [DEBUG] switch_core_state_machine.c:651 (sofia/default/018888388@192.168.8.6) State EXECUTE going to sleep
  477. 2020-10-27 11:24:13.525809 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_ROUTING (Cur 1 Tot 8860)
  478. 2020-10-27 11:24:13.525809 [DEBUG] switch_channel.c:2332 (sofia/default/018888388@192.168.8.6) Callstate Change ACTIVE -> RINGING
  479. 2020-10-27 11:24:13.525809 [DEBUG] switch_core_state_machine.c:644 (sofia/default/018888388@192.168.8.6) State ROUTING
  480. 2020-10-27 11:24:13.525809 [DEBUG] mod_sofia.c:154 sofia/default/018888388@192.168.8.6 SOFIA ROUTING
  481. 2020-10-27 11:24:13.525809 [DEBUG] switch_core_state_machine.c:236 sofia/default/018888388@192.168.8.6 Standard ROUTING
  482. 2020-10-27 11:24:13.525809 [INFO] mod_dialplan_xml.c:637 Processing 018888388 <018888388>->6350951709 in context 192.168.8.3
  483. 2020-10-27 11:24:13.525809 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  484. 2020-10-27 11:24:13.525809 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  485. 2020-10-27 11:24:13.565935 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  486. Event-Name: REQUEST_PARAMS
  487. Core-UUID: f0e00936-3fce-4a2b-af76-c25556ae0e1a
  488. FreeSWITCH-Hostname: soultech
  489. FreeSWITCH-Switchname: soultech
  490. FreeSWITCH-IPv4: 192.168.8.3
  491. FreeSWITCH-IPv6: %3A%3A1
  492. Event-Date-Local: 2020-10-27%2011%3A24%3A13
  493. Event-Date-GMT: Tue,%2027%20Oct%202020%2010%3A24%3A13%20GMT
  494. Event-Date-Timestamp: 1603794253525809
  495. Event-Calling-File: mod_dialplan_xml.c
  496. Event-Calling-Function: dialplan_xml_locate
  497. Event-Calling-Line-Number: 608
  498. Event-Sequence: 453495
  499. Channel-State: CS_ROUTING
  500. Channel-Call-State: RINGING
  501. Channel-State-Number: 2
  502. Channel-Name: sofia/default/018888388%40192.168.8.6
  503. Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  504. Call-Direction: inbound
  505. Presence-Call-Direction: inbound
  506. Channel-HIT-Dialplan: true
  507. Channel-Presence-ID: 018888388%40192.168.8.6
  508. Channel-Presence-Data: x%7C%7C%7Cmartins(1135674299)%7C%7C%7C%5E9088999989.*%20//%209088999989%20//%200.00000%7C%7C%7C%7C%7C%7CDID
  509. Channel-Call-UUID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  510. Answer-State: answered
  511. Channel-Read-Codec-Name: PCMU
  512. Channel-Read-Codec-Rate: 8000
  513. Channel-Read-Codec-Bit-Rate: 64000
  514. Channel-Write-Codec-Name: PCMU
  515. Channel-Write-Codec-Rate: 8000
  516. Channel-Write-Codec-Bit-Rate: 64000
  517. Caller-Direction: inbound
  518. Caller-Logical-Direction: inbound
  519. Caller-Username: 018888388
  520. Caller-Dialplan: XML
  521. Caller-Caller-ID-Name: 018888388
  522. Caller-Caller-ID-Number: 018888388
  523. Caller-Orig-Caller-ID-Name: 018888388
  524. Caller-Orig-Caller-ID-Number: 018888388
  525. Caller-Network-Addr: 192.168.8.6
  526. Caller-ANI: 018888388
  527. Caller-Destination-Number: 6350951709
  528. Caller-Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  529. Caller-Source: mod_sofia
  530. Caller-Transfer-Source: 1603794253%3A9c6019e2-9381-40fd-bcfc-d1287f991ccf%3Abl_xfer%3A6350951709/192.168.8.3/XML
  531. Caller-Context: 192.168.8.3
  532. Caller-RDNIS: 9088999989
  533. Caller-Channel-Name: sofia/default/018888388%40192.168.8.6
  534. Caller-Profile-Index: 2
  535. Caller-Profile-Created-Time: 1603794253525809
  536. Caller-Channel-Created-Time: 1603794227665809
  537. Caller-Channel-Answered-Time: 1603794227805809
  538. Caller-Channel-Progress-Time: 0
  539. Caller-Channel-Progress-Media-Time: 0
  540. Caller-Channel-Hangup-Time: 0
  541. Caller-Channel-Transfer-Time: 0
  542. Caller-Channel-Resurrect-Time: 0
  543. Caller-Channel-Bridged-Time: 0
  544. Caller-Channel-Last-Hold: 0
  545. Caller-Channel-Hold-Accum: 0
  546. Caller-Screen-Bit: true
  547. Caller-Privacy-Hide-Name: false
  548. Caller-Privacy-Hide-Number: false
  549. variable_direction: inbound
  550. variable_uuid: bc6ca164-db08-42c8-895e-df1d47d4fd44
  551. variable_session_id: 8860
  552. variable_sip_from_user: 018888388
  553. variable_sip_from_uri: 018888388%40192.168.8.6
  554. variable_sip_from_host: 192.168.8.6
  555. variable_video_media_flow: disabled
  556. variable_text_media_flow: disabled
  557. variable_channel_name: sofia/default/018888388%40192.168.8.6
  558. variable_sip_local_network_addr: 192.168.8.3
  559. variable_sip_network_ip: 192.168.8.6
  560. variable_sip_network_port: 5060
  561. variable_sip_invite_stamp: 1603794227665809
  562. variable_sip_received_ip: 192.168.8.6
  563. variable_sip_received_port: 5060
  564. variable_sip_via_protocol: udp
  565. variable_sip_authorized: true
  566. variable_sip_acl_authed_by: default
  567. variable_sip_from_user_stripped: 018888388
  568. variable_sofia_profile_name: default
  569. variable_sofia_profile_url: sip%3Amod_sofia%40192.168.8.3%3A5060
  570. variable_recovery_profile_name: default
  571. variable_sip_allow: OPTIONS,%20SUBSCRIBE,%20NOTIFY,%20PUBLISH,%20INVITE,%20ACK,%20BYE,%20CANCEL,%20UPDATE,%20PRACK,%20REGISTER,%20MESSAGE,%20REFER
  572. variable_sip_req_user: 9088999989
  573. variable_sip_req_uri: 9088999989%40192.168.8.3
  574. variable_sip_req_host: 192.168.8.3
  575. variable_sip_to_user: 9088999989
  576. variable_sip_to_uri: 9088999989%40192.168.8.3
  577. variable_sip_to_host: 192.168.8.3
  578. variable_sip_contact_user: asterisk
  579. variable_sip_contact_port: 5060
  580. variable_sip_contact_uri: asterisk%40192.168.8.6%3A5060
  581. variable_sip_contact_host: 192.168.8.6
  582. variable_sip_user_agent: FPBX-14.0.13.40(13.29.2)
  583. variable_sip_via_host: 192.168.8.6
  584. variable_sip_via_port: 5060
  585. variable_sip_via_rport: 5060
  586. variable_presence_id: 018888388%40192.168.8.6
  587. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%201083192432%201083192432%20IN%20IP4%20192.168.8.6%0D%0As%3DAsterisk%0D%0Ac%3DIN%20IP4%20192.168.8.6%0D%0At%3D0%200%0D%0Am%3Daudio%2018272%20RTP/AVP%200%208%203%20111%209%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A111%20G726-32/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A
  588. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  589. variable_rtp_use_codec_string: PCMA,PCMU
  590. variable_remote_video_media_flow: inactive
  591. variable_remote_text_media_flow: inactive
  592. variable_remote_audio_media_flow: sendrecv
  593. variable_audio_media_flow: sendrecv
  594. variable_rtp_audio_recv_pt: 0
  595. variable_rtp_use_codec_name: PCMU
  596. variable_rtp_use_codec_rate: 8000
  597. variable_rtp_use_codec_ptime: 20
  598. variable_rtp_use_codec_channels: 1
  599. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  600. variable_read_codec: PCMU
  601. variable_original_read_codec: PCMU
  602. variable_read_rate: 8000
  603. variable_original_read_rate: 8000
  604. variable_write_codec: PCMU
  605. variable_write_rate: 8000
  606. variable_dtmf_type: rfc2833
  607. variable_effective_destination_number: 9088999989
  608. variable_bridge_pre_execute_bleg_app: sched_hangup
  609. variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
  610. variable_callstart: 2020-10-27%2010%3A23%3A47
  611. variable_hangup_after_bridge: true
  612. variable_continue_on_fail: TRUE
  613. variable_account_id: 123
  614. variable_parent_id: 0
  615. variable_entity_id: 0
  616. variable_call_processed: internal
  617. variable_call_direction: inbound
  618. variable_accountname: HOD1
  619. variable_origination_rates_did: ID%3A40%7CCODE%3A%5E9088999989.*%7CDESTINATION%3A9088999989%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A10%7CCOST%3A0.00000%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A0%7CCI%3A141%7CACCID%3A138
  620. variable_origination_rates: 0
  621. variable_original_caller_id_name: 9088999989
  622. variable_original_caller_id_number: 9088999989
  623. variable_effective_caller_id_name: 9088999989
  624. variable_effective_caller_id_number: 9088999989
  625. variable_receiver_accid: 138
  626. variable_presence_data: x%7C%7C%7Cmartins(1135674299)%7C%7C%7C%5E9088999989.*%20//%209088999989%20//%200.00000%7C%7C%7C%7C%7C%7CDID
  627. variable_call_type: 10
  628. variable_export_vars: presence_data,call_type
  629. variable_did_calltype: 10
  630. variable_did_extensions: 12
  631. variable_module_name: pbx
  632. variable_rtp_local_sdp_str: v%3D0%0D%0Ao%3DFreeSWITCH%201603769631%201603769632%20IN%20IP4%20192.168.8.3%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20192.168.8.3%0D%0At%3D0%200%0D%0Am%3Daudio%2024596%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A
  633. variable_local_media_ip: 192.168.8.3
  634. variable_local_media_port: 24596
  635. variable_advertised_media_ip: 192.168.8.3
  636. variable_rtp_use_timer_name: soft
  637. variable_rtp_use_pt: 0
  638. variable_rtp_use_ssrc: 64064987
  639. variable_rtp_2833_send_payload: 101
  640. variable_rtp_2833_recv_payload: 101
  641. variable_remote_media_ip: 192.168.8.6
  642. variable_remote_media_port: 18272
  643. variable_endpoint_disposition: ANSWER
  644. variable_ivr_menu_status: success
  645. variable_sip_to_tag: 1rZ9BZU863yBQ
  646. variable_sip_from_tag: 4d72185b-b608-4d97-af3f-857fe60aaaa6
  647. variable_sip_cseq: 7712
  648. variable_sip_call_id: e5a9fcd0-d8f1-418b-97e1-e6691b3b0d00
  649. variable_sip_full_via: SIP/2.0/UDP%20192.168.8.6%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKPjeccf2f9c-cdd0-409a-bc83-822187edc7d8
  650. variable_sip_from_display: 018888388
  651. variable_sip_full_from: %22018888388%22%20%3Csip%3A018888388%40192.168.8.6%3E%3Btag%3D4d72185b-b608-4d97-af3f-857fe60aaaa6
  652. variable_sip_full_to: %3Csip%3A9088999989%40192.168.8.3%3E%3Btag%3D1rZ9BZU863yBQ
  653. variable_RECORD_SOFTWARE: Lavf58.46.101
  654. variable_playback_last_offset_pos: 141271
  655. variable_playback_seconds: 17
  656. variable_playback_ms: 17658
  657. variable_playback_samples: 141271
  658. variable_current_application_data: 6350951709%20XML%20192.168.8.3
  659. variable_current_application: transfer
  660. variable_max_forwards: 69
  661. variable_transfer_history: 1603794253%3A9c6019e2-9381-40fd-bcfc-d1287f991ccf%3Abl_xfer%3A6350951709/192.168.8.3/XML
  662. variable_transfer_source: 1603794253%3A9c6019e2-9381-40fd-bcfc-d1287f991ccf%3Abl_xfer%3A6350951709/192.168.8.3/XML
  663. variable_call_uuid: bc6ca164-db08-42c8-895e-df1d47d4fd44
  664. Hunt-Direction: inbound
  665. Hunt-Logical-Direction: inbound
  666. Hunt-Username: 018888388
  667. Hunt-Dialplan: XML
  668. Hunt-Caller-ID-Name: 018888388
  669. Hunt-Caller-ID-Number: 018888388
  670. Hunt-Orig-Caller-ID-Name: 018888388
  671. Hunt-Orig-Caller-ID-Number: 018888388
  672. Hunt-Network-Addr: 192.168.8.6
  673. Hunt-ANI: 018888388
  674. Hunt-Destination-Number: 6350951709
  675. Hunt-Unique-ID: bc6ca164-db08-42c8-895e-df1d47d4fd44
  676. Hunt-Source: mod_sofia
  677. Hunt-Transfer-Source: 1603794253%3A9c6019e2-9381-40fd-bcfc-d1287f991ccf%3Abl_xfer%3A6350951709/192.168.8.3/XML
  678. Hunt-Context: 192.168.8.3
  679. Hunt-RDNIS: 9088999989
  680. Hunt-Channel-Name: sofia/default/018888388%40192.168.8.6
  681. Hunt-Profile-Index: 2
  682. Hunt-Profile-Created-Time: 1603794253525809
  683. Hunt-Channel-Created-Time: 1603794227665809
  684. Hunt-Channel-Answered-Time: 1603794227805809
  685. Hunt-Channel-Progress-Time: 0
  686. Hunt-Channel-Progress-Media-Time: 0
  687. Hunt-Channel-Hangup-Time: 0
  688. Hunt-Channel-Transfer-Time: 0
  689. Hunt-Channel-Resurrect-Time: 0
  690. Hunt-Channel-Bridged-Time: 0
  691. Hunt-Channel-Last-Hold: 0
  692. Hunt-Channel-Hold-Accum: 0
  693. Hunt-Screen-Bit: true
  694. Hunt-Privacy-Hide-Name: false
  695. Hunt-Privacy-Hide-Number: false
  696.  
  697.  
  698. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  699. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  700. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  701. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  702. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  703. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 6350951709
  704. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '6350951709' limit 1
  705. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '6350951709' AND status=0 limit 1
  706. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '6350951709' and status=0 LIMIT 1
  707. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 9088999989 / 9088999989
  708. 2020-10-27 11:24:13.565935 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  709. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [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
  710. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [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 ="6350951709" LIMIT 1
  711. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [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="6350951709"  AND domains.domain="192.168.8.3" limit 1
  712. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound
  713. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("192.168.8.6") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "6350951709"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  714. 2020-10-27 11:24:13.565935 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1135674299]
  715. 2020-10-27 11:24:13.565935 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1135674299" AND deleted = 0 limit 1
  716. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE number = "1135674299" AND deleted = 0 limit 1
  717. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^6350951709.*' OR blocked_patterns = '^635095170.*' OR blocked_patterns = '^63509517.*' OR blocked_patterns = '^6350951.*' OR blocked_patterns = '^635095.*' OR blocked_patterns = '^63509.*' OR blocked_patterns = '^6350.*' OR blocked_patterns = '^635.*' OR blocked_patterns = '^63.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 123 limit 1
  718. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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 ="6350951709" AND A.accountid = '123' limit 1
  719. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 6350951709
  720. 2020-10-27 11:24:13.605804 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  721. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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
  722. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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 ="6350951709" LIMIT 1
  723. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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="6350951709"  AND domains.domain="192.168.8.3" limit 1
  724. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : outbound
  725. 2020-10-27 11:24:13.605804 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  726. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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
  727. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="6350951709" AND (accountid = 0 OR status = 1) LIMIT 1
  728. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [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 = '^6350951709.*' OR patterns = '^635095170.*' OR patterns = '^63509517.*' OR patterns = '^6350951.*' OR patterns = '^635095.*' OR patterns = '^63509.*' OR patterns = '^6350.*' OR patterns = '^635.*' OR patterns = '^63.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 123 ORDER BY LENGTH(PKGPTR.patterns) DESC
  729. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '6350951709' OR number = '635095170' OR number = '63509517' OR number = '6350951' OR number = '635095' OR number = '63509' OR number = '6350' OR number = '635' OR number = '63' OR number = '6' OR number ='--') OR (number = '6350951709*' OR number = '635095170*' OR number = '63509517*' OR number = '6350951*' OR number = '635095*' OR number = '63509*' OR number = '6350*' OR number = '635*' OR number = '63*' OR number = '6*' OR number ='--') OR (number = '9088999989' OR number = '908899998' OR number = '90889999' OR number = '9088999' OR number = '908899' OR number = '90889' OR number = '9088' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9088999989*' OR number = '908899998*' OR number = '90889999*' OR number = '9088999*' OR number = '908899*' OR number = '90889*' OR number = '9088*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  730. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  731. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '6350951709' OR routing_prefix = '635095170' OR routing_prefix = '63509517' OR routing_prefix = '6350951' OR routing_prefix = '635095' OR routing_prefix = '63509' OR routing_prefix = '6350' OR routing_prefix = '635' OR routing_prefix = '63' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  732. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  733. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 123
  734. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1135674299
  735. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 6856.66
  736. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  737. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
  738. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  739. 2020-10-27 11:24:13.605804 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  740. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  741. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound
  742. 2020-10-27 11:24:13.605804 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^6350951709.*' OR pattern = '^635095170.*' OR pattern = '^63509517.*' OR pattern = '^6350951.*' OR pattern = '^635095.*' OR pattern = '^63509.*' OR pattern = '^6350.*' OR pattern = '^635.*' OR pattern = '^63.*' OR pattern = '^6.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=123)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  743. 2020-10-27 11:24:13.625810 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound
  744. 2020-10-27 11:24:13.625810 [WARNING] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Rates not found!!!
  745. 2020-10-27 11:24:13.625810 [DEBUG] switch_cpp.cpp:1443 [ASTPP] post_cdrs:::0
  746. 2020-10-27 11:24:13.625810 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 123
  747. 2020-10-27 11:24:13.625810 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Generated XML:
  748. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  749. <document type="freeswitch/xml">
  750. <section name="dialplan" description="ASTPP Dialplan">
  751. <context name="192.168.8.3">
  752. <extension name="6350951709">
  753. <condition field="destination_number" expression="6350951709">
  754. <action application="log" data="WARNING Accountcode . Dialed number (6350951709)  origination rates not found!!"/>
  755. <action application="set" data="original_caller_id_name=9088999989"/>
  756. <action application="set" data="original_caller_id_number=9088999989"/>
  757. <action application="set" data="error_cdr=1"/>
  758. <action application="set" data="callstart=2020-10-27 10:24:13"/>
  759. <action application="set" data="account_id=123"/>
  760. <action application="set" data="parent_id=0"/>
  761. <action application="set" data="call_direction=outbound"/>
  762. <action application="set" data="sip_ignore_remote_cause=true"/>
  763. <action application="set" data="call_processed=internal"/>
  764. <action application="set" data="effective_destination_number=6350951709"/>
  765. <action application="set" data="last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND"/>
  766. <action application="hangup" data="ORIGNATION_RATE_NOT_FOUND"/>
  767. </condition>
  768. </extension>
  769. </context>
  770. </section>
  771. </document>
  772. Dialplan: sofia/default/018888388@192.168.8.6 parsing [192.168.8.3->6350951709] continue=false
  773. Dialplan: sofia/default/018888388@192.168.8.6 Regex (PASS) [6350951709] destination_number(6350951709) =~ /6350951709/ break=on-false
  774. Dialplan: sofia/default/018888388@192.168.8.6 Action log(WARNING Accountcode . Dialed number (6350951709)  origination rates not found!!)
  775. Dialplan: sofia/default/018888388@192.168.8.6 Action set(original_caller_id_name=9088999989)
  776. Dialplan: sofia/default/018888388@192.168.8.6 Action set(original_caller_id_number=9088999989)
  777. Dialplan: sofia/default/018888388@192.168.8.6 Action set(error_cdr=1)
  778. Dialplan: sofia/default/018888388@192.168.8.6 Action set(callstart=2020-10-27 10:24:13)
  779. Dialplan: sofia/default/018888388@192.168.8.6 Action set(account_id=123)
  780. Dialplan: sofia/default/018888388@192.168.8.6 Action set(parent_id=0)
  781. Dialplan: sofia/default/018888388@192.168.8.6 Action set(call_direction=outbound)
  782. Dialplan: sofia/default/018888388@192.168.8.6 Action set(sip_ignore_remote_cause=true)
  783. Dialplan: sofia/default/018888388@192.168.8.6 Action set(call_processed=internal)
  784. Dialplan: sofia/default/018888388@192.168.8.6 Action set(effective_destination_number=6350951709)
  785. Dialplan: sofia/default/018888388@192.168.8.6 Action set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  786. Dialplan: sofia/default/018888388@192.168.8.6 Action hangup(ORIGNATION_RATE_NOT_FOUND)
  787. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:287 (sofia/default/018888388@192.168.8.6) State Change CS_ROUTING -> CS_EXECUTE
  788. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:644 (sofia/default/018888388@192.168.8.6) State ROUTING going to sleep
  789. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_EXECUTE (Cur 1 Tot 8860)
  790. 2020-10-27 11:24:13.625810 [DEBUG] switch_channel.c:2334 (sofia/default/018888388@192.168.8.6) Callstate Change RINGING -> ACTIVE
  791. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:651 (sofia/default/018888388@192.168.8.6) State EXECUTE
  792. 2020-10-27 11:24:13.625810 [DEBUG] mod_sofia.c:209 sofia/default/018888388@192.168.8.6 SOFIA EXECUTE
  793. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:329 sofia/default/018888388@192.168.8.6 Standard EXECUTE
  794. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 log(WARNING Accountcode . Dialed number (6350951709)  origination rates not found!!)
  795. 2020-10-27 11:24:13.625810 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (6350951709)  origination rates not found!!
  796. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(original_caller_id_name=9088999989)
  797. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [original_caller_id_name]=[9088999989]
  798. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(original_caller_id_number=9088999989)
  799. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [original_caller_id_number]=[9088999989]
  800. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(error_cdr=1)
  801. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [error_cdr]=[1]
  802. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(callstart=2020-10-27 10:24:13)
  803. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [callstart]=[2020-10-27 10:24:13]
  804. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(account_id=123)
  805. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [account_id]=[123]
  806. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(parent_id=0)
  807. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [parent_id]=[0]
  808. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(call_direction=outbound)
  809. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [call_direction]=[outbound]
  810. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(sip_ignore_remote_cause=true)
  811. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [sip_ignore_remote_cause]=[true]
  812. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(call_processed=internal)
  813. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [call_processed]=[internal]
  814. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(effective_destination_number=6350951709)
  815. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [effective_destination_number]=[6350951709]
  816. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 set(last_bridge_hangup_cause=ORIGNATION_RATE_NOT_FOUND)
  817. 2020-10-27 11:24:13.625810 [DEBUG] mod_dptools.c:1672 SET sofia/default/018888388@192.168.8.6 [last_bridge_hangup_cause]=[ORIGNATION_RATE_NOT_FOUND]
  818. EXECUTE [depth=0] sofia/default/018888388@192.168.8.6 hangup(ORIGNATION_RATE_NOT_FOUND)
  819. 2020-10-27 11:24:13.625810 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/018888388@192.168.8.6 [CS_EXECUTE] [NORMAL_CLEARING]
  820. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_session.c:2905 sofia/default/018888388@192.168.8.6 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  821. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:651 (sofia/default/018888388@192.168.8.6) State EXECUTE going to sleep
  822. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_HANGUP (Cur 1 Tot 8860)
  823. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:848 (sofia/default/018888388@192.168.8.6) Callstate Change ACTIVE -> HANGUP
  824. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/018888388@192.168.8.6) State HANGUP
  825. 2020-10-27 11:24:13.625810 [DEBUG] mod_sofia.c:460 Channel sofia/default/018888388@192.168.8.6 hanging up, cause: NORMAL_CLEARING
  826. 2020-10-27 11:24:13.625810 [DEBUG] mod_sofia.c:514 Sending BYE to sofia/default/018888388@192.168.8.6
  827. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:60 sofia/default/018888388@192.168.8.6 Standard HANGUP, cause: NORMAL_CLEARING
  828. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/018888388@192.168.8.6) State HANGUP going to sleep
  829. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:620 (sofia/default/018888388@192.168.8.6) State Change CS_HANGUP -> CS_REPORTING
  830. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/018888388@192.168.8.6) Running State Change CS_REPORTING (Cur 1 Tot 8860)
  831. 2020-10-27 11:24:13.625810 [DEBUG] switch_core_state_machine.c:936 (sofia/default/018888388@192.168.8.6) State REPORTING
  832. 2020-10-27 11:24:13.625810 [INFO] mod_json_cdr.c:271 Process [bc6ca164-db08-42c8-895e-df1d47d4fd44.cdr.json]
  833. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:174 sofia/default/018888388@192.168.8.6 Standard REPORTING, cause: NORMAL_CLEARING
  834. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:936 (sofia/default/018888388@192.168.8.6) State REPORTING going to sleep
  835. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:611 (sofia/default/018888388@192.168.8.6) State Change CS_REPORTING -> CS_DESTROY
  836. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_session.c:1726 Session 8860 (sofia/default/018888388@192.168.8.6) Locked, Waiting on external entities
  837. 2020-10-27 11:24:13.685802 [NOTICE] switch_core_session.c:1744 Session 8860 (sofia/default/018888388@192.168.8.6) Ended
  838. 2020-10-27 11:24:13.685802 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/018888388@192.168.8.6 [CS_DESTROY]
  839. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:739 (sofia/default/018888388@192.168.8.6) Running State Change CS_DESTROY (Cur 0 Tot 8860)
  840. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:749 (sofia/default/018888388@192.168.8.6) State DESTROY
  841. 2020-10-27 11:24:13.685802 [DEBUG] mod_sofia.c:365 sofia/default/018888388@192.168.8.6 SOFIA DESTROY
  842. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:181 sofia/default/018888388@192.168.8.6 Standard DESTROY
  843. 2020-10-27 11:24:13.685802 [DEBUG] switch_core_state_machine.c:749 (sofia/default/018888388@192.168.8.6) State DESTROY going to sleep
  844.