From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Access number caller id pattern or issue
  1. freeswitch@ip-172-31-14-218>
  2. 2022-03-04 13:31:19.562984 97.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 [47e88578-1fdb-4297-819e-32cecf3c9002]
  3. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 17)
  4. 2022-03-04 13:31:19.562984 97.13% [INFO] sofia.c:10462 sofia/default/5912386637@w07version60.astppbilling.org:5060 receiving invite from 172.31.14.218:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MTMzMTJlYjRhYTBlMDJmN2YxZWVkZmQ2ZDFjMzRlYjU.
  5. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  6. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  7. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  8. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:7499 Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 entering state [received][100]
  9. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=3cxVCE 370189515 82168320 IN IP4 117.247.91.162
  12. s=3cxVCE Audio Call
  13. c=IN IP4 117.247.91.162
  14. t=0 0
  15. m=audio 40024 RTP/AVP 0 8 3 101
  16. a=rtpmap:0 PCMU/8000
  17. a=rtpmap:8 PCMA/8000
  18. a=rtpmap:3 GSM/8000
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-15
  21. a=ptime:20
  22. m=video 40016 RTP/AVP 34
  23. c=IN IP4 117.247.91.162
  24. a=rtpmap:34 H263/90000
  25. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  26.  
  27. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  30. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  36. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5912386637@w07version60.astppbilling.org:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  37. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_codec.c:111 sofia/default/5912386637@w07version60.astppbilling.org:5060 Original read codec set to PCMU:0
  38. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  39. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:5973 sofia/default/5912386637@w07version60.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  40. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  41. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  42. 2022-03-04 13:31:19.562984 97.13% [DEBUG] sofia.c:7933 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  43. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State NEW
  44. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 17)
  45. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State INIT
  46. 2022-03-04 13:31:19.562984 97.13% [DEBUG] mod_sofia.c:97 sofia/default/5912386637@w07version60.astppbilling.org:5060 SOFIA INIT
  47. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard INIT
  48. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  49. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State INIT going to sleep
  50. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 17)
  51. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_channel.c:2380 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  52. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State ROUTING
  53. 2022-03-04 13:31:19.562984 97.13% [DEBUG] mod_sofia.c:158 sofia/default/5912386637@w07version60.astppbilling.org:5060 SOFIA ROUTING
  54. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard ROUTING
  55. 2022-03-04 13:31:19.562984 97.13% [INFO] mod_dialplan_xml.c:639 Processing 5912386637 <5912386637>->640120 in context default
  56. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  57. 2022-03-04 13:31:19.562984 97.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2022-03-04 13:31:19.582944 97.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  59. 2022-03-04 13:31:19.582944 97.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 640120
  60. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '640120' limit 1
  61. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '640120' AND status=0 limit 1
  62. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  63. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  64. <document type="freeswitch/xml">
  65. <section name="dialplan" description="ASTPP Dialplan">
  66. <context name="default">
  67. <extension name="640120">
  68. <condition field="destination_number" expression="640120">
  69. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  70. <action application="answer"/>
  71. <action application="sleep" data="2000"/>
  72. <action application="lua" data="astpp-callingcards.lua"/>
  73. </condition>
  74. </extension>
  75. </context>
  76. </section>
  77. </document>
  78. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 parsing [default->640120] continue=false
  79. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 Regex (PASS) [640120] destination_number(640120) =~ /640120/ break=on-false
  80. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 Action log(INFO ASTPP - Calling Card Call)
  81. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 Action answer()
  82. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 Action sleep(2000)
  83. Dialplan: sofia/default/5912386637@w07version60.astppbilling.org:5060 Action lua(astpp-callingcards.lua)
  84. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE
  85. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State ROUTING going to sleep
  86. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 17)
  87. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State EXECUTE
  88. 2022-03-04 13:31:19.582944 97.13% [DEBUG] mod_sofia.c:213 sofia/default/5912386637@w07version60.astppbilling.org:5060 SOFIA EXECUTE
  89. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard EXECUTE
  90. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 log(INFO ASTPP - Calling Card Call)
  91. 2022-03-04 13:31:19.582944 97.13% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call
  92. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 answer()
  93. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/5912386637@w07version60.astppbilling.org:5060] 172.31.14.218 port 29006 -> 117.247.91.162 port 40024 codec: 0 ms: 20
  94. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  95. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_media.c:9089 sofia/default/5912386637@w07version60.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  96. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_media.c:9096 sofia/default/5912386637@w07version60.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  97. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_core_media.c:9119 sofia/default/5912386637@w07version60.astppbilling.org:5060 Set rtp dtmf delay to 40
  98. 2022-03-04 13:31:19.582944 97.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/5912386637@w07version60.astppbilling.org:5060:
  99. v=0
  100. o=FreeSWITCH 1646371673 1646371674 IN IP4 172.31.14.218
  101. s=FreeSWITCH
  102. c=IN IP4 172.31.14.218
  103. t=0 0
  104. m=audio 29006 RTP/AVP 0 101
  105. a=rtpmap:0 PCMU/8000
  106. a=rtpmap:101 telephone-event/8000
  107. a=fmtp:101 0-15
  108. a=ptime:20
  109. a=sendrecv
  110. m=video 0 RTP/AVP 19
  111.  
  112. 2022-03-04 13:31:19.582944 97.13% [DEBUG] sofia.c:7499 Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 entering state [completed][200]
  113. 2022-03-04 13:31:19.582944 97.13% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/5912386637@w07version60.astppbilling.org:5060] has been answered
  114. 2022-03-04 13:31:19.582944 97.13% [DEBUG] switch_channel.c:3950 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  115. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 sleep(2000)
  116. 2022-03-04 13:31:19.642962 97.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  117. 2022-03-04 13:31:19.722942 97.13% [DEBUG] sofia.c:7499 Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 entering state [ready][200]
  118. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 lua(astpp-callingcards.lua)
  119. 2022-03-04 13:31:21.602941 97.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  120. 2022-03-04 13:31:21.602941 97.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  121. 2022-03-04 13:31:21.602941 97.10% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  122. 2022-03-04 13:31:21.602941 97.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  123. 2022-03-04 13:31:23.382943 97.10% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  124. 2022-03-04 13:31:23.382943 97.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 5912386637
  125. 2022-03-04 13:31:23.382943 97.10% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav sample rate 16000 doesn't match requested rate 8000
  126. 2022-03-04 13:31:23.382943 97.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  127. 2022-03-04 13:31:26.382967 97.60% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  128. 2022-03-04 13:31:28.722987 97.60% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  129. 2022-03-04 13:31:28.722987 97.60% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  130. 2022-03-04 13:31:29.882962 97.67% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  131. 2022-03-04 13:31:29.882962 97.67% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  132. 2022-03-04 13:31:31.642970 97.67% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  133. 2022-03-04 13:31:31.642970 97.67% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  134. 2022-03-04 13:31:33.003009 98.07% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  135. 2022-03-04 13:31:33.003009 98.07% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  136. 2022-03-04 13:31:35.802950 98.07% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  137. 2022-03-04 13:31:35.802950 98.07% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  138. 2022-03-04 13:31:37.522974 98.13% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  139. 2022-03-04 13:31:37.522974 98.13% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  140. 2022-03-04 13:31:39.082991 98.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  141. 2022-03-04 13:31:39.082991 98.47% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  142. 2022-03-04 13:31:39.542974 98.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  143. 2022-03-04 13:31:39.542974 98.47% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  144. 2022-03-04 13:31:40.402973 98.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  145. 2022-03-04 13:31:40.402973 98.63% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  146. 2022-03-04 13:31:40.782963 98.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  147. 2022-03-04 13:31:40.782963 98.63% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  148. 2022-03-04 13:31:42.742966 98.73% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  149. span style="color: green; font-weight: bold;"> 2022-03-04 13:31:42.742966 98.73% [INFO] switch_channel.c:527 RECV DTMF #:2080
  150. span style="color: goldenrod; font-weight: bold;"> 2022-03-04 13:31:42.742966 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 5295865522
  151. 2022-03-04 13:31:42.742966 98.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "5295865522" AND status=0 AND deleted=0 limit 1
  152. 2022-03-04 13:31:42.742966 98.73% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav sample rate 16000 doesn't match requested rate 8000
  153. 2022-03-04 13:31:42.742966 98.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  154. 2022-03-04 13:31:45.462974 98.67% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav
  155. 2022-03-04 13:31:46.662942 98.70% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  156. 2022-03-04 13:31:46.662942 98.70% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  157. 2022-03-04 13:31:48.222990 98.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  158. 2022-03-04 13:31:48.222990 98.57% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  159. 2022-03-04 13:31:50.022983 98.70% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  160. 2022-03-04 13:31:50.022983 98.70% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  161. 2022-03-04 13:31:51.062954 98.67% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  162. 2022-03-04 13:31:51.062954 98.67% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  163. 2022-03-04 13:31:51.902985 98.73% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  164. 2022-03-04 13:31:51.902985 98.73% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  165. 2022-03-04 13:31:52.662962 98.73% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  166. 2022-03-04 13:31:52.662962 98.73% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  167. 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  168. span style="color: green; font-weight: bold;"> 2022-03-04 13:31:54.042953 98.53% [INFO] switch_channel.c:527 RECV DTMF #:2080
  169. span style="color: goldenrod; font-weight: bold;"> 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We Recieved A Pin Number : 859262
  170. 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2032-02-23 09:48:33' , '%Y%m%d%H%i%s') AS expiry
  171. 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2022-03-04 13:31:54' , '%Y%m%d%H%i%s') AS expiry
  172. 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-register.wav sample rate 16000 doesn't match requested rate 8000
  173. 2022-03-04 13:31:54.042953 98.53% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  174. 2022-03-04 13:31:56.862967 98.57% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-register.wav
  175. 2022-03-04 13:32:01.882951 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5295865522]
  176. 2022-03-04 13:32:01.882951 98.27% [DEBUG] switch_core_file.c:444 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
  177. 2022-03-04 13:32:01.882951 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  178. 2022-03-04 13:32:03.202982 94.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  179. 2022-03-04 13:32:03.202982 94.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :19953
  180. 2022-03-04 13:32:03.202982 94.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :55
  181. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 say(en number pronounced 19953)
  182. 2022-03-04 13:32:03.222939 94.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  183. 2022-03-04 13:32:06.322963 93.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/19.wav!digits/thousand.wav!digits/9.wav!digits/hundred.wav!digits/50.wav!digits/3.wav
  184. 2022-03-04 13:32:06.322963 93.23% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav sample rate 16000 doesn't match requested rate 8000
  185. 2022-03-04 13:32:06.322963 93.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  186. 2022-03-04 13:32:06.882966 93.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  187. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 say(en number pronounced 55)
  188. 2022-03-04 13:32:06.902938 93.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  189. 2022-03-04 13:32:08.162963 93.10% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/50.wav!digits/5.wav
  190. 2022-03-04 13:32:08.162963 93.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [HP:access_number_call_flow[0:Go Direct Dial,1:Go IVR] : 0]
  191. 2022-03-04 13:32:08.162963 93.10% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav sample rate 16000 doesn't match requested rate 8000
  192. 2022-03-04 13:32:08.162963 93.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  193. 2022-03-04 13:32:11.862979 92.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  194. 2022-03-04 13:32:18.582979 92.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:2080
  195. 2022-03-04 13:32:18.582979 92.40% [INFO] switch_channel.c:527 RECV DTMF 7:2080
  196. 2022-03-04 13:32:18.922976 92.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:2080
  197. 2022-03-04 13:32:18.922976 92.37% [INFO] switch_channel.c:527 RECV DTMF 7:2080
  198. 2022-03-04 13:32:19.602989 92.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  199. 2022-03-04 13:32:19.602989 92.37% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  200. 2022-03-04 13:32:20.542987 92.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  201. 2022-03-04 13:32:20.542987 92.40% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  202. 2022-03-04 13:32:20.882998 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  203. 2022-03-04 13:32:20.882998 92.43% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  204. 2022-03-04 13:32:21.222966 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  205. 2022-03-04 13:32:21.222966 92.43% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  206. 2022-03-04 13:32:21.562978 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  207. 2022-03-04 13:32:21.562978 92.43% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  208. 2022-03-04 13:32:21.902986 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  209. 2022-03-04 13:32:21.902986 92.43% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  210. 2022-03-04 13:32:22.242970 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  211. 2022-03-04 13:32:22.242970 92.43% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  212. 2022-03-04 13:32:22.582976 92.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  213. 2022-03-04 13:32:22.582976 92.43% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  214. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  215. span style="color: green; font-weight: bold;"> 2022-03-04 13:32:24.062972 92.57% [INFO] switch_channel.c:527 RECV DTMF #:2080
  216. span style="color: green; font-weight: bold;"> 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK Destination] Dialed Destination Number :7709399393
  217. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '7709399393' OR number = '770939939' OR number = '77093993' OR number = '7709399' OR number = '770939' OR number = '77093' OR number = '7709' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '7709399393*' OR number = '770939939*' OR number = '77093993*' OR number = '7709399*' OR number = '770939*' OR number = '77093*' OR number = '7709*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '5912386637' OR number = '591238663' OR number = '59123866' OR number = '5912386' OR number = '591238' OR number = '59123' OR number = '5912' OR number = '591' OR number = '59' OR number = '5' OR number ='--') OR (number = '5912386637*' OR number = '591238663*' OR number = '59123866*' OR number = '5912386*' OR number = '591238*' OR number = '59123*' OR number = '5912*' OR number = '591*' OR number = '59*' OR number = '5*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  218. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  219. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '7709399393' OR routing_prefix = '770939939' OR routing_prefix = '77093993' OR routing_prefix = '7709399' OR routing_prefix = '770939' OR routing_prefix = '77093' OR routing_prefix = '7709' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1
  220. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  221. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  222. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5295865522
  223. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19953.55
  224. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  225. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  226. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  227. 2022-03-04 13:32:24.062972 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  228. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7709399393.*' OR blocked_patterns = '^770939939.*' OR blocked_patterns = '^77093993.*' OR blocked_patterns = '^7709399.*' OR blocked_patterns = '^770939.*' OR blocked_patterns = '^77093.*' OR blocked_patterns = '^7709.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  229. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^7709399393.*' OR patterns = '^770939939.*' OR patterns = '^77093993.*' OR patterns = '^7709399.*' OR patterns = '^770939.*' OR patterns = '^77093.*' OR patterns = '^7709.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  230. 2022-03-04 13:32:24.062972 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  231. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :
  232. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  233. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7709399393.*' OR pattern = '^770939939.*' OR pattern = '^77093993.*' OR pattern = '^7709399.*' OR pattern = '^770939.*' OR pattern = '^77093.*' OR pattern = '^7709.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^5912386637.*' OR caller_id_pattern = '^591238663.*' OR caller_id_pattern = '^59123866.*' OR caller_id_pattern = '^5912386.*' OR caller_id_pattern = '^591238.*' OR caller_id_pattern = '^59123.*' OR caller_id_pattern = '^5912.*' OR caller_id_pattern = '^591.*' OR caller_id_pattern = '^59.*' OR caller_id_pattern = '^5.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=6)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  234. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction :
  235. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  236. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  237. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  238. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  239. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 4.00000
  240. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Reseller
  241. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 70
  242. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  243. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  244. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  245. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  246. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19953.55 balance Accountid 6 !!!
  247. 2022-03-04 13:32:24.082945 92.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  248. 2022-03-04 13:32:24.082945 92.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 5
  249. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE (number = "5" OR id="5") AND status=0 AND deleted=0 limit 1
  250. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^7709399393.*' OR blocked_patterns = '^770939939.*' OR blocked_patterns = '^77093993.*' OR blocked_patterns = '^7709399.*' OR blocked_patterns = '^770939.*' OR blocked_patterns = '^77093.*' OR blocked_patterns = '^7709.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  251. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  252. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  253. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5959450023
  254. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19948
  255. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  256. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  257. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  258. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  259. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  260. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  261. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^7709399393.*' OR pattern = '^770939939.*' OR pattern = '^77093993.*' OR pattern = '^7709399.*' OR pattern = '^770939.*' OR pattern = '^77093.*' OR pattern = '^7709.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^5912386637.*' OR caller_id_pattern = '^591238663.*' OR caller_id_pattern = '^59123866.*' OR caller_id_pattern = '^5912386.*' OR caller_id_pattern = '^591238.*' OR caller_id_pattern = '^59123.*' OR caller_id_pattern = '^5912.*' OR caller_id_pattern = '^591.*' OR caller_id_pattern = '^59.*' OR caller_id_pattern = '^5.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  262. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  263. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  264. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  265. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  266. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  267. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.00000
  268. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Entdemo
  269. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 58
  270. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  271. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  272. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  273. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  274. 2022-03-04 13:32:24.082945 92.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19948 balance Accountid 5 !!!
  275. 2022-03-04 13:32:24.082945 92.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  276. 2022-03-04 13:32:24.082945 92.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] 100 Minutes
  277. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [SAY_TIMELIMIT] MINUTES 100
  278. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  279. 2022-03-04 13:32:24.082945 92.57% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  280. 2022-03-04 13:32:25.262976 92.47% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  281. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 say(en number pronounced 100)
  282. 2022-03-04 13:32:25.282939 92.47% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  283. 2022-03-04 13:32:26.442973 92.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/hundred.wav
  284. 2022-03-04 13:32:26.442973 92.43% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav sample rate 16000 doesn't match requested rate 8000
  285. 2022-03-04 13:32:26.442973 92.43% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  286. 2022-03-04 13:32:27.063004 92.40% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav
  287. 2022-03-04 13:32:27.063004 92.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  288. 2022-03-04 13:32:27.063004 92.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  289. 2022-03-04 13:32:27.063004 92.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^7709399393.*' OR pattern = '^770939939.*' OR pattern = '^77093993.*' OR pattern = '^7709399.*' OR pattern = '^770939.*' OR pattern = '^77093.*' OR pattern = '^7709.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  290. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  291. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  292. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  293. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Entdemo
  294. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  295. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  296. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  297. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  298. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Termination rate id : 3
  299. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Gateway name : Entdemo
  300. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  301. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  302. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  303. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Entdemo
  304. 2022-03-04 13:32:27.063004 92.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =================================================================
  305. 2022-03-04 13:32:27.063004 92.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Loss Less Routing Flag :: > 1
  306. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(call_processed=internal)
  307. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_processed]=[internal]
  308. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(callstart=2022-03-04 13:32:27)
  309. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [callstart]=[2022-03-04 13:32:27]
  310. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(originated_destination_number=7709399393)
  311. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [originated_destination_number]=[7709399393]
  312. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(effective_destination_number=7709399393)
  313. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_destination_number]=[7709399393]
  314. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(continue_on_fail=true)
  315. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [continue_on_fail]=[true]
  316. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(ringback=%(1500,3500,440))
  317. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [ringback]=[%(1500,3500,440)]
  318. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(hangup_after_bridge=true)
  319. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [hangup_after_bridge]=[true]
  320. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(account_id=6)
  321. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_id]=[6]
  322. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(account_type=0)
  323. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_type]=[0]
  324. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(resellerid=5)
  325. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [resellerid]=[5]
  326. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(parent_id=5)
  327. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [parent_id]=[5]
  328. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(accountcode=5295865522)
  329. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [accountcode]=[5295865522]
  330. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(call_direction=outbound)
  331. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[outbound]
  332. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(calltype=CALLINGCARD)
  333. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [calltype]=[CALLINGCARD]
  334. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(origination_rates=ID:3|CODE:^77.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:4.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:70|ACCID:6||ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:5)
  335. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_rates]=[ID:3|CODE:^77.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:4.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:70|ACCID:6||ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:5]
  336. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(execute_on_answer=sched_hangup +6000)
  337. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [execute_on_answer]=[sched_hangup +6000]
  338. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(process_cdr=true)
  339. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [process_cdr]=[true]
  340. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 sched_hangup(+6000)
  341. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_scheduler.c:263 Added task 10 switch_ivr_schedule_hangup (47e88578-1fdb-4297-819e-32cecf3c9002) to run at 1646406747
  342. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1
  343. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(original_caller_id_name=5912386637)
  344. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_name]=[5912386637]
  345. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(original_caller_id_number=5912386637)
  346. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_number]=[5912386637]
  347. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(presence_data=x//5|||Reseller's PK cust 440(5295865522)|||^77.* // Reseller // 4.00000|||Entdemo // ^77.* // Entdemo // 1.00000|||CC)
  348. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//5|||Reseller's PK cust 440(5295865522)|||^77.* // Reseller // 4.00000|||Entdemo // ^77.* // Entdemo // 1.00000|||CC]
  349. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_cpp.cpp:1465 [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
  350. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(effective_caller_id_name=5912386637)
  351. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [effective_caller_id_name]=[5912386637]
  352. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 set(effective_caller_id_number=5912386637)
  353. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/5912386637@w07version60.astppbilling.org:5060 [effective_caller_id_number]=[5912386637]
  354. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(effective_caller_id_name=5912386637)
  355. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_name]=[5912386637]
  356. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(effective_caller_id_number=5912386637)
  357. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_number]=[5912386637]
  358. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(termination_rates=ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|TRUNK:3|PROVIDER:3)
  359. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [termination_rates]=[ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|TRUNK:3|PROVIDER:3]
  360. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(trunk_id=3)
  361. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [trunk_id]=[3]
  362. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 export(provider_id=3)
  363. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [provider_id]=[3]
  364. EXECUTE [depth=0] sofia/default/5912386637@w07version60.astppbilling.org:5060 bridge([leg_timeout=0]sofia/gateway/Entdemo/7709399393)
  365. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1954 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Callstate Change ACTIVE -> RING_WAIT
  366. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [call_processed]=[internal] to event
  367. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [callstart]=[2022-03-04 13:32:27] to event
  368. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [originated_destination_number]=[7709399393] to event
  369. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [effective_destination_number]=[7709399393] to event
  370. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [account_id]=[6] to event
  371. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [account_type]=[0] to event
  372. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [resellerid]=[5] to event
  373. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [parent_id]=[5] to event
  374. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [accountcode]=[5295865522] to event
  375. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [call_direction]=[outbound] to event
  376. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event
  377. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [origination_rates]=[ID:3|CODE:^77.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:4.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:70|ACCID:6||ID:7|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:58|ACCID:5] to event
  378. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [original_caller_id_name]=[5912386637] to event
  379. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [original_caller_id_number]=[5912386637] to event
  380. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Reseller's PK cust 440(5295865522)|||^77.* // Reseller // 4.00000|||Entdemo // ^77.* // Entdemo // 1.00000|||CC] to event
  381. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [effective_caller_id_name]=[5912386637] to event
  382. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [effective_caller_id_number]=[5912386637] to event
  383. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [termination_rates]=[ID:3|CODE:^77.*|DESTINATION:Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|TRUNK:3|PROVIDER:3] to event
  384. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [trunk_id]=[3] to event
  385. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_channel.c:1269 sofia/default/5912386637@w07version60.astppbilling.org:5060 EXPORTING[export_vars] [provider_id]=[3] to event
  386. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  387. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  388. 2022-03-04 13:32:27.082939 92.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/7709399393 [f34ceace-106d-46d8-b8f9-5270e1783c61]
  389. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_sofia.c:5121 (sofia/default/7709399393) State Change CS_NEW -> CS_INIT
  390. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_INIT (Cur 2 Tot 18)
  391. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7709399393) State INIT
  392. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_sofia.c:97 sofia/default/7709399393 SOFIA INIT
  393. 2022-03-04 13:32:27.082939 92.40% [INFO] sofia_glue.c:1651 sofia/default/7709399393 sending invite call-id: (null)
  394. 2022-03-04 13:32:27.082939 92.40% [DEBUG] sofia_glue.c:1654 sofia/default/7709399393 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  395. Local SDP:
  396. v=0
  397. o=FreeSWITCH 1646371491 1646371492 IN IP4 172.31.14.218
  398. s=FreeSWITCH
  399. c=IN IP4 172.31.14.218
  400. t=0 0
  401. m=audio 29256 RTP/AVP 0 101
  402. a=rtpmap:0 PCMU/8000
  403. a=rtpmap:101 telephone-event/8000
  404. a=fmtp:101 0-15
  405. a=ptime:20
  406. a=sendrecv
  407.  
  408. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/7709399393 Standard INIT
  409. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7709399393) State Change CS_INIT -> CS_ROUTING
  410. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7709399393) State INIT going to sleep
  411. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_ROUTING (Cur 2 Tot 18)
  412. 2022-03-04 13:32:27.082939 92.40% [DEBUG] sofia.c:7499 Channel sofia/default/7709399393 entering state [calling][0]
  413. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7709399393) State ROUTING
  414. 2022-03-04 13:32:27.082939 92.40% [DEBUG] mod_sofia.c:158 sofia/default/7709399393 SOFIA ROUTING
  415. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_ivr_originate.c:67 (sofia/default/7709399393) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  416. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7709399393) State ROUTING going to sleep
  417. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 18)
  418. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7709399393) State CONSUME_MEDIA
  419. 2022-03-04 13:32:27.082939 92.40% [DEBUG] switch_core_state_machine.c:659 (sofia/default/7709399393) State CONSUME_MEDIA going to sleep
  420. 2022-03-04 13:32:27.342967 92.40% [DEBUG] sofia.c:7499 Channel sofia/default/7709399393 entering state [proceeding][180]
  421. 2022-03-04 13:32:27.342967 92.40% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/7709399393!
  422. 2022-03-04 13:32:27.342967 92.40% [DEBUG] switch_channel.c:3494 (sofia/default/7709399393) Callstate Change DOWN -> RINGING
  423. 2022-03-04 13:32:27.362967 92.40% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  424. 2022-03-04 13:32:27.362967 92.40% [DEBUG] switch_core_codec.c:223 sofia/default/5912386637@w07version60.astppbilling.org:5060 Push codec L16:100
  425. 2022-03-04 13:32:27.362967 92.40% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(1500,3500,440)]
  426. 2022-03-04 13:32:37.362967 97.77% [DEBUG] sofia.c:7499 Channel sofia/default/7709399393 entering state [completing][200]
  427. 2022-03-04 13:32:37.362967 97.77% [DEBUG] sofia.c:7509 Remote SDP:
  428. v=0
  429. o=root 16128380 16128380 IN IP4 159.203.131.36
  430. s=Asterisk PBX 16.4.0
  431. c=IN IP4 159.203.131.36
  432. t=0 0
  433. m=audio 11118 RTP/AVP 0 101
  434. a=rtpmap:0 PCMU/8000
  435. a=rtpmap:101 telephone-event/8000
  436. a=fmtp:101 0-16
  437. a=maxptime:150
  438.  
  439. 2022-03-04 13:32:37.362967 97.77% [DEBUG] sofia.c:7499 Channel sofia/default/7709399393 entering state [ready][200]
  440. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  441. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  442. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  443. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/7709399393 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  444. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_codec.c:111 sofia/default/7709399393 Original read codec set to PCMU:0
  445. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  446. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:5973 sofia/default/7709399393 Set 2833 dtmf send payload to 101 recv payload to 101
  447. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/7709399393] 172.31.14.218 port 29256 -> 159.203.131.36 port 11118 codec: 0 ms: 20
  448. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  449. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:9089 sofia/default/7709399393 Set 2833 dtmf send payload to 101
  450. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:9096 sofia/default/7709399393 Set 2833 dtmf receive payload to 101
  451. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_media.c:9119 sofia/default/7709399393 Set rtp dtmf delay to 40
  452. 2022-03-04 13:32:37.362967 97.77% [NOTICE] sofia.c:8683 Channel [sofia/default/7709399393] has been answered
  453. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_channel.c:3950 (sofia/default/7709399393) Callstate Change RINGING -> ACTIVE
  454. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_codec.c:248 sofia/default/5912386637@w07version60.astppbilling.org:5060 Restore previous codec PCMU:0.
  455. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/7709399393] Peer UUID: f34ceace-106d-46d8-b8f9-5270e1783c61
  456. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_channel.c:2178 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Callstate Change RING_WAIT -> ACTIVE
  457. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/7709399393) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  458. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 18)
  459. 2022-03-04 13:32:37.362967 97.77% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7709399393) State EXCHANGE_MEDIA
  460. 2022-03-04 13:32:37.362967 97.77% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  461. freeswitch@ip-172-31-14-218>
  462. freeswitch@ip-172-31-14-218>
  463. freeswitch@ip-172-31-14-218>
  464. freeswitch@ip-172-31-14-218>
  465. 2022-03-04 13:34:53.862965 98.63% [NOTICE] sofia.c:1065 Hangup sofia/default/5912386637@w07version60.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  466. 2022-03-04 13:34:53.862965 98.63% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/5912386637@w07version60.astppbilling.org:5060]
  467. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7709399393]
  468. 2022-03-04 13:34:53.882962 98.63% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/7709399393 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  469. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/7709399393) State EXCHANGE_MEDIA going to sleep
  470. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_HANGUP (Cur 2 Tot 18)
  471. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7709399393) Callstate Change ACTIVE -> HANGUP
  472. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7709399393) State HANGUP
  473. 2022-03-04 13:34:53.882962 98.63% [DEBUG] mod_sofia.c:462 sofia/default/7709399393 Overriding SIP cause 480 with 200 from the other leg
  474. 2022-03-04 13:34:53.882962 98.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/7709399393 hanging up, cause: NORMAL_CLEARING
  475. 2022-03-04 13:34:53.882962 98.63% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/7709399393
  476. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/7709399393 Standard HANGUP, cause: NORMAL_CLEARING
  477. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7709399393) State HANGUP going to sleep
  478. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7709399393) State Change CS_HANGUP -> CS_REPORTING
  479. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7709399393) Running State Change CS_REPORTING (Cur 2 Tot 18)
  480. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7709399393) State REPORTING
  481. 2022-03-04 13:34:53.882962 98.63% [INFO] mod_json_cdr.c:271 Process [f34ceace-106d-46d8-b8f9-5270e1783c61.cdr.json]
  482. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/7709399393 skip receive message [UNBRIDGE] (channel is hungup already)
  483. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/5912386637@w07version60.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  484. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_session.c:2983 sofia/default/5912386637@w07version60.astppbilling.org:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
  485. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:0
  486. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:1
  487. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:2
  488. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  489. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_cpp.cpp:1209 sofia/default/5912386637@w07version60.astppbilling.org:5060 destroy/unlink session from object
  490. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_session.c:2983 sofia/default/5912386637@w07version60.astppbilling.org:5060 skip receive message [PHONE_EVENT] (channel is hungup already)
  491. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State EXECUTE going to sleep
  492. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 18)
  493. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  494. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State HANGUP
  495. 2022-03-04 13:34:53.882962 98.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  496. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  497. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State HANGUP going to sleep
  498. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  499. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 18)
  500. 2022-03-04 13:34:53.882962 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State REPORTING
  501. 2022-03-04 13:34:53.882962 98.63% [INFO] mod_json_cdr.c:271 Process [47e88578-1fdb-4297-819e-32cecf3c9002.cdr.json]
  502. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  503. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State REPORTING going to sleep
  504. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  505. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_session.c:1753 Session 17 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Locked, Waiting on external entities
  506. 2022-03-04 13:34:53.902943 98.63% [NOTICE] switch_core_session.c:1771 Session 17 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Ended
  507. 2022-03-04 13:34:53.902943 98.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5912386637@w07version60.astppbilling.org:5060 [CS_DESTROY]
  508. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5912386637@w07version60.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 18)
  509. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State DESTROY
  510. 2022-03-04 13:34:53.902943 98.63% [DEBUG] mod_sofia.c:379 sofia/default/5912386637@w07version60.astppbilling.org:5060 SOFIA DESTROY
  511. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/5912386637@w07version60.astppbilling.org:5060 Standard DESTROY
  512. 2022-03-04 13:34:53.902943 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5912386637@w07version60.astppbilling.org:5060) State DESTROY going to sleep
  513. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/7709399393 Standard REPORTING, cause: NORMAL_CLEARING
  514. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7709399393) State REPORTING going to sleep
  515. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7709399393) State Change CS_REPORTING -> CS_DESTROY
  516. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_session.c:1753 Session 18 (sofia/default/7709399393) Locked, Waiting on external entities
  517. 2022-03-04 13:34:53.922946 98.63% [NOTICE] switch_core_session.c:1771 Session 18 (sofia/default/7709399393) Ended
  518. 2022-03-04 13:34:53.922946 98.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/7709399393 [CS_DESTROY]
  519. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7709399393) Running State Change CS_DESTROY (Cur 0 Tot 18)
  520. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7709399393) State DESTROY
  521. 2022-03-04 13:34:53.922946 98.63% [DEBUG] mod_sofia.c:379 sofia/default/7709399393 SOFIA DESTROY
  522. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/7709399393 Standard DESTROY
  523. 2022-03-04 13:34:53.922946 98.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7709399393) State DESTROY going to sleep
  524. 2022-03-04 13:34:54.102967 98.63% [DEBUG] switch_scheduler.c:147 Deleting task 10 switch_ivr_schedule_hangup (47e88578-1fdb-4297-819e-32cecf3c9002)
  525. freeswitch@ip-172-31-14-218>
  526.