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