From Prashant Kumar , 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@gibfibre>
  2. freeswitch@gibfibre>
  3. freeswitch@gibfibre>
  4. freeswitch@gibfibre>
  5. freeswitch@gibfibre>
  6. freeswitch@gibfibre>
  7. 2021-07-07 06:23:37.512285 [NOTICE] switch_channel.c:1118 New Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 [2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe]
  8. 2021-07-07 06:23:37.512285 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 2433)
  9. 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:10280 sofia/default/5144668937@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:51158 version: 1.10.5 -release-17-25569c1631 64bit
  10. 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  11. 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:2434 detaching session 2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe
  12. 2021-07-07 06:23:37.512285 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [999999777@entdemo.astppbilling.org] from ip 117.247.91.162
  13. 2021-07-07 06:23:37.512285 [DEBUG] switch_core_state_machine.c:604 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State NEW
  14. 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:2544 Re-attaching to session 2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe
  15. 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:10280 sofia/default/5144668937@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:51158 version: 1.10.5 -release-17-25569c1631 64bit
  16. 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  17. 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:11477 Setting NAT mode based on via port
  18. 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [received][100]
  19. 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7336 Remote SDP:
  20. v=0
  21. o=Z 0 0 IN IP4 117.247.91.162
  22. s=Z
  23. c=IN IP4 117.247.91.162
  24. t=0 0
  25. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  26. a=rtpmap:110 speex/8000
  27. a=rtpmap:97 iLBC/8000
  28. a=fmtp:97 mode=30
  29. a=rtpmap:101 telephone-event/8000
  30. a=fmtp:101 0-16
  31.  
  32. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  33. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  42. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  43. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  44. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  45. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/5144668937@entdemo.astppbilling.org:5077 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  46. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_codec.c:111 sofia/default/5144668937@entdemo.astppbilling.org:5077 Original read codec set to PCMA:8
  47. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  48. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5911 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101
  49. 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7760 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT
  50. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 2433)
  51. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:628 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State INIT
  52. 2021-07-07 06:23:37.872296 [DEBUG] mod_sofia.c:93 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA INIT
  53. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:40 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard INIT
  54. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING
  55. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:628 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State INIT going to sleep
  56. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 2433)
  57. 2021-07-07 06:23:37.872296 [DEBUG] switch_channel.c:2332 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING
  58. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:644 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State ROUTING
  59. 2021-07-07 06:23:37.872296 [DEBUG] mod_sofia.c:154 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA ROUTING
  60. 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:236 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard ROUTING
  61. 2021-07-07 06:23:37.872296 [INFO] mod_dialplan_xml.c:637 Processing 5144668937 <5144668937>->999999777 in context default
  62. 2021-07-07 06:23:37.872296 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  63. 2021-07-07 06:23:37.872296 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2021-07-07 06:23:37.892273 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  65. 2021-07-07 06:23:37.892273 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 999999777
  66. 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '999999777' limit 1
  67. 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '999999777' AND status=0 limit 1
  68. 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
  69. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  70. <document type="freeswitch/xml">
  71. <section name="dialplan" description="ASTPP Dialplan">
  72. <context name="default">
  73. <extension name="999999777">
  74. <condition field="destination_number" expression="999999777">
  75. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  76. <action application="answer"/>
  77. <action application="sleep" data="2000"/>
  78. <action application="lua" data="astpp-callingcards.lua"/>
  79. </condition>
  80. </extension>
  81. </context>
  82. </section>
  83. </document>
  84. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 parsing [default->999999777] continue=false
  85. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Regex (PASS) [999999777] destination_number(999999777) =~ /999999777/ break=on-false
  86. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action log(INFO ASTPP - Calling Card Call)
  87. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action answer()
  88. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action sleep(2000)
  89. Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action lua(astpp-callingcards.lua)
  90. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:287 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE
  91. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:644 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State ROUTING going to sleep
  92. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 2433)
  93. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:651 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State EXECUTE
  94. 2021-07-07 06:23:37.892273 [DEBUG] mod_sofia.c:209 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA EXECUTE
  95. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:329 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard EXECUTE
  96. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 log(INFO ASTPP - Calling Card Call)
  97. 2021-07-07 06:23:37.892273 [INFO] mod_dptools.c:1866 ASTPP - Calling Card Call
  98. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 answer()
  99. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/5144668937@entdemo.astppbilling.org:5077] 46.101.114.158 port 13196 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  100. 2021-07-07 06:23:37.892273 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  101. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8977 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101
  102. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8984 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf receive payload to 101
  103. 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:9007 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set rtp dtmf delay to 40
  104. 2021-07-07 06:23:37.892273 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/5144668937@entdemo.astppbilling.org:5077:
  105. v=0
  106. o=FreeSWITCH 1625625821 1625625822 IN IP4 46.101.114.158
  107. s=FreeSWITCH
  108. c=IN IP4 46.101.114.158
  109. t=0 0
  110. m=audio 13196 RTP/AVP 8 101
  111. a=rtpmap:8 PCMA/8000
  112. a=rtpmap:101 telephone-event/8000
  113. a=fmtp:101 0-16
  114. a=ptime:20
  115. a=sendrecv
  116.  
  117. 2021-07-07 06:23:37.892273 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [completed][200]
  118. 2021-07-07 06:23:37.892273 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/5144668937@entdemo.astppbilling.org:5077] has been answered
  119. 2021-07-07 06:23:37.892273 [DEBUG] switch_channel.c:3865 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change RINGING -> ACTIVE
  120. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 sleep(2000)
  121. 2021-07-07 06:23:38.052287 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [ready][200]
  122. 2021-07-07 06:23:38.192278 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  123. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 lua(astpp-callingcards.lua)
  124. 2021-07-07 06:23:39.892294 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  125. 2021-07-07 06:23:39.912265 [NOTICE] switch_cpp.cpp:1447 [ASTPP] SECTION
  126. 2021-07-07 06:23:39.912265 [DEBUG] switch_core_file.c:405 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  127. 2021-07-07 06:23:39.912265 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  128. 2021-07-07 06:23:41.692282 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  129. 2021-07-07 06:23:41.692282 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 5144668937
  130. 2021-07-07 06:23:41.692282 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE (number = "10" OR id="10") AND status=0 AND deleted=0 limit 1
  131. 2021-07-07 06:23:41.712273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2031-05-06 12:00:01' , '%Y%m%d%H%i%s') AS expiry
  132. 2021-07-07 06:23:41.712273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2021-07-07 06:23:41' , '%Y%m%d%H%i%s') AS expiry
  133. 2021-07-07 06:23:41.712273 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 5144668937]
  134. 2021-07-07 06:23:41.712273 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  135. 2021-07-07 06:23:41.712273 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  136. 2021-07-07 06:23:43.012280 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  137. 2021-07-07 06:23:43.012280 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Play Amount First Part] Query :9160
  138. 2021-07-07 06:23:43.012280 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Play Amount Second Part] Query :59
  139. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 9160)
  140. 2021-07-07 06:23:43.032279 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  141. 2021-07-07 06:23:45.672278 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/9.wav!digits/thousand.wav!digits/1.wav!digits/hundred.wav!digits/60.wav
  142. 2021-07-07 06:23:45.672278 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav sample rate 16000 doesn't match requested rate 8000
  143. 2021-07-07 06:23:45.672278 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  144. 2021-07-07 06:23:46.232284 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  145. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 59)
  146. 2021-07-07 06:23:46.252273 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  147. 2021-07-07 06:23:47.432292 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/50.wav!digits/9.wav
  148. 2021-07-07 06:23:47.432292 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav sample rate 16000 doesn't match requested rate 8000
  149. 2021-07-07 06:23:47.432292 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  150. 2021-07-07 06:23:51.132294 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  151. 2021-07-07 06:23:52.692296 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 3:960
  152. 2021-07-07 06:23:52.692296 [INFO] switch_channel.c:522 RECV DTMF 3:960
  153. 2021-07-07 06:23:53.372277 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 1:960
  154. 2021-07-07 06:23:53.372277 [INFO] switch_channel.c:522 RECV DTMF 1:960
  155. 2021-07-07 06:23:54.552357 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 0:960
  156. 2021-07-07 06:23:54.552357 [INFO] switch_channel.c:522 RECV DTMF 0:960
  157. 2021-07-07 06:23:55.792281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960
  158. 2021-07-07 06:23:55.792281 [INFO] switch_channel.c:522 RECV DTMF 9:960
  159. 2021-07-07 06:23:55.992280 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960
  160. 2021-07-07 06:23:55.992280 [INFO] switch_channel.c:522 RECV DTMF 9:960
  161. 2021-07-07 06:23:56.212291 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960
  162. 2021-07-07 06:23:56.212291 [INFO] switch_channel.c:522 RECV DTMF 9:960
  163. 2021-07-07 06:23:56.392300 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960
  164. 2021-07-07 06:23:56.392300 [INFO] switch_channel.c:522 RECV DTMF 9:960
  165. 2021-07-07 06:23:56.572316 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960
  166. 2021-07-07 06:23:56.572316 [INFO] switch_channel.c:522 RECV DTMF 9:960
  167. 2021-07-07 06:23:57.052312 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:960
  168. 2021-07-07 06:23:57.052312 [INFO] switch_channel.c:522 RECV DTMF 4:960
  169. 2021-07-07 06:23:57.272303 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960
  170. 2021-07-07 06:23:57.272303 [INFO] switch_channel.c:522 RECV DTMF 5:960
  171. 2021-07-07 06:23:57.612281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:960
  172. 2021-07-07 06:23:57.612281 [INFO] switch_channel.c:522 RECV DTMF 4:960
  173. 2021-07-07 06:23:57.792300 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960
  174. 2021-07-07 06:23:57.792300 [INFO] switch_channel.c:522 RECV DTMF 5:960
  175. 2021-07-07 06:23:57.952299 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960
  176. 2021-07-07 06:23:57.952299 [INFO] switch_channel.c:522 RECV DTMF 5:960
  177. 2021-07-07 06:23:58.152296 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960
  178. 2021-07-07 06:23:58.152296 [INFO] switch_channel.c:522 RECV DTMF 5:960
  179. 2021-07-07 06:23:58.352282 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960
  180. 2021-07-07 06:23:58.352282 [INFO] switch_channel.c:522 RECV DTMF 5:960
  181. 2021-07-07 06:23:59.732288 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 7:960
  182. 2021-07-07 06:23:59.732288 [INFO] switch_channel.c:522 RECV DTMF 7:960
  183. 2021-07-07 06:23:59.912281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 7:960
  184. 2021-07-07 06:23:59.912281 [INFO] switch_channel.c:522 RECV DTMF 7:960
  185. 2021-07-07 06:24:01.732276 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF #:960
  186. span style="color: green; font-weight: bold;"> 2021-07-07 06:24:01.732276 [INFO] switch_channel.c:522 RECV DTMF #:960
  187. span style="color: green; font-weight: bold;"> 2021-07-07 06:24:01.732276 [INFO] switch_cpp.cpp:1447 [ASTPP] [CHECK Destination] Dialed Destination Number :31099999454555577
  188. 2021-07-07 06:24:01.732276 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31099999454555577' OR number = '3109999945455557' OR number = '310999994545555' OR number = '31099999454555' OR number = '3109999945455' OR number = '310999994545' OR number = '31099999454' OR number = '3109999945' OR number = '310999994' OR number = '31099999' OR number = '3109999' OR number = '310999' OR number = '31099' OR number = '3109' OR number = '310' OR number = '31' OR number = '3' OR number ='--') OR (number = '31099999454555577*' OR number = '3109999945455557*' OR number = '310999994545555*' OR number = '31099999454555*' OR number = '3109999945455*' OR number = '310999994545*' OR number = '31099999454*' OR number = '3109999945*' OR number = '310999994*' OR number = '31099999*' OR number = '3109999*' OR number = '310999*' OR number = '31099*' OR number = '3109*' OR number = '310*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '5144668937' OR number = '514466893' OR number = '51446689' OR number = '5144668' OR number = '514466' OR number = '51446' OR number = '5144' OR number = '514' OR number = '51' OR number = '5' OR number ='--') OR (number = '5144668937*' OR number = '514466893*' OR number = '51446689*' OR number = '5144668*' OR number = '514466*' OR number = '51446*' OR number = '5144*' OR number = '514*' OR number = '51*' OR number = '5*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  189. 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  190. 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31099999454555577' OR routing_prefix = '3109999945455557' OR routing_prefix = '310999994545555' OR routing_prefix = '31099999454555' OR routing_prefix = '3109999945455' OR routing_prefix = '310999994545' OR routing_prefix = '31099999454' OR routing_prefix = '3109999945' OR routing_prefix = '310999994' OR routing_prefix = '31099999' OR routing_prefix = '3109999' OR routing_prefix = '310999' OR routing_prefix = '31099' OR routing_prefix = '3109' OR routing_prefix = '310' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  191. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  192. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 10
  193. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 5144668937
  194. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9160.5941
  195. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  196. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
  197. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  198. 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  199. 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  200. 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31099999454555577.*' OR blocked_patterns = '^3109999945455557.*' OR blocked_patterns = '^310999994545555.*' OR blocked_patterns = '^31099999454555.*' OR blocked_patterns = '^3109999945455.*' OR blocked_patterns = '^310999994545.*' OR blocked_patterns = '^31099999454.*' OR blocked_patterns = '^3109999945.*' OR blocked_patterns = '^310999994.*' OR blocked_patterns = '^31099999.*' OR blocked_patterns = '^3109999.*' OR blocked_patterns = '^310999.*' OR blocked_patterns = '^31099.*' OR blocked_patterns = '^3109.*' OR blocked_patterns = '^310.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 10 limit 1
  201. 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [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 = '^31099999454555577.*' OR patterns = '^3109999945455557.*' OR patterns = '^310999994545555.*' OR patterns = '^31099999454555.*' OR patterns = '^3109999945455.*' OR patterns = '^310999994545.*' OR patterns = '^31099999454.*' OR patterns = '^3109999945.*' OR patterns = '^310999994.*' OR patterns = '^31099999.*' OR patterns = '^3109999.*' OR patterns = '^310999.*' OR patterns = '^31099.*' OR patterns = '^3109.*' OR patterns = '^310.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC
  202. 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  203. 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :
  204. 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  205. 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31099999454555577.*' OR pattern = '^3109999945455557.*' OR pattern = '^310999994545555.*' OR pattern = '^31099999454555.*' OR pattern = '^3109999945455.*' OR pattern = '^310999994545.*' OR pattern = '^31099999454.*' OR pattern = '^3109999945.*' OR pattern = '^310999994.*' OR pattern = '^31099999.*' OR pattern = '^3109999.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=10)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  206. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction :
  207. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  208. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 27
  209. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  210. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  211. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 3.00000
  212. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  213. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  214. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 10
  215. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  216. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  217. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  218. 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9160.5941 balance Accountid 10 !!!
  219. 2021-07-07 06:24:01.792281 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  220. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 limit(db 5144668937 db_5144668937 6)
  221. 2021-07-07 06:24:01.792281 [DEBUG] switch_limit.c:124 incr called: 5144668937_db_5144668937 max:6, interval:0
  222. 2021-07-07 06:24:01.792281 [DEBUG] mod_db.c:194 Usage for 5144668937_db_5144668937 is now 1/6
  223. 2021-07-07 06:24:01.792281 [NOTICE] switch_cpp.cpp:1447 [ASTPP] 100 Minutes
  224. 2021-07-07 06:24:01.792281 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [SAY_TIMELIMIT] MINUTES 100
  225. 2021-07-07 06:24:01.792281 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  226. 2021-07-07 06:24:01.792281 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  227. 2021-07-07 06:24:02.952281 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  228. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 100)
  229. 2021-07-07 06:24:02.972285 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  230. 2021-07-07 06:24:04.132275 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/1.wav!digits/hundred.wav
  231. 2021-07-07 06:24:04.132275 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav sample rate 16000 doesn't match requested rate 8000
  232. 2021-07-07 06:24:04.132275 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
  233. 2021-07-07 06:24:04.752279 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav
  234. 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  235. 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  236. 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31099999454555577.*' OR pattern = '^3109999945455557.*' OR pattern = '^310999994545555.*' OR pattern = '^31099999454555.*' OR pattern = '^3109999945455.*' OR pattern = '^310999994545.*' OR pattern = '^31099999454.*' OR pattern = '^3109999945.*' OR pattern = '^310999994.*' OR pattern = '^31099999.*' OR pattern = '^3109999.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  237. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  238. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 12
  239. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^31.*
  240. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination :
  241. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  242. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  243. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^31.*
  244. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  245. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Termination rate id : 5
  246. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Gateway name : PkGateway
  247. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  248. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  249. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  250. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : PkGateway
  251. 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] =================================================================
  252. 2021-07-07 06:24:04.772287 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Loss Less Routing Flag :: > 1
  253. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(call_processed=internal)
  254. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_processed]=[internal]
  255. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(callstart=2021-07-07 06:24:04)
  256. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [callstart]=[2021-07-07 06:24:04]
  257. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(originated_destination_number=31099999454555577)
  258. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [originated_destination_number]=[31099999454555577]
  259. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_destination_number=31099999454555577)
  260. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_destination_number]=[31099999454555577]
  261. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(continue_on_fail=true)
  262. 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [continue_on_fail]=[true]
  263. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(ringback=%(1500,3500,440))
  264. 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [ringback]=[%(1500,3500,440)]
  265. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(hangup_after_bridge=true)
  266. 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [hangup_after_bridge]=[true]
  267. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(account_id=10)
  268. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [account_id]=[10]
  269. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(account_type=0)
  270. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [account_type]=[0]
  271. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(resellerid=0)
  272. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [resellerid]=[0]
  273. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(parent_id=0)
  274. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [parent_id]=[0]
  275. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(accountcode=5144668937)
  276. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [accountcode]=[5144668937]
  277. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(call_direction=outbound)
  278. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[outbound]
  279. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(calltype=CALLINGCARD)
  280. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [calltype]=[CALLINGCARD]
  281. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10)
  282. 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10]
  283. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(execute_on_answer=sched_hangup +6000)
  284. 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [execute_on_answer]=[sched_hangup +6000]
  285. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(process_cdr=true)
  286. 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [process_cdr]=[true]
  287. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 sched_hangup(+6000)
  288. 2021-07-07 06:24:04.772287 [DEBUG] switch_scheduler.c:252 Added task 32 switch_ivr_schedule_hangup (2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe) to run at 1625645044
  289. 2021-07-07 06:24:04.772287 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 10 AND status=0 LIMIT 1
  290. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(original_caller_id_name=Force caller)
  291. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [original_caller_id_name]=[Force caller]
  292. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(original_caller_id_number=18001802222)
  293. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [original_caller_id_number]=[18001802222]
  294. 2021-07-07 06:24:04.792274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  295. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(presence_data=x|||Pk(5144668937)|||^31.* //  // 3.00000|||PkGateway // ^31.* //  // 1.00000|||CC)
  296. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk(5144668937)|||^31.* //  // 3.00000|||PkGateway // ^31.* //  // 1.00000|||CC]
  297. 2021-07-07 06:24:04.792274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  298. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(effective_caller_id_name=Force caller)
  299. 2021-07-07 06:24:04.792274 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [effective_caller_id_name]=[Force caller]
  300. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(effective_caller_id_number=18001802222)
  301. 2021-07-07 06:24:04.792274 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [effective_caller_id_number]=[18001802222]
  302. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_caller_id_name=Force caller)
  303. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_caller_id_name]=[Force caller]
  304. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_caller_id_number=18001802222)
  305. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_caller_id_number]=[18001802222]
  306. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3)
  307. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3]
  308. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(trunk_id=5)
  309. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [trunk_id]=[5]
  310. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(provider_id=3)
  311. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [provider_id]=[3]
  312. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 bridge([leg_timeout=0]sofia/gateway/PkGateway/31099999454555577)
  313. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1906 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> RING_WAIT
  314. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [call_processed]=[internal] to event
  315. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [callstart]=[2021-07-07 06:24:04] to event
  316. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [originated_destination_number]=[31099999454555577] to event
  317. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_destination_number]=[31099999454555577] to event
  318. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [account_id]=[10] to event
  319. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [account_type]=[0] to event
  320. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [resellerid]=[0] to event
  321. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [parent_id]=[0] to event
  322. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [accountcode]=[5144668937] to event
  323. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [call_direction]=[outbound] to event
  324. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event
  325. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10] to event
  326. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [original_caller_id_name]=[Force caller] to event
  327. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [original_caller_id_number]=[18001802222] to event
  328. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^31.* //  // 3.00000|||PkGateway // ^31.* //  // 1.00000|||CC] to event
  329. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_caller_id_name]=[Force caller] to event
  330. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_caller_id_number]=[18001802222] to event
  331. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3] to event
  332. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [trunk_id]=[5] to event
  333. 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [provider_id]=[3] to event
  334. 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  335. 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  336. 2021-07-07 06:24:04.792274 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31099999454555577 [f7695d4e-5d0a-47a2-a2d6-be52d26e5254]
  337. 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:5089 (sofia/default/31099999454555577) State Change CS_NEW -> CS_INIT
  338. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_INIT (Cur 2 Tot 2434)
  339. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31099999454555577) State INIT
  340. 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:93 sofia/default/31099999454555577 SOFIA INIT
  341. 2021-07-07 06:24:04.792274 [DEBUG] sofia_glue.c:1618 sofia/default/31099999454555577 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  342. Local SDP:
  343. v=0
  344. o=FreeSWITCH 1625624602 1625624603 IN IP4 46.101.114.158
  345. s=FreeSWITCH
  346. c=IN IP4 46.101.114.158
  347. t=0 0
  348. m=audio 14442 RTP/AVP 8 101
  349. a=rtpmap:8 PCMA/8000
  350. a=rtpmap:101 telephone-event/8000
  351. a=fmtp:101 0-16
  352. a=ptime:20
  353. a=sendrecv
  354.  
  355. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:40 sofia/default/31099999454555577 Standard INIT
  356. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31099999454555577) State Change CS_INIT -> CS_ROUTING
  357. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31099999454555577) State INIT going to sleep
  358. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_ROUTING (Cur 2 Tot 2434)
  359. 2021-07-07 06:24:04.792274 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [calling][0]
  360. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31099999454555577) State ROUTING
  361. 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:154 sofia/default/31099999454555577 SOFIA ROUTING
  362. 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31099999454555577) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  363. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31099999454555577) State ROUTING going to sleep
  364. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2434)
  365. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31099999454555577) State CONSUME_MEDIA
  366. 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31099999454555577) State CONSUME_MEDIA going to sleep
  367. 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [completing][200]
  368. 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7336 Remote SDP:
  369. v=0
  370. o=root 1288914781 1288914781 IN IP4 159.203.131.36
  371. s=Asterisk PBX 16.4.0
  372. c=IN IP4 159.203.131.36
  373. t=0 0
  374. m=audio 16648 RTP/AVP 8 101
  375. a=rtpmap:8 PCMA/8000
  376. a=rtpmap:101 telephone-event/8000
  377. a=fmtp:101 0-16
  378. a=maxptime:150
  379.  
  380. 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [ready][200]
  381. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  382. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  383. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  384. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31099999454555577 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  385. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_codec.c:111 sofia/default/31099999454555577 Original read codec set to PCMA:8
  386. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  387. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5911 sofia/default/31099999454555577 Set 2833 dtmf send payload to 101 recv payload to 101
  388. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31099999454555577] 46.101.114.158 port 14442 -> 159.203.131.36 port 16648 codec: 8 ms: 20
  389. 2021-07-07 06:24:04.872276 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  390. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8977 sofia/default/31099999454555577 Set 2833 dtmf send payload to 101
  391. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8984 sofia/default/31099999454555577 Set 2833 dtmf receive payload to 101
  392. 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:9007 sofia/default/31099999454555577 Set rtp dtmf delay to 40
  393. 2021-07-07 06:24:04.872276 [NOTICE] sofia.c:8504 Channel [sofia/default/31099999454555577] has been answered
  394. 2021-07-07 06:24:04.872276 [DEBUG] switch_channel.c:3865 (sofia/default/31099999454555577) Callstate Change DOWN -> ACTIVE
  395. 2021-07-07 06:24:04.892271 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31099999454555577]
  396. 2021-07-07 06:24:04.892271 [DEBUG] switch_channel.c:2130 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change RING_WAIT -> ACTIVE
  397. 2021-07-07 06:24:04.892271 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31099999454555577) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  398. 2021-07-07 06:24:04.892271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2434)
  399. 2021-07-07 06:24:04.892271 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31099999454555577) State EXCHANGE_MEDIA
  400. 2021-07-07 06:24:04.892271 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  401. 2021-07-07 06:24:05.092283 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  402. 2021-07-07 06:24:35.812271 [NOTICE] sofia.c:1089 Hangup sofia/default/5144668937@entdemo.astppbilling.org:5077 [CS_EXECUTE] [NORMAL_CLEARING]
  403. 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/5144668937@entdemo.astppbilling.org:5077]
  404. 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:820 sofia/default/5144668937@entdemo.astppbilling.org:5077 ending bridge by request from write function
  405. 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31099999454555577]
  406. 2021-07-07 06:24:35.812271 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31099999454555577 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  407. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31099999454555577) State EXCHANGE_MEDIA going to sleep
  408. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_HANGUP (Cur 2 Tot 2434)
  409. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31099999454555577) Callstate Change ACTIVE -> HANGUP
  410. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31099999454555577) State HANGUP
  411. 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:447 sofia/default/31099999454555577 Overriding SIP cause 480 with 200 from the other leg
  412. 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:453 Channel sofia/default/31099999454555577 hanging up, cause: NORMAL_CLEARING
  413. 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31099999454555577
  414. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:60 sofia/default/31099999454555577 Standard HANGUP, cause: NORMAL_CLEARING
  415. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31099999454555577) State HANGUP going to sleep
  416. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31099999454555577) State Change CS_HANGUP -> CS_REPORTING
  417. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_REPORTING (Cur 2 Tot 2434)
  418. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31099999454555577) State REPORTING
  419. 2021-07-07 06:24:35.812271 [INFO] mod_json_cdr.c:271 Process [f7695d4e-5d0a-47a2-a2d6-be52d26e5254.cdr.json]
  420. 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31099999454555577 skip receive message [UNBRIDGE] (channel is hungup already)
  421. 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [UNBRIDGE] (channel is hungup already)
  422. 2021-07-07 06:24:35.812271 [DEBUG] switch_core_session.c:2905 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  423. 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:0
  424. 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:1
  425. 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:2
  426. 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:731 CoreSession::hangup
  427. 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1191 sofia/default/5144668937@entdemo.astppbilling.org:5077 destroy/unlink session from object
  428. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_session.c:2905 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  429. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:651 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State EXECUTE going to sleep
  430. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 2 Tot 2434)
  431. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:848 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> HANGUP
  432. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State HANGUP
  433. 2021-07-07 06:24:35.832274 [DEBUG] mod_sofia.c:453 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 hanging up, cause: NORMAL_CLEARING
  434. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:60 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard HANGUP, cause: NORMAL_CLEARING
  435. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State HANGUP going to sleep
  436. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:620 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING
  437. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 2 Tot 2434)
  438. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:936 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State REPORTING
  439. 2021-07-07 06:24:35.832274 [INFO] mod_json_cdr.c:271 Process [2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe.cdr.json]
  440. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:174 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard REPORTING, cause: NORMAL_CLEARING
  441. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:936 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State REPORTING going to sleep
  442. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:611 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY
  443. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_session.c:1726 Session 2433 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Locked, Waiting on external entities
  444. 2021-07-07 06:24:35.832274 [NOTICE] switch_core_session.c:1744 Session 2433 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Ended
  445. 2021-07-07 06:24:35.832274 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 [CS_DESTROY]
  446. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:739 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 1 Tot 2434)
  447. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:749 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State DESTROY
  448. 2021-07-07 06:24:35.832274 [DEBUG] mod_sofia.c:364 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA DESTROY
  449. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:181 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard DESTROY
  450. 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:749 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State DESTROY going to sleep
  451. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:174 sofia/default/31099999454555577 Standard REPORTING, cause: NORMAL_CLEARING
  452. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31099999454555577) State REPORTING going to sleep
  453. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31099999454555577) State Change CS_REPORTING -> CS_DESTROY
  454. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_session.c:1726 Session 2434 (sofia/default/31099999454555577) Locked, Waiting on external entities
  455. 2021-07-07 06:24:35.852270 [NOTICE] switch_core_session.c:1744 Session 2434 (sofia/default/31099999454555577) Ended
  456. 2021-07-07 06:24:35.852270 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31099999454555577 [CS_DESTROY]
  457. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31099999454555577) Running State Change CS_DESTROY (Cur 0 Tot 2434)
  458. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31099999454555577) State DESTROY
  459. 2021-07-07 06:24:35.852270 [DEBUG] mod_sofia.c:364 sofia/default/31099999454555577 SOFIA DESTROY
  460. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:181 sofia/default/31099999454555577 Standard DESTROY
  461. 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31099999454555577) State DESTROY going to sleep
  462. 2021-07-07 06:24:36.292282 [DEBUG] switch_scheduler.c:147 Deleting task 32 switch_ivr_schedule_hangup (2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe)
  463. freeswitch@gibfibre>
  464.