From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. 2022-02-24 07:57:24.775122 95.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 [74f56142-a618-4a91-b16a-cda870cf55bd]
  4. 2022-02-24 07:57:24.775122 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 37)
  5. 2022-02-24 07:57:24.775122 95.00% [INFO] sofia.c:10462 sofia/default/2652250243@w07version61.astppbilling.org:5074 receiving invite from 150.129.107.251:49382 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Y2IzY2Y1YmY1ZjVjMjQwYWQxN2M0MjM2NjE0NzEzMDg.
  6. 2022-02-24 07:57:24.775122 95.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  7. 2022-02-24 07:57:24.775122 95.00% [DEBUG] sofia.c:2419 detaching session 74f56142-a618-4a91-b16a-cda870cf55bd
  8. 2022-02-24 07:57:24.775122 95.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [102102@w07version61.astppbilling.org] from ip 150.129.107.251
  9. 2022-02-24 07:57:24.775122 95.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State NEW
  10. 2022-02-24 07:57:24.895121 95.00% [DEBUG] sofia.c:2532 Re-attaching to session 74f56142-a618-4a91-b16a-cda870cf55bd
  11. 2022-02-24 07:57:24.895121 95.00% [INFO] sofia.c:10462 sofia/default/2652250243@w07version61.astppbilling.org:5074 receiving invite from 150.129.107.251:49382 version: 1.10.7 -release-19-883d2cb662 64bit call-id: Y2IzY2Y1YmY1ZjVjMjQwYWQxN2M0MjM2NjE0NzEzMDg.
  12. 2022-02-24 07:57:24.895121 95.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 150.129.107.251:0.
  13. 2022-02-24 07:57:24.935122 95.00% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  14. 2022-02-24 07:57:24.935122 95.00% [DEBUG] sofia.c:7499 Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 entering state [received][100]
  15. 2022-02-24 07:57:24.935122 95.00% [DEBUG] sofia.c:7509 Remote SDP:
  16. v=0
  17. o=3cxVCE 364683645 196470675 IN IP4 192.168.1.13
  18. s=3cxVCE Audio Call
  19. c=IN IP4 192.168.1.13
  20. t=0 0
  21. m=audio 40030 RTP/AVP 0 8 3 101
  22. a=rtpmap:0 PCMU/8000
  23. a=rtpmap:8 PCMA/8000
  24. a=rtpmap:3 GSM/8000
  25. a=rtpmap:101 telephone-event/8000
  26. a=fmtp:101 0-15
  27. a=ptime:20
  28. m=video 40028 RTP/AVP 34
  29. c=IN IP4 192.168.1.13
  30. a=rtpmap:34 H263/90000
  31. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  32.  
  33. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/2652250243@w07version61.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_codec.c:111 sofia/default/2652250243@w07version61.astppbilling.org:5074 Original read codec set to PCMU:0
  44. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:5973 sofia/default/2652250243@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  47. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  48. 2022-02-24 07:57:24.935122 95.00% [DEBUG] sofia.c:7933 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  49. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 37)
  50. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State INIT
  51. 2022-02-24 07:57:24.935122 95.00% [DEBUG] mod_sofia.c:97 sofia/default/2652250243@w07version61.astppbilling.org:5074 SOFIA INIT
  52. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard INIT
  53. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  54. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State INIT going to sleep
  55. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 37)
  56. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_channel.c:2380 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  57. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State ROUTING
  58. 2022-02-24 07:57:24.935122 95.00% [DEBUG] mod_sofia.c:158 sofia/default/2652250243@w07version61.astppbilling.org:5074 SOFIA ROUTING
  59. 2022-02-24 07:57:24.935122 95.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard ROUTING
  60. 2022-02-24 07:57:24.935122 95.00% [INFO] mod_dialplan_xml.c:639 Processing 2652250243 <2652250243>->102102 in context default
  61. 2022-02-24 07:57:24.975123 95.00% [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')
  62. 2022-02-24 07:57:24.975123 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2022-02-24 07:57:24.995128 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  64. 2022-02-24 07:57:24.995128 95.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 102102
  65. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '102102' limit 1
  66. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '102102' AND status=0 limit 1
  67. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  68. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  69. <document type="freeswitch/xml">
  70. <section name="dialplan" description="ASTPP Dialplan">
  71. <context name="default">
  72. <extension name="102102">
  73. <condition field="destination_number" expression="102102">
  74. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  75. <action application="answer"/>
  76. <action application="sleep" data="2000"/>
  77. <action application="lua" data="astpp-callingcards.lua"/>
  78. </condition>
  79. </extension>
  80. </context>
  81. </section>
  82. </document>
  83. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 parsing [default->102102] continue=false
  84. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 Regex (PASS) [102102] destination_number(102102) =~ /102102/ break=on-false
  85. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 Action log(INFO ASTPP - Calling Card Call)
  86. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 Action answer()
  87. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 Action sleep(2000)
  88. Dialplan: sofia/default/2652250243@w07version61.astppbilling.org:5074 Action lua(astpp-callingcards.lua)
  89. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  90. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State ROUTING going to sleep
  91. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 37)
  92. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State EXECUTE
  93. 2022-02-24 07:57:24.995128 95.00% [DEBUG] mod_sofia.c:213 sofia/default/2652250243@w07version61.astppbilling.org:5074 SOFIA EXECUTE
  94. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard EXECUTE
  95. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 log(INFO ASTPP - Calling Card Call)
  96. 2022-02-24 07:57:24.995128 95.00% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call
  97. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 answer()
  98. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/2652250243@w07version61.astppbilling.org:5074] 172.31.14.218 port 24260 -> 192.168.1.13 port 40030 codec: 0 ms: 20
  99. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  100. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_media.c:9089 sofia/default/2652250243@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  101. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_media.c:9096 sofia/default/2652250243@w07version61.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  102. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_core_media.c:9119 sofia/default/2652250243@w07version61.astppbilling.org:5074 Set rtp dtmf delay to 40
  103. 2022-02-24 07:57:24.995128 95.00% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/2652250243@w07version61.astppbilling.org:5074:
  104. v=0
  105. o=FreeSWITCH 1645665184 1645665185 IN IP4 3.7.66.233
  106. s=FreeSWITCH
  107. c=IN IP4 3.7.66.233
  108. t=0 0
  109. m=audio 24260 RTP/AVP 0 101
  110. a=rtpmap:0 PCMU/8000
  111. a=rtpmap:101 telephone-event/8000
  112. a=fmtp:101 0-15
  113. a=ptime:20
  114. a=sendrecv
  115. m=video 0 RTP/AVP 19
  116.  
  117. 2022-02-24 07:57:24.995128 95.00% [DEBUG] sofia.c:7499 Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 entering state [completed][200]
  118. 2022-02-24 07:57:24.995128 95.00% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/2652250243@w07version61.astppbilling.org:5074] has been answered
  119. 2022-02-24 07:57:24.995128 95.00% [DEBUG] switch_channel.c:3950 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
  120. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 sleep(2000)
  121. 2022-02-24 07:57:25.115126 95.00% [DEBUG] sofia.c:7499 Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 entering state [ready][200]
  122. 2022-02-24 07:57:25.275121 94.53% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.13:40030 to 150.129.107.251:40030
  123. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 lua(astpp-callingcards.lua)
  124. 2022-02-24 07:57:27.035119 94.63% [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')
  125. 2022-02-24 07:57:27.035119 94.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  126. 2022-02-24 07:57:27.035119 94.63% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  127. 2022-02-24 07:57:27.035119 94.63% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  128. 2022-02-24 07:57:28.815142 94.50% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  129. 2022-02-24 07:57:28.815142 94.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 2652250243
  130. 2022-02-24 07:57:28.815142 94.50% [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
  131. 2022-02-24 07:57:28.815142 94.50% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  132. 2022-02-24 07:57:31.815121 94.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  133. 2022-02-24 07:57:40.495124 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  134. 2022-02-24 07:57:40.495124 98.37% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  135. 2022-02-24 07:57:41.355125 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  136. 2022-02-24 07:57:41.355125 98.37% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  137. 2022-02-24 07:57:43.215165 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  138. 2022-02-24 07:57:43.215165 98.37% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  139. 2022-02-24 07:57:43.855140 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  140. 2022-02-24 07:57:43.855140 98.37% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  141. 2022-02-24 07:57:44.195123 98.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  142. 2022-02-24 07:57:44.195123 98.33% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  143. 2022-02-24 07:57:46.175177 98.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  144. 2022-02-24 07:57:46.175177 98.33% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  145. 2022-02-24 07:57:47.015122 98.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  146. 2022-02-24 07:57:47.015122 98.33% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  147. 2022-02-24 07:57:49.675145 98.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  148. 2022-02-24 07:57:49.675145 98.33% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  149. 2022-02-24 07:57:50.595134 98.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:2080
  150. 2022-02-24 07:57:50.595134 98.30% [INFO] switch_channel.c:527 RECV DTMF 4:2080
  151. 2022-02-24 07:57:51.355123 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  152. 2022-02-24 07:57:51.355123 98.27% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  153. 2022-02-24 07:57:54.635121 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  154. span style="color: green; font-weight: bold;"> 2022-02-24 07:57:54.635121 98.27% [INFO] switch_channel.c:527 RECV DTMF #:2080
  155. span style="color: goldenrod; font-weight: bold;"> 2022-02-24 07:57:54.635121 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 2652250243
  156. 2022-02-24 07:57:54.635121 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "2652250243" AND status=0 AND deleted=0 limit 1
  157. 2022-02-24 07:57:54.655119 98.27% [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
  158. 2022-02-24 07:57:54.655119 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  159. 2022-02-24 07:57:57.355121 98.70% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav
  160. 2022-02-24 07:58:01.655124 99.10% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  161. 2022-02-24 07:58:01.655124 99.10% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  162. 2022-02-24 07:58:02.495129 97.53% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  163. 2022-02-24 07:58:02.495129 97.53% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  164. 2022-02-24 07:58:05.315121 95.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  165. 2022-02-24 07:58:05.315121 95.37% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  166. 2022-02-24 07:58:07.415145 95.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  167. 2022-02-24 07:58:07.415145 95.30% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  168. 2022-02-24 07:58:08.135122 95.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  169. 2022-02-24 07:58:08.135122 95.30% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  170. 2022-02-24 07:58:08.815126 95.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  171. 2022-02-24 07:58:08.815126 95.37% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  172. 2022-02-24 07:58:10.695124 95.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  173. span style="color: green; font-weight: bold;"> 2022-02-24 07:58:10.695124 95.33% [INFO] switch_channel.c:527 RECV DTMF #:2080
  174. span style="color: goldenrod; font-weight: bold;"> 2022-02-24 07:58:10.695124 95.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We Recieved A Pin Number : 698268
  175. 2022-02-24 07:58:10.695124 95.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2032-02-21 07:11:59' , '%Y%m%d%H%i%s') AS expiry
  176. 2022-02-24 07:58:10.695124 95.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2022-02-24 07:58:10' , '%Y%m%d%H%i%s') AS expiry
  177. 2022-02-24 07:58:10.695124 95.33% [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
  178. 2022-02-24 07:58:10.695124 95.33% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  179. 2022-02-24 07:58:13.515198 95.33% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-register.wav
  180. 2022-02-24 07:58:18.535123 95.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2652250243]
  181. 2022-02-24 07:58:18.535123 95.33% [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
  182. 2022-02-24 07:58:18.535123 95.33% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  183. 2022-02-24 07:58:19.855124 95.23% [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
  184. 2022-02-24 07:58:19.855124 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :19991
  185. 2022-02-24 07:58:19.855124 95.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :8
  186. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 say(en number pronounced 19991)
  187. 2022-02-24 07:58:19.875115 95.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  188. 2022-02-24 07:58:22.975123 95.27% [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/90.wav!digits/1.wav
  189. 2022-02-24 07:58:22.975123 95.27% [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
  190. 2022-02-24 07:58:22.975123 95.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  191. 2022-02-24 07:58:23.535124 95.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  192. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 say(en number pronounced 8)
  193. 2022-02-24 07:58:23.555115 95.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  194. 2022-02-24 07:58:24.135134 95.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/8.wav
  195. 2022-02-24 07:58:24.135134 95.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [HP:access_number_call_flow[0:Go Direct Dial,1:Go IVR] : 0]
  196. 2022-02-24 07:58:24.135134 95.23% [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
  197. 2022-02-24 07:58:24.135134 95.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  198. 2022-02-24 07:58:27.835124 95.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  199. 2022-02-24 07:58:29.595120 95.13% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:2080
  200. 2022-02-24 07:58:29.595120 95.13% [INFO] switch_channel.c:527 RECV DTMF 1:2080
  201. 2022-02-24 07:58:30.355132 95.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  202. 2022-02-24 07:58:30.355132 95.20% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  203. 2022-02-24 07:58:31.115124 95.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  204. 2022-02-24 07:58:31.115124 95.20% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  205. 2022-02-24 07:58:31.455124 95.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  206. 2022-02-24 07:58:31.455124 95.20% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  207. 2022-02-24 07:58:31.795122 95.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  208. 2022-02-24 07:58:31.795122 95.20% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  209. 2022-02-24 07:58:32.135128 95.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  210. 2022-02-24 07:58:32.135128 95.20% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  211. 2022-02-24 07:58:32.475193 96.73% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  212. 2022-02-24 07:58:32.475193 96.73% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  213. 2022-02-24 07:58:33.235129 98.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:2080
  214. 2022-02-24 07:58:33.235129 98.30% [INFO] switch_channel.c:527 RECV DTMF 4:2080
  215. 2022-02-24 07:58:33.575120 98.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  216. 2022-02-24 07:58:33.575120 98.30% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  217. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  218. span style="color: green; font-weight: bold;"> 2022-02-24 07:58:34.715120 98.83% [INFO] switch_channel.c:527 RECV DTMF #:2080
  219. span style="color: green; font-weight: bold;"> 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK Destination] Dialed Destination Number :103333045
  220. 2022-02-24 07:58:34.715120 98.83% [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 = '103333045' OR number = '10333304' OR number = '1033330' OR number = '103333' OR number = '10333' OR number = '1033' OR number = '103' OR number = '10' OR number = '1' OR number ='--') OR (number = '103333045*' OR number = '10333304*' OR number = '1033330*' OR number = '103333*' OR number = '10333*' OR number = '1033*' OR number = '103*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '2652250243' OR number = '265225024' OR number = '26522502' OR number = '2652250' OR number = '265225' OR number = '26522' OR number = '2652' OR number = '265' OR number = '26' OR number = '2' OR number ='--') OR (number = '2652250243*' OR number = '265225024*' OR number = '26522502*' OR number = '2652250*' OR number = '265225*' OR number = '26522*' OR number = '2652*' OR number = '265*' OR number = '26*' OR number = '2*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  221. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  222. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '103333045' OR routing_prefix = '10333304' OR routing_prefix = '1033330' OR routing_prefix = '103333' OR routing_prefix = '10333' OR routing_prefix = '1033' OR routing_prefix = '103' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
  223. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  224. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  225. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2652250243
  226. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19991.8
  227. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  228. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  229. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  230. 2022-02-24 07:58:34.715120 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  231. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^103333045.*' OR blocked_patterns = '^10333304.*' OR blocked_patterns = '^1033330.*' OR blocked_patterns = '^103333.*' OR blocked_patterns = '^10333.*' OR blocked_patterns = '^1033.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  232. 2022-02-24 07:58:34.715120 98.83% [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 = '^103333045.*' OR patterns = '^10333304.*' OR patterns = '^1033330.*' OR patterns = '^103333.*' OR patterns = '^10333.*' OR patterns = '^1033.*' OR patterns = '^103.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  233. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  234. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :
  235. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  236. 2022-02-24 07:58:34.715120 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^103333045.*' OR pattern = '^10333304.*' OR pattern = '^1033330.*' OR pattern = '^103333.*' OR pattern = '^10333.*' OR pattern = '^1033.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^2652250243.*' OR caller_id_pattern = '^265225024.*' OR caller_id_pattern = '^26522502.*' OR caller_id_pattern = '^2652250.*' OR caller_id_pattern = '^265225.*' OR caller_id_pattern = '^26522.*' OR caller_id_pattern = '^2652.*' OR caller_id_pattern = '^265.*' OR caller_id_pattern = '^26.*' OR caller_id_pattern = '^2.*' 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
  237. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction :
  238. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  239. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  240. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  241. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  242. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  243. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Reseller
  244. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 54
  245. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  246. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  247. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  248. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  249. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19991.8 balance Accountid 6 !!!
  250. 2022-02-24 07:58:34.735122 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  251. 2022-02-24 07:58:34.735122 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
  252. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE (number = "4" OR id="4") AND status=0 AND deleted=0 limit 1
  253. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^103333045.*' OR blocked_patterns = '^10333304.*' OR blocked_patterns = '^1033330.*' OR blocked_patterns = '^103333.*' OR blocked_patterns = '^10333.*' OR blocked_patterns = '^1033.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  254. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  255. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  256. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1094093886
  257. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39997.2375
  258. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  259. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  260. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  261. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  262. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  263. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  264. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^103333045.*' OR pattern = '^10333304.*' OR pattern = '^1033330.*' OR pattern = '^103333.*' OR pattern = '^10333.*' OR pattern = '^1033.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^2652250243.*' OR caller_id_pattern = '^265225024.*' OR caller_id_pattern = '^26522502.*' OR caller_id_pattern = '^2652250.*' OR caller_id_pattern = '^265225.*' OR caller_id_pattern = '^26522.*' OR caller_id_pattern = '^2652.*' OR caller_id_pattern = '^265.*' OR caller_id_pattern = '^26.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  265. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  266. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  267. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  268. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  269. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  270. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  271. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  272. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  273. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  274. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  275. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  276. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  277. 2022-02-24 07:58:34.735122 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39997.2375 balance Accountid 4 !!!
  278. 2022-02-24 07:58:34.735122 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  279. 2022-02-24 07:58:34.735122 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] 100 Minutes
  280. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [SAY_TIMELIMIT] MINUTES 100
  281. 2022-02-24 07:58:34.735122 98.83% [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
  282. 2022-02-24 07:58:34.735122 98.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  283. 2022-02-24 07:58:35.915123 98.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  284. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 say(en number pronounced 100)
  285. 2022-02-24 07:58:35.935114 98.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  286. 2022-02-24 07:58:37.095121 98.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/hundred.wav
  287. 2022-02-24 07:58:37.095121 98.93% [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
  288. 2022-02-24 07:58:37.095121 98.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  289. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav
  290. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  291. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  292. 2022-02-24 07:58:37.715122 98.90% [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 = '^103333045.*' OR pattern = '^10333304.*' OR pattern = '^1033330.*' OR pattern = '^103333.*' OR pattern = '^10333.*' OR pattern = '^1033.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  293. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  294. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  295. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  296. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  297. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  298. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  299. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  300. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  301. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Termination rate id : 1
  302. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Gateway name : YourProvider
  303. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  304. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  305. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  306. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  307. 2022-02-24 07:58:37.715122 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =================================================================
  308. 2022-02-24 07:58:37.715122 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Loss Less Routing Flag :: > 1
  309. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(call_processed=internal)
  310. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_processed]=[internal]
  311. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(callstart=2022-02-24 07:58:37)
  312. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [callstart]=[2022-02-24 07:58:37]
  313. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(originated_destination_number=103333045)
  314. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [originated_destination_number]=[103333045]
  315. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(effective_destination_number=103333045)
  316. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_destination_number]=[103333045]
  317. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(continue_on_fail=true)
  318. 2022-02-24 07:58:37.715122 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [continue_on_fail]=[true]
  319. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(ringback=%(1500,3500,440))
  320. 2022-02-24 07:58:37.715122 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [ringback]=[%(1500,3500,440)]
  321. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(hangup_after_bridge=true)
  322. 2022-02-24 07:58:37.715122 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [hangup_after_bridge]=[true]
  323. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(account_id=6)
  324. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_id]=[6]
  325. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(account_type=0)
  326. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_type]=[0]
  327. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(resellerid=4)
  328. 2022-02-24 07:58:37.715122 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [resellerid]=[4]
  329. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(parent_id=4)
  330. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [parent_id]=[4]
  331. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(accountcode=2652250243)
  332. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [accountcode]=[2652250243]
  333. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(call_direction=outbound)
  334. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[outbound]
  335. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(calltype=CALLINGCARD)
  336. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [calltype]=[CALLINGCARD]
  337. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(origination_rates=ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:54|ACCID:6||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
  338. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_rates]=[ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:54|ACCID:6||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4]
  339. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(execute_on_answer=sched_hangup +6000)
  340. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [execute_on_answer]=[sched_hangup +6000]
  341. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(process_cdr=true)
  342. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [process_cdr]=[true]
  343. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 sched_hangup(+6000)
  344. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_scheduler.c:263 Added task 19 switch_ivr_schedule_hangup (74f56142-a618-4a91-b16a-cda870cf55bd) to run at 1645695517
  345. 2022-02-24 07:58:37.735135 98.90% [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
  346. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(original_caller_id_name=2652250243)
  347. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_name]=[2652250243]
  348. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(original_caller_id_number=2652250243)
  349. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_number]=[2652250243]
  350. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(presence_data=x//4|||Customer-Reseller-PK(2652250243)|||^1.* // Reseller // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC)
  351. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//4|||Customer-Reseller-PK(2652250243)|||^1.* // Reseller // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC]
  352. 2022-02-24 07:58:37.735135 98.90% [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
  353. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(effective_caller_id_name=2652250243)
  354. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [effective_caller_id_name]=[2652250243]
  355. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 set(effective_caller_id_number=2652250243)
  356. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/2652250243@w07version61.astppbilling.org:5074 [effective_caller_id_number]=[2652250243]
  357. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(effective_caller_id_name=2652250243)
  358. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_name]=[2652250243]
  359. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(effective_caller_id_number=2652250243)
  360. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_number]=[2652250243]
  361. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|TRUNK:1|PROVIDER:3)
  362. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|TRUNK:1|PROVIDER:3]
  363. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(trunk_id=1)
  364. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [trunk_id]=[1]
  365. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(provider_id=3)
  366. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [provider_id]=[3]
  367. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 export(absolute_codec_string=PCMA,G729,PCMA)
  368. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [absolute_codec_string]=[PCMA,G729,PCMA]
  369. EXECUTE [depth=0] sofia/default/2652250243@w07version61.astppbilling.org:5074 bridge([leg_timeout=30]sofia/gateway/YourProvider/103333045)
  370. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1954 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Callstate Change ACTIVE -> RING_WAIT
  371. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [call_processed]=[internal] to event
  372. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [callstart]=[2022-02-24 07:58:37] to event
  373. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [originated_destination_number]=[103333045] to event
  374. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [effective_destination_number]=[103333045] to event
  375. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [account_id]=[6] to event
  376. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [account_type]=[0] to event
  377. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [resellerid]=[4] to event
  378. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [parent_id]=[4] to event
  379. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [accountcode]=[2652250243] to event
  380. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [call_direction]=[outbound] to event
  381. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event
  382. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [origination_rates]=[ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:54|ACCID:6||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4] to event
  383. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [original_caller_id_name]=[2652250243] to event
  384. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [original_caller_id_number]=[2652250243] to event
  385. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//4|||Customer-Reseller-PK(2652250243)|||^1.* // Reseller // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC] to event
  386. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [effective_caller_id_name]=[2652250243] to event
  387. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [effective_caller_id_number]=[2652250243] to event
  388. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|TRUNK:1|PROVIDER:3] to event
  389. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [trunk_id]=[1] to event
  390. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [provider_id]=[3] to event
  391. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_channel.c:1269 sofia/default/2652250243@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [absolute_codec_string]=[PCMA,G729,PCMA] to event
  392. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  393. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  394. 2022-02-24 07:58:37.735135 98.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/103333045 [8009bc71-2895-42e3-a4be-ed2aaa425f24]
  395. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_sofia.c:5121 (sofia/default/103333045) State Change CS_NEW -> CS_INIT
  396. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_ivr_originate.c:3151 sofia/default/103333045 Setting leg timeout to 30
  397. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_INIT (Cur 2 Tot 38)
  398. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/103333045) State INIT
  399. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_sofia.c:97 sofia/default/103333045 SOFIA INIT
  400. 2022-02-24 07:58:37.735135 98.90% [INFO] sofia_glue.c:1651 sofia/default/103333045 sending invite call-id: (null)
  401. 2022-02-24 07:58:37.735135 98.90% [DEBUG] sofia_glue.c:1654 sofia/default/103333045 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  402. Local SDP:
  403. v=0
  404. o=FreeSWITCH 1645669325 1645669326 IN IP4 3.7.66.233
  405. s=FreeSWITCH
  406. c=IN IP4 3.7.66.233
  407. t=0 0
  408. m=audio 20192 RTP/AVP 8 18 101
  409. a=rtpmap:8 PCMA/8000
  410. a=rtpmap:18 G729/8000
  411. a=rtpmap:101 telephone-event/8000
  412. a=fmtp:101 0-15
  413. a=ptime:20
  414. a=sendrecv
  415.  
  416. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/103333045 Standard INIT
  417. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/103333045) State Change CS_INIT -> CS_ROUTING
  418. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/103333045) State INIT going to sleep
  419. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_ROUTING (Cur 2 Tot 38)
  420. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/103333045) State ROUTING
  421. 2022-02-24 07:58:37.735135 98.90% [DEBUG] mod_sofia.c:158 sofia/default/103333045 SOFIA ROUTING
  422. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/103333045) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  423. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/103333045) State ROUTING going to sleep
  424. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 38)
  425. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/103333045) State CONSUME_MEDIA
  426. 2022-02-24 07:58:37.735135 98.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/103333045) State CONSUME_MEDIA going to sleep
  427. 2022-02-24 07:58:37.735135 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/103333045 entering state [calling][0]
  428. 2022-02-24 07:58:38.015123 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/103333045 entering state [proceeding][180]
  429. 2022-02-24 07:58:38.015123 98.90% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/103333045!
  430. 2022-02-24 07:58:38.015123 98.90% [DEBUG] switch_channel.c:3494 (sofia/default/103333045) Callstate Change DOWN -> RINGING
  431. 2022-02-24 07:58:38.035122 98.90% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  432. 2022-02-24 07:58:38.035122 98.90% [DEBUG] switch_core_codec.c:223 sofia/default/2652250243@w07version61.astppbilling.org:5074 Push codec L16:100
  433. 2022-02-24 07:58:38.035122 98.90% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(1500,3500,440)]
  434. 2022-02-24 07:58:48.015125 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/103333045 entering state [completing][200]
  435. 2022-02-24 07:58:48.015125 98.60% [DEBUG] sofia.c:7509 Remote SDP:
  436. v=0
  437. o=root 719717434 719717434 IN IP4 159.203.131.36
  438. s=Asterisk PBX 16.4.0
  439. c=IN IP4 159.203.131.36
  440. t=0 0
  441. m=audio 13740 RTP/AVP 8 101
  442. a=rtpmap:8 PCMA/8000
  443. a=rtpmap:101 telephone-event/8000
  444. a=fmtp:101 0-16
  445. a=maxptime:150
  446.  
  447. 2022-02-24 07:58:48.015125 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/103333045 entering state [ready][200]
  448. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  449. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  450. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  451. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  452. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/103333045 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  453. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_codec.c:111 sofia/default/103333045 Original read codec set to PCMA:8
  454. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  455. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:5973 sofia/default/103333045 Set 2833 dtmf send payload to 101 recv payload to 101
  456. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/103333045] 172.31.14.218 port 20192 -> 159.203.131.36 port 13740 codec: 8 ms: 20
  457. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  458. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:9089 sofia/default/103333045 Set 2833 dtmf send payload to 101
  459. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:9096 sofia/default/103333045 Set 2833 dtmf receive payload to 101
  460. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_media.c:9119 sofia/default/103333045 Set rtp dtmf delay to 40
  461. 2022-02-24 07:58:48.015125 98.60% [NOTICE] sofia.c:8683 Channel [sofia/default/103333045] has been answered
  462. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_channel.c:3950 (sofia/default/103333045) Callstate Change RINGING -> ACTIVE
  463. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_codec.c:248 sofia/default/2652250243@w07version61.astppbilling.org:5074 Restore previous codec PCMU:0.
  464. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/103333045] Peer UUID: 8009bc71-2895-42e3-a4be-ed2aaa425f24
  465. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_channel.c:2178 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Callstate Change RING_WAIT -> ACTIVE
  466. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/103333045) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  467. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 38)
  468. 2022-02-24 07:58:48.015125 98.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/103333045) State EXCHANGE_MEDIA
  469. 2022-02-24 07:58:48.015125 98.60% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  470. 2022-02-24 07:58:48.355123 98.57% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  471. 2022-02-24 07:59:46.415126 98.83% [NOTICE] sofia.c:1065 Hangup sofia/default/2652250243@w07version61.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  472. 2022-02-24 07:59:46.415126 98.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/2652250243@w07version61.astppbilling.org:5074]
  473. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_ivr_bridge.c:820 sofia/default/2652250243@w07version61.astppbilling.org:5074 ending bridge by request from write function
  474. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/103333045]
  475. 2022-02-24 07:59:46.435218 98.83% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/103333045 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  476. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/103333045) State EXCHANGE_MEDIA going to sleep
  477. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_HANGUP (Cur 2 Tot 38)
  478. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/103333045) Callstate Change ACTIVE -> HANGUP
  479. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/103333045) State HANGUP
  480. 2022-02-24 07:59:46.435218 98.83% [DEBUG] mod_sofia.c:462 sofia/default/103333045 Overriding SIP cause 480 with 200 from the other leg
  481. 2022-02-24 07:59:46.435218 98.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/103333045 hanging up, cause: NORMAL_CLEARING
  482. 2022-02-24 07:59:46.435218 98.83% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/103333045
  483. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/103333045 Standard HANGUP, cause: NORMAL_CLEARING
  484. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/103333045) State HANGUP going to sleep
  485. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/103333045) State Change CS_HANGUP -> CS_REPORTING
  486. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/103333045) Running State Change CS_REPORTING (Cur 2 Tot 38)
  487. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/103333045) State REPORTING
  488. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/103333045 skip receive message [UNBRIDGE] (channel is hungup already)
  489. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/2652250243@w07version61.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  490. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_session.c:2983 sofia/default/2652250243@w07version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  491. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:0
  492. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:1
  493. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF Digits: retries:2
  494. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup
  495. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_cpp.cpp:1209 sofia/default/2652250243@w07version61.astppbilling.org:5074 destroy/unlink session from object
  496. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_session.c:2983 sofia/default/2652250243@w07version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  497. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State EXECUTE going to sleep
  498. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 38)
  499. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  500. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State HANGUP
  501. 2022-02-24 07:59:46.435218 98.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  502. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  503. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State HANGUP going to sleep
  504. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  505. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 38)
  506. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State REPORTING
  507. 2022-02-24 07:59:46.435218 98.83% [INFO] mod_json_cdr.c:271 Process [74f56142-a618-4a91-b16a-cda870cf55bd.cdr.json]
  508. 2022-02-24 07:59:46.435218 98.83% [INFO] mod_json_cdr.c:271 Process [8009bc71-2895-42e3-a4be-ed2aaa425f24.cdr.json]
  509. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  510. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State REPORTING going to sleep
  511. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  512. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_session.c:1753 Session 37 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Locked, Waiting on external entities
  513. 2022-02-24 07:59:46.435218 98.83% [NOTICE] switch_core_session.c:1771 Session 37 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Ended
  514. 2022-02-24 07:59:46.435218 98.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/2652250243@w07version61.astppbilling.org:5074 [CS_DESTROY]
  515. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2652250243@w07version61.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 1 Tot 38)
  516. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State DESTROY
  517. 2022-02-24 07:59:46.435218 98.83% [DEBUG] mod_sofia.c:379 sofia/default/2652250243@w07version61.astppbilling.org:5074 SOFIA DESTROY
  518. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/2652250243@w07version61.astppbilling.org:5074 Standard DESTROY
  519. 2022-02-24 07:59:46.435218 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2652250243@w07version61.astppbilling.org:5074) State DESTROY going to sleep
  520. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/103333045 Standard REPORTING, cause: NORMAL_CLEARING
  521. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/103333045) State REPORTING going to sleep
  522. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/103333045) State Change CS_REPORTING -> CS_DESTROY
  523. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_session.c:1753 Session 38 (sofia/default/103333045) Locked, Waiting on external entities
  524. 2022-02-24 07:59:46.515124 98.83% [NOTICE] switch_core_session.c:1771 Session 38 (sofia/default/103333045) Ended
  525. 2022-02-24 07:59:46.515124 98.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/103333045 [CS_DESTROY]
  526. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/103333045) Running State Change CS_DESTROY (Cur 0 Tot 38)
  527. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/103333045) State DESTROY
  528. 2022-02-24 07:59:46.515124 98.83% [DEBUG] mod_sofia.c:379 sofia/default/103333045 SOFIA DESTROY
  529. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/103333045 Standard DESTROY
  530. 2022-02-24 07:59:46.515124 98.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/103333045) State DESTROY going to sleep
  531. 2022-02-24 07:59:46.735134 98.83% [DEBUG] switch_scheduler.c:147 Deleting task 19 switch_ivr_schedule_hangup (74f56142-a618-4a91-b16a-cda870cf55bd)
  532. freeswitch@ip-172-31-14-218> /exit
  533.  
  534. You have new mail in /var/mail/root
  535. root@ip-172-31-14-218:/home/admin#
  536.