From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2.  
  3. freeswitch@ip-172-31-14-218>
  4. freeswitch@ip-172-31-14-218>
  5. 2022-03-14 07:45:14.953641 96.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3651890377@w07version61.astppbilling.org:5066 [2243eeb8-1fe6-48ac-bb2d-8ec45da32468]
  6. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Running State Change CS_NEW (Cur 1 Tot 1)
  7. 2022-03-14 07:45:14.953641 96.20% [INFO] sofia.c:10462 sofia/default/3651890377@w07version61.astppbilling.org:5066 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YTM1NDI1YjZlODM1Y2JhYTRmNTY1NzBiNTg4MjUyMDk.
  8. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  9. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  10. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  11. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/3651890377@w07version61.astppbilling.org:5066 entering state [received][100]
  12. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:7509 Remote SDP:
  13. v=0
  14. o=3cxVCE 212395725 56219130 IN IP4 117.247.91.162
  15. s=3cxVCE Audio Call
  16. c=IN IP4 117.247.91.162
  17. t=0 0
  18. m=audio 40006 RTP/AVP 0 8 3 101
  19. a=rtpmap:0 PCMU/8000
  20. a=rtpmap:8 PCMA/8000
  21. a=rtpmap:3 GSM/8000
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-15
  24. a=ptime:20
  25. m=video 40004 RTP/AVP 34
  26. c=IN IP4 117.247.91.162
  27. a=rtpmap:34 H263/90000
  28. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  29. a=oldoip:192.168.1.13
  30. a=oldcip:192.168.1.13
  31. a=oldcip:192.168.1.13
  32.  
  33. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3651890377@w07version61.astppbilling.org:5066 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_codec.c:111 sofia/default/3651890377@w07version61.astppbilling.org:5066 Original read codec set to PCMU:0
  44. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:5973 sofia/default/3651890377@w07version61.astppbilling.org:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  47. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  48. 2022-03-14 07:45:14.953641 96.20% [DEBUG] sofia.c:7933 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  49. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State NEW
  50. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Running State Change CS_INIT (Cur 1 Tot 1)
  51. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State INIT
  52. 2022-03-14 07:45:14.953641 96.20% [DEBUG] mod_sofia.c:97 sofia/default/3651890377@w07version61.astppbilling.org:5066 SOFIA INIT
  53. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/3651890377@w07version61.astppbilling.org:5066 Standard INIT
  54. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  55. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State INIT going to sleep
  56. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 1 Tot 1)
  57. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_channel.c:2380 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  58. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State ROUTING
  59. 2022-03-14 07:45:14.953641 96.20% [DEBUG] mod_sofia.c:158 sofia/default/3651890377@w07version61.astppbilling.org:5066 SOFIA ROUTING
  60. 2022-03-14 07:45:14.953641 96.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/3651890377@w07version61.astppbilling.org:5066 Standard ROUTING
  61. 2022-03-14 07:45:14.953641 96.20% [INFO] mod_dialplan_xml.c:639 Processing 3651890377 <3651890377>->333444 in context default
  62. 2022-03-14 07:45:14.953641 96.20% [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')
  63. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2022-03-14 07:45:14.973675 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  65. 2022-03-14 07:45:14.973675 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 333444
  66. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '333444' limit 1
  67. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '333444' AND status=0 limit 1
  68. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  69. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  70. <document type="freeswitch/xml">
  71. <section name="dialplan" description="ASTPP Dialplan">
  72. <context name="default">
  73. <extension name="333444">
  74. <condition field="destination_number" expression="333444">
  75. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  76. <action application="answer"/>
  77. <action application="sleep" data="2000"/>
  78. <action application="lua" data="astpp-callingcards.lua"/>
  79. </condition>
  80. </extension>
  81. </context>
  82. </section>
  83. </document>
  84. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 parsing [default->333444] continue=false
  85. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 Regex (PASS) [333444] destination_number(333444) =~ /333444/ break=on-false
  86. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 Action log(INFO ASTPP - Calling Card Call)
  87. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 Action answer()
  88. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 Action sleep(2000)
  89. Dialplan: sofia/default/3651890377@w07version61.astppbilling.org:5066 Action lua(astpp-callingcards.lua)
  90. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State Change CS_ROUTING -> CS_EXECUTE
  91. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State ROUTING going to sleep
  92. 2022-03-14 07:45:14.973675 96.20% [CONSOLE] sofia_presence.c:1620 Event Thread Started
  93. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Running State Change CS_EXECUTE (Cur 1 Tot 1)
  94. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3651890377@w07version61.astppbilling.org:5066) State EXECUTE
  95. 2022-03-14 07:45:14.973675 96.20% [DEBUG] mod_sofia.c:213 sofia/default/3651890377@w07version61.astppbilling.org:5066 SOFIA EXECUTE
  96. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/3651890377@w07version61.astppbilling.org:5066 Standard EXECUTE
  97. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 log(INFO ASTPP - Calling Card Call)
  98. 2022-03-14 07:45:14.973675 96.20% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call
  99. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 answer()
  100. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3651890377@w07version61.astppbilling.org:5066] 172.31.14.218 port 17402 -> 117.247.91.162 port 40006 codec: 0 ms: 20
  101. 2022-03-14 07:45:14.973675 96.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  102. 2022-03-14 07:45:14.993679 96.20% [DEBUG] switch_core_media.c:9089 sofia/default/3651890377@w07version61.astppbilling.org:5066 Set 2833 dtmf send payload to 101
  103. 2022-03-14 07:45:14.993679 96.20% [DEBUG] switch_core_media.c:9096 sofia/default/3651890377@w07version61.astppbilling.org:5066 Set 2833 dtmf receive payload to 101
  104. 2022-03-14 07:45:14.993679 96.20% [DEBUG] switch_core_media.c:9119 sofia/default/3651890377@w07version61.astppbilling.org:5066 Set rtp dtmf delay to 40
  105. 2022-03-14 07:45:14.993679 96.20% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3651890377@w07version61.astppbilling.org:5066:
  106. v=0
  107. o=FreeSWITCH 1647226512 1647226513 IN IP4 172.31.14.218
  108. s=FreeSWITCH
  109. c=IN IP4 172.31.14.218
  110. t=0 0
  111. m=audio 17402 RTP/AVP 0 101
  112. a=rtpmap:0 PCMU/8000
  113. a=rtpmap:101 telephone-event/8000
  114. a=fmtp:101 0-15
  115. a=ptime:20
  116. a=sendrecv
  117. m=video 0 RTP/AVP 19
  118.  
  119. 2022-03-14 07:45:14.993679 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/3651890377@w07version61.astppbilling.org:5066 entering state [completed][200]
  120. 2022-03-14 07:45:14.993679 96.20% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3651890377@w07version61.astppbilling.org:5066] has been answered
  121. 2022-03-14 07:45:14.993679 96.20% [DEBUG] switch_channel.c:3950 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Callstate Change RINGING -> ACTIVE
  122. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 sleep(2000)
  123. 2022-03-14 07:45:15.053611 96.20% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  124. 2022-03-14 07:45:15.113597 96.20% [DEBUG] sofia.c:7499 Channel sofia/default/3651890377@w07version61.astppbilling.org:5066 entering state [ready][200]
  125. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 lua(astpp-callingcards.lua)
  126. 2022-03-14 07:45:17.033673 96.03% [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')
  127. 2022-03-14 07:45:17.033673 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  128. 2022-03-14 07:45:17.033673 96.03% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  129. 2022-03-14 07:45:17.033673 96.03% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  130. 2022-03-14 07:45:18.813643 95.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  131. 2022-03-14 07:45:18.813643 95.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 3651890377
  132. 2022-03-14 07:45:18.833675 95.97% [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
  133. 2022-03-14 07:45:18.833675 95.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  134. 2022-03-14 07:45:21.813620 95.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  135. 2022-03-14 07:45:27.053620 95.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  136. 2022-03-14 07:45:27.053620 95.43% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  137. 2022-03-14 07:45:27.553619 95.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:2080
  138. 2022-03-14 07:45:27.553619 95.43% [INFO] switch_channel.c:527 RECV DTMF 1:2080
  139. 2022-03-14 07:45:28.433618 95.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  140. 2022-03-14 07:45:28.433618 95.43% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  141. 2022-03-14 07:45:29.273619 95.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:2080
  142. 2022-03-14 07:45:29.273619 95.47% [INFO] switch_channel.c:527 RECV DTMF 1:2080
  143. 2022-03-14 07:45:30.553613 95.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  144. 2022-03-14 07:45:30.553613 95.43% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  145. 2022-03-14 07:45:30.893617 95.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  146. 2022-03-14 07:45:30.893617 95.43% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  147. 2022-03-14 07:45:31.673629 95.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  148. 2022-03-14 07:45:31.673629 95.40% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  149. 2022-03-14 07:45:32.773613 98.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  150. 2022-03-14 07:45:32.773613 98.20% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  151. 2022-03-14 07:45:33.693618 98.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  152. 2022-03-14 07:45:33.693618 98.47% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  153. 2022-03-14 07:45:34.793614 98.43% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:2080
  154. 2022-03-14 07:45:34.793614 98.43% [INFO] switch_channel.c:527 RECV DTMF 2:2080
  155. 2022-03-14 07:45:35.913614 98.70% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  156. span style="color: green; font-weight: bold;"> 2022-03-14 07:45:35.913614 98.70% [INFO] switch_channel.c:527 RECV DTMF #:2080
  157. span style="color: goldenrod; font-weight: bold;"> 2022-03-14 07:45:35.913614 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 9191680902
  158. 2022-03-14 07:45:35.913614 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "9191680902" AND status=0 AND deleted=0 limit 1
  159. 2022-03-14 07:45:35.953680 98.70% [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
  160. 2022-03-14 07:45:35.953680 98.70% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  161. 2022-03-14 07:45:38.653611 98.67% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav
  162. 2022-03-14 07:45:41.293613 98.53% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:2080
  163. 2022-03-14 07:45:41.293613 98.53% [INFO] switch_channel.c:527 RECV DTMF 4:2080
  164. 2022-03-14 07:45:42.193597 98.53% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  165. 2022-03-14 07:45:42.193597 98.53% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  166. 2022-03-14 07:45:43.833614 98.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  167. 2022-03-14 07:45:43.833614 98.47% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  168. 2022-03-14 07:45:45.213643 98.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:2080
  169. 2022-03-14 07:45:45.213643 98.47% [INFO] switch_channel.c:527 RECV DTMF 3:2080
  170. 2022-03-14 07:45:45.893660 98.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:2080
  171. 2022-03-14 07:45:45.893660 98.57% [INFO] switch_channel.c:527 RECV DTMF 6:2080
  172. 2022-03-14 07:45:46.493617 98.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  173. 2022-03-14 07:45:46.493617 98.57% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  174. 2022-03-14 07:45:47.693605 98.60% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  175. span style="color: green; font-weight: bold;"> 2022-03-14 07:45:47.693605 98.60% [INFO] switch_channel.c:527 RECV DTMF #:2080
  176. span style="color: goldenrod; font-weight: bold;"> 2022-03-14 07:45:47.693605 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We Recieved A Pin Number : 485368
  177. 2022-03-14 07:45:47.693605 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2032-03-05 09:37:25' , '%Y%m%d%H%i%s') AS expiry
  178. 2022-03-14 07:45:47.693605 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2022-03-14 07:45:47' , '%Y%m%d%H%i%s') AS expiry
  179. 2022-03-14 07:45:47.713604 98.60% [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
  180. 2022-03-14 07:45:47.713604 98.60% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  181. 2022-03-14 07:45:50.513671 98.60% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-register.wav
  182. 2022-03-14 07:45:55.553618 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9191680902]
  183. 2022-03-14 07:45:55.573688 99.17% [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
  184. 2022-03-14 07:45:55.573688 99.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  185. 2022-03-14 07:45:56.873617 99.07% [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
  186. 2022-03-14 07:45:56.873617 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :39998
  187. 2022-03-14 07:45:56.873617 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :02
  188. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 say(en number pronounced 39998)
  189. 2022-03-14 07:45:56.893670 99.07% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  190. 2022-03-14 07:46:00.133686 98.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/30.wav!digits/9.wav!digits/thousand.wav!digits/9.wav!digits/hundred.wav!digits/90.wav!digits/8.wav
  191. 2022-03-14 07:46:00.153674 98.97% [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
  192. 2022-03-14 07:46:00.153674 98.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  193. 2022-03-14 07:46:00.693594 98.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  194. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 say(en number pronounced 0)
  195. 2022-03-14 07:46:00.713674 98.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  196. 2022-03-14 07:46:01.473680 98.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/0.wav
  197. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 say(en number pronounced 02)
  198. 2022-03-14 07:46:01.493669 98.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  199. 2022-03-14 07:46:02.113676 98.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/2.wav
  200. 2022-03-14 07:46:02.133664 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [HP:access_number_call_flow[0:Go Direct Dial,1:Go IVR] : 0]
  201. 2022-03-14 07:46:02.133664 98.83% [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
  202. 2022-03-14 07:46:02.133664 98.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  203. 2022-03-14 07:46:05.793610 95.30% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  204. 2022-03-14 07:46:07.233638 95.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:2080
  205. 2022-03-14 07:46:07.233638 95.30% [INFO] switch_channel.c:527 RECV DTMF 1:2080
  206. 2022-03-14 07:46:07.693683 95.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:2080
  207. 2022-03-14 07:46:07.693683 95.33% [INFO] switch_channel.c:527 RECV DTMF 0:2080
  208. 2022-03-14 07:46:08.773622 95.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:2080
  209. 2022-03-14 07:46:08.773622 95.33% [INFO] switch_channel.c:527 RECV DTMF 9:2080
  210. 2022-03-14 07:46:09.393592 95.33% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  211. 2022-03-14 07:46:09.393592 95.33% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  212. 2022-03-14 07:46:09.733678 95.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:2080
  213. 2022-03-14 07:46:09.733678 95.40% [INFO] switch_channel.c:527 RECV DTMF 5:2080
  214. 2022-03-14 07:46:10.073617 95.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:2080
  215. 2022-03-14 07:46:10.073617 95.40% [INFO] switch_channel.c:527 RECV DTMF 4:2080
  216. 2022-03-14 07:46:10.413613 95.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  217. 2022-03-14 07:46:10.413613 95.40% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  218. 2022-03-14 07:46:10.733635 95.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:2080
  219. 2022-03-14 07:46:10.733635 95.37% [INFO] switch_channel.c:527 RECV DTMF 4:2080
  220. 2022-03-14 07:46:11.093623 95.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:2080
  221. 2022-03-14 07:46:11.093623 95.37% [INFO] switch_channel.c:527 RECV DTMF 8:2080
  222. 2022-03-14 07:46:11.613617 95.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:2080
  223. span style="color: green; font-weight: bold;"> 2022-03-14 07:46:11.613617 95.37% [INFO] switch_channel.c:527 RECV DTMF #:2080
  224. span style="color: green; font-weight: bold;"> 2022-03-14 07:46:11.613617 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK Destination] Dialed Destination Number :109854848
  225. 2022-03-14 07:46:11.633682 95.37% [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 = '109854848' OR number = '10985484' OR number = '1098548' OR number = '109854' OR number = '10985' OR number = '1098' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '109854848*' OR number = '10985484*' OR number = '1098548*' OR number = '109854*' OR number = '10985*' OR number = '1098*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '3651890377' OR number = '365189037' OR number = '36518903' OR number = '3651890' OR number = '365189' OR number = '36518' OR number = '3651' OR number = '365' OR number = '36' OR number = '3' OR number ='--') OR (number = '3651890377*' OR number = '365189037*' OR number = '36518903*' OR number = '3651890*' OR number = '365189*' OR number = '36518*' OR number = '3651*' OR number = '365*' OR number = '36*' OR number = '3*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  226. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  227. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '109854848' OR routing_prefix = '10985484' OR routing_prefix = '1098548' OR routing_prefix = '109854' OR routing_prefix = '10985' OR routing_prefix = '1098' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
  228. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  229. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  230. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9191680902
  231. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39998.02
  232. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  233. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 17
  234. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  235. 2022-03-14 07:46:11.633682 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  236. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^109854848.*' OR blocked_patterns = '^10985484.*' OR blocked_patterns = '^1098548.*' OR blocked_patterns = '^109854.*' OR blocked_patterns = '^10985.*' OR blocked_patterns = '^1098.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  237. 2022-03-14 07:46:11.633682 95.37% [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 = '^109854848.*' OR patterns = '^10985484.*' OR patterns = '^1098548.*' OR patterns = '^109854.*' OR patterns = '^10985.*' OR patterns = '^1098.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  238. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
  239. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :
  240. 2022-03-14 07:46:11.633682 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
  241. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^109854848.*' OR pattern = '^10985484.*' OR pattern = '^1098548.*' OR pattern = '^109854.*' OR pattern = '^10985.*' OR pattern = '^1098.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^3651890377.*' OR caller_id_pattern = '^365189037.*' OR caller_id_pattern = '^36518903.*' OR caller_id_pattern = '^3651890.*' OR caller_id_pattern = '^365189.*' OR caller_id_pattern = '^36518.*' OR caller_id_pattern = '^3651.*' OR caller_id_pattern = '^365.*' OR caller_id_pattern = '^36.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 17 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  242. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction :
  243. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  244. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  245. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  246. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  247. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  248. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Reseller
  249. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 233
  250. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  251. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  252. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  253. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  254. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39998.02 balance Accountid 7 !!!
  255. 2022-03-14 07:46:11.653680 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  256. 2022-03-14 07:46:11.653680 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
  257. 2022-03-14 07:46:11.653680 95.37% [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
  258. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^109854848.*' OR blocked_patterns = '^10985484.*' OR blocked_patterns = '^1098548.*' OR blocked_patterns = '^109854.*' OR blocked_patterns = '^10985.*' OR blocked_patterns = '^1098.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  259. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  260. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  261. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9104408877
  262. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19996.7
  263. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  264. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  265. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  266. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  267. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  268. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  269. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^109854848.*' OR pattern = '^10985484.*' OR pattern = '^1098548.*' OR pattern = '^109854.*' OR pattern = '^10985.*' OR pattern = '^1098.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^3651890377.*' OR caller_id_pattern = '^365189037.*' OR caller_id_pattern = '^36518903.*' OR caller_id_pattern = '^3651890.*' OR caller_id_pattern = '^365189.*' OR caller_id_pattern = '^36518.*' OR caller_id_pattern = '^3651.*' OR caller_id_pattern = '^365.*' OR caller_id_pattern = '^36.*' OR caller_id_pattern = '^3.*' 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
  270. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  271. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  272. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  273. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  274. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  275. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  276. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  277. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  278. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  279. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  280. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  281. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  282. 2022-03-14 07:46:11.653680 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19996.7 balance Accountid 4 !!!
  283. 2022-03-14 07:46:11.653680 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  284. 2022-03-14 07:46:11.653680 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] 100 Minutes
  285. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [SAY_TIMELIMIT] MINUTES 100
  286. 2022-03-14 07:46:11.653680 95.37% [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
  287. 2022-03-14 07:46:11.653680 95.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  288. 2022-03-14 07:46:12.813593 95.33% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  289. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 say(en number pronounced 100)
  290. 2022-03-14 07:46:12.833673 95.33% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  291. 2022-03-14 07:46:13.993688 95.30% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/hundred.wav
  292. 2022-03-14 07:46:14.013684 95.30% [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
  293. 2022-03-14 07:46:14.013684 95.30% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  294. 2022-03-14 07:46:14.593614 95.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav
  295. 2022-03-14 07:46:14.593614 95.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  296. 2022-03-14 07:46:14.593614 95.20% [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
  297. 2022-03-14 07:46:14.633630 95.20% [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 = '^109854848.*' OR pattern = '^10985484.*' OR pattern = '^1098548.*' OR pattern = '^109854.*' OR pattern = '^10985.*' OR pattern = '^1098.*' OR pattern = '^109.*' 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
  298. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  299. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  300. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  301. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  302. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  303. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  304. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  305. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  306. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Termination rate id : 1
  307. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Gateway name : YourProvider
  308. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  309. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  310. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  311. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  312. 2022-03-14 07:46:14.633630 95.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =================================================================
  313. 2022-03-14 07:46:14.633630 95.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Loss Less Routing Flag :: > 1
  314. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(call_processed=internal)
  315. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_processed]=[internal]
  316. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(callstart=2022-03-14 07:46:14)
  317. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [callstart]=[2022-03-14 07:46:14]
  318. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(originated_destination_number=109854848)
  319. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [originated_destination_number]=[109854848]
  320. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(effective_destination_number=109854848)
  321. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_destination_number]=[109854848]
  322. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(continue_on_fail=true)
  323. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [continue_on_fail]=[true]
  324. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(ringback=%(1500,3500,440))
  325. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [ringback]=[%(1500,3500,440)]
  326. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(hangup_after_bridge=true)
  327. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [hangup_after_bridge]=[true]
  328. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(account_id=7)
  329. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_id]=[7]
  330. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(account_type=0)
  331. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_type]=[0]
  332. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(resellerid=4)
  333. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [resellerid]=[4]
  334. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(parent_id=4)
  335. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [parent_id]=[4]
  336. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(accountcode=9191680902)
  337. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [accountcode]=[9191680902]
  338. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(call_direction=outbound)
  339. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[outbound]
  340. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(calltype=CALLINGCARD)
  341. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [calltype]=[CALLINGCARD]
  342. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(origination_rates=ID:6|CODE:^1.*|DESTINATION:Reseller |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:233|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
  343. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_rates]=[ID:6|CODE:^1.*|DESTINATION:Reseller |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:233|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4]
  344. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(execute_on_answer=sched_hangup +6000)
  345. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [execute_on_answer]=[sched_hangup +6000]
  346. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(process_cdr=true)
  347. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [process_cdr]=[true]
  348. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 sched_hangup(+6000)
  349. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_scheduler.c:263 Added task 4 switch_ivr_schedule_hangup (2243eeb8-1fe6-48ac-bb2d-8ec45da32468) to run at 1647249974
  350. 2022-03-14 07:46:14.633630 95.20% [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 = 7 AND status=0 LIMIT 1
  351. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(original_caller_id_name=3651890377)
  352. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_name]=[3651890377]
  353. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(original_caller_id_number=3651890377)
  354. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_number]=[3651890377]
  355. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller  // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC)
  356. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller  // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC]
  357. 2022-03-14 07:46:14.633630 95.20% [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
  358. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(effective_caller_id_name=3651890377)
  359. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [effective_caller_id_name]=[3651890377]
  360. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 set(effective_caller_id_number=3651890377)
  361. 2022-03-14 07:46:14.633630 95.20% [DEBUG] mod_dptools.c:1685 SET sofia/default/3651890377@w07version61.astppbilling.org:5066 [effective_caller_id_number]=[3651890377]
  362. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(effective_caller_id_name=3651890377)
  363. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_name]=[3651890377]
  364. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(effective_caller_id_number=3651890377)
  365. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_caller_id_number]=[3651890377]
  366. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|TRUNK:1|PROVIDER:3)
  367. 2022-03-14 07:46:14.633630 95.20% [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]
  368. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(trunk_id=1)
  369. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [trunk_id]=[1]
  370. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(provider_id=3)
  371. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [provider_id]=[3]
  372. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 export(absolute_codec_string=PCMA,G729,PCMA)
  373. 2022-03-14 07:46:14.633630 95.20% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [absolute_codec_string]=[PCMA,G729,PCMA]
  374. EXECUTE [depth=0] sofia/default/3651890377@w07version61.astppbilling.org:5066 bridge([leg_timeout=30]sofia/gateway/YourProvider/109854848)
  375. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1954 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Callstate Change ACTIVE -> RING_WAIT
  376. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [call_processed]=[internal] to event
  377. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [callstart]=[2022-03-14 07:46:14] to event
  378. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [originated_destination_number]=[109854848] to event
  379. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [effective_destination_number]=[109854848] to event
  380. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [account_id]=[7] to event
  381. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [account_type]=[0] to event
  382. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [resellerid]=[4] to event
  383. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [parent_id]=[4] to event
  384. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [accountcode]=[9191680902] to event
  385. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [call_direction]=[outbound] to event
  386. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event
  387. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [origination_rates]=[ID:6|CODE:^1.*|DESTINATION:Reseller |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:233|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4] to event
  388. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [original_caller_id_name]=[3651890377] to event
  389. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [original_caller_id_number]=[3651890377] to event
  390. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller  // 0.60000|||YourProvider // ^1.* // USA // 0.10000|||CC] to event
  391. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [effective_caller_id_name]=[3651890377] to event
  392. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [effective_caller_id_number]=[3651890377] to event
  393. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 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
  394. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [trunk_id]=[1] to event
  395. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [provider_id]=[3] to event
  396. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_channel.c:1269 sofia/default/3651890377@w07version61.astppbilling.org:5066 EXPORTING[export_vars] [absolute_codec_string]=[PCMA,G729,PCMA] to event
  397. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  398. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  399. 2022-03-14 07:46:14.653688 95.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/109854848 [6ebaf39e-90bb-49e7-bff7-d6cdd95cc834]
  400. 2022-03-14 07:46:14.653688 95.20% [DEBUG] mod_sofia.c:5121 (sofia/default/109854848) State Change CS_NEW -> CS_INIT
  401. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_ivr_originate.c:3151 sofia/default/109854848 Setting leg timeout to 30
  402. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109854848) Running State Change CS_INIT (Cur 2 Tot 2)
  403. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/109854848) State INIT
  404. 2022-03-14 07:46:14.653688 95.20% [DEBUG] mod_sofia.c:97 sofia/default/109854848 SOFIA INIT
  405. 2022-03-14 07:46:14.653688 95.20% [INFO] sofia_glue.c:1651 sofia/default/109854848 sending invite call-id: (null)
  406. 2022-03-14 07:46:14.653688 95.20% [DEBUG] sofia_glue.c:1654 sofia/default/109854848 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  407. Local SDP:
  408. v=0
  409. o=FreeSWITCH 1647224590 1647224591 IN IP4 172.31.14.218
  410. s=FreeSWITCH
  411. c=IN IP4 172.31.14.218
  412. t=0 0
  413. m=audio 19384 RTP/AVP 8 18 101
  414. a=rtpmap:8 PCMA/8000
  415. a=rtpmap:18 G729/8000
  416. a=rtpmap:101 telephone-event/8000
  417. a=fmtp:101 0-15
  418. a=ptime:20
  419. a=sendrecv
  420.  
  421. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/109854848 Standard INIT
  422. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/109854848) State Change CS_INIT -> CS_ROUTING
  423. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/109854848) State INIT going to sleep
  424. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109854848) Running State Change CS_ROUTING (Cur 2 Tot 2)
  425. 2022-03-14 07:46:14.653688 95.20% [DEBUG] sofia.c:7499 Channel sofia/default/109854848 entering state [calling][0]
  426. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/109854848) State ROUTING
  427. 2022-03-14 07:46:14.653688 95.20% [DEBUG] mod_sofia.c:158 sofia/default/109854848 SOFIA ROUTING
  428. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_ivr_originate.c:67 (sofia/default/109854848) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  429. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/109854848) State ROUTING going to sleep
  430. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109854848) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2)
  431. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/109854848) State CONSUME_MEDIA
  432. 2022-03-14 07:46:14.653688 95.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/109854848) State CONSUME_MEDIA going to sleep
  433. 2022-03-14 07:46:15.133655 95.20% [DEBUG] sofia.c:7499 Channel sofia/default/109854848 entering state [completing][200]
  434. 2022-03-14 07:46:15.133655 95.20% [DEBUG] sofia.c:7509 Remote SDP:
  435. v=0
  436. o=root 383534056 383534056 IN IP4 159.203.131.36
  437. s=Asterisk PBX 16.4.0
  438. c=IN IP4 159.203.131.36
  439. t=0 0
  440. m=audio 15446 RTP/AVP 8 101
  441. a=rtpmap:8 PCMA/8000
  442. a=rtpmap:101 telephone-event/8000
  443. a=fmtp:101 0-16
  444. a=maxptime:150
  445.  
  446. 2022-03-14 07:46:15.133655 95.20% [DEBUG] sofia.c:7499 Channel sofia/default/109854848 entering state [ready][200]
  447. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  448. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  449. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  450. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  451. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/109854848 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  452. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_codec.c:111 sofia/default/109854848 Original read codec set to PCMA:8
  453. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  454. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:5973 sofia/default/109854848 Set 2833 dtmf send payload to 101 recv payload to 101
  455. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/109854848] 172.31.14.218 port 19384 -> 159.203.131.36 port 15446 codec: 8 ms: 20
  456. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  457. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:9089 sofia/default/109854848 Set 2833 dtmf send payload to 101
  458. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:9096 sofia/default/109854848 Set 2833 dtmf receive payload to 101
  459. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_core_media.c:9119 sofia/default/109854848 Set rtp dtmf delay to 40
  460. 2022-03-14 07:46:15.133655 95.20% [NOTICE] sofia.c:8683 Channel [sofia/default/109854848] has been answered
  461. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_channel.c:3950 (sofia/default/109854848) Callstate Change DOWN -> ACTIVE
  462. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/109854848] Peer UUID: 6ebaf39e-90bb-49e7-bff7-d6cdd95cc834
  463. 2022-03-14 07:46:15.133655 95.20% [DEBUG] switch_channel.c:2178 (sofia/default/3651890377@w07version61.astppbilling.org:5066) Callstate Change RING_WAIT -> ACTIVE
  464. 2022-03-14 07:46:15.153673 95.20% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/109854848) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  465. 2022-03-14 07:46:15.153673 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109854848) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2)
  466. 2022-03-14 07:46:15.153673 95.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/109854848) State EXCHANGE_MEDIA
  467. 2022-03-14 07:46:15.153673 95.20% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  468. freeswitch@ip-172-31-14-218>
  469. freeswitch@ip-172-31-14-218>
  470. freeswitch@ip-172-31-14-218>
  471. freeswitch@ip-172-31-14-218> /exit
  472.  
  473. You have new mail in /var/mail/root