From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Access Number(calling card) call issue log
  1. freeswitch@ip-172-31-36-75>
  2. 2021-12-27 10:17:07.492282 97.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5981723017@65.0.92.207:5060 [a79cd207-4f7c-4882-b32a-0585a31cba5c]
  3. 2021-12-27 10:17:07.492282 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_NEW (Cur 1 Tot 16)
  4. 2021-12-27 10:17:07.492282 97.50% [INFO] sofia.c:10462 sofia/default/5981723017@65.0.92.207:5060 receiving invite from 117.247.91.162:48258 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MGNiZTQwMDVmOTUyZTE0NjYyYzIxNDcxMTJkYTE0YTQ.
  5. 2021-12-27 10:17:07.492282 97.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  6. 2021-12-27 10:17:07.492282 97.50% [DEBUG] sofia.c:2419 detaching session a79cd207-4f7c-4882-b32a-0585a31cba5c
  7. 2021-12-27 10:17:07.492282 97.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [102345@65.0.92.207] from ip 117.247.91.162
  8. 2021-12-27 10:17:07.492282 97.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5981723017@65.0.92.207:5060) State NEW
  9. 2021-12-27 10:17:07.572298 97.50% [DEBUG] sofia.c:2532 Re-attaching to session a79cd207-4f7c-4882-b32a-0585a31cba5c
  10. 2021-12-27 10:17:07.592271 97.50% [INFO] sofia.c:10462 sofia/default/5981723017@65.0.92.207:5060 receiving invite from 117.247.91.162:48258 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MGNiZTQwMDVmOTUyZTE0NjYyYzIxNDcxMTJkYTE0YTQ.
  11. 2021-12-27 10:17:07.592271 97.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  12. 2021-12-27 10:17:07.592271 97.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  13. 2021-12-27 10:17:07.592271 97.50% [DEBUG] sofia.c:7499 Channel sofia/default/5981723017@65.0.92.207:5060 entering state [received][100]
  14. 2021-12-27 10:17:07.592271 97.50% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 117.247.91.162
  17. s=Z
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 2728 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  40. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5981723017@65.0.92.207:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_codec.c:111 sofia/default/5981723017@65.0.92.207:5060 Original read codec set to PCMA:8
  42. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  43. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_media.c:5973 sofia/default/5981723017@65.0.92.207:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2021-12-27 10:17:07.592271 97.50% [DEBUG] sofia.c:7933 (sofia/default/5981723017@65.0.92.207:5060) State Change CS_NEW -> CS_INIT
  45. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_INIT (Cur 1 Tot 16)
  46. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5981723017@65.0.92.207:5060) State INIT
  47. 2021-12-27 10:17:07.592271 97.50% [DEBUG] mod_sofia.c:97 sofia/default/5981723017@65.0.92.207:5060 SOFIA INIT
  48. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/5981723017@65.0.92.207:5060 Standard INIT
  49. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5981723017@65.0.92.207:5060) State Change CS_INIT -> CS_ROUTING
  50. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5981723017@65.0.92.207:5060) State INIT going to sleep
  51. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_ROUTING (Cur 1 Tot 16)
  52. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_channel.c:2380 (sofia/default/5981723017@65.0.92.207:5060) Callstate Change DOWN -> RINGING
  53. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5981723017@65.0.92.207:5060) State ROUTING
  54. 2021-12-27 10:17:07.592271 97.50% [DEBUG] mod_sofia.c:158 sofia/default/5981723017@65.0.92.207:5060 SOFIA ROUTING
  55. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/5981723017@65.0.92.207:5060 Standard ROUTING
  56. 2021-12-27 10:17:07.592271 97.50% [INFO] mod_dialplan_xml.c:639 Processing 5981723017 <5981723017>->102345 in context default
  57. 2021-12-27 10:17:07.592271 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2021-12-27 10:17:07.612270 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 102345
  60. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '102345' AND status=0 limit 1
  61. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  62. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  63. <document type="freeswitch/xml">
  64. <section name="dialplan" description="ASTPP Dialplan">
  65. <context name="default">
  66. <extension name="102345">
  67. <condition field="destination_number" expression="102345">
  68. <action application="log" data="INFO ASTPP - Calling Card Call"/>
  69. <action application="answer"/>
  70. <action application="sleep" data="2000"/>
  71. <action application="lua" data="astpp-callingcards.lua"/>
  72. </condition>
  73. </extension>
  74. </context>
  75. </section>
  76. </document>
  77. Dialplan: sofia/default/5981723017@65.0.92.207:5060 parsing [default->102345] continue=false
  78. Dialplan: sofia/default/5981723017@65.0.92.207:5060 Regex (PASS) [102345] destination_number(102345) =~ /102345/ break=on-false
  79. Dialplan: sofia/default/5981723017@65.0.92.207:5060 Action log(INFO ASTPP - Calling Card Call)
  80. Dialplan: sofia/default/5981723017@65.0.92.207:5060 Action answer()
  81. Dialplan: sofia/default/5981723017@65.0.92.207:5060 Action sleep(2000)
  82. Dialplan: sofia/default/5981723017@65.0.92.207:5060 Action lua(astpp-callingcards.lua)
  83. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5981723017@65.0.92.207:5060) State Change CS_ROUTING -> CS_EXECUTE
  84. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5981723017@65.0.92.207:5060) State ROUTING going to sleep
  85. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_EXECUTE (Cur 1 Tot 16)
  86. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5981723017@65.0.92.207:5060) State EXECUTE
  87. 2021-12-27 10:17:07.612270 97.50% [DEBUG] mod_sofia.c:213 sofia/default/5981723017@65.0.92.207:5060 SOFIA EXECUTE
  88. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/5981723017@65.0.92.207:5060 Standard EXECUTE
  89. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 log(INFO ASTPP - Calling Card Call)
  90. 2021-12-27 10:17:07.612270 97.50% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call
  91. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 answer()
  92. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/5981723017@65.0.92.207:5060] 172.31.36.75 port 29514 -> 117.247.91.162 port 2728 codec: 8 ms: 20
  93. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  94. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_media.c:9089 sofia/default/5981723017@65.0.92.207:5060 Set 2833 dtmf send payload to 101
  95. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_media.c:9096 sofia/default/5981723017@65.0.92.207:5060 Set 2833 dtmf receive payload to 101
  96. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_core_media.c:9119 sofia/default/5981723017@65.0.92.207:5060 Set rtp dtmf delay to 40
  97. 2021-12-27 10:17:07.612270 97.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/5981723017@65.0.92.207:5060:
  98. v=0
  99. o=FreeSWITCH 1640570713 1640570714 IN IP4 65.0.92.207
  100. s=FreeSWITCH
  101. c=IN IP4 65.0.92.207
  102. t=0 0
  103. m=audio 29514 RTP/AVP 8 101
  104. a=rtpmap:8 PCMA/8000
  105. a=rtpmap:101 telephone-event/8000
  106. a=fmtp:101 0-15
  107. a=ptime:20
  108. a=sendrecv
  109.  
  110. 2021-12-27 10:17:07.612270 97.50% [DEBUG] sofia.c:7499 Channel sofia/default/5981723017@65.0.92.207:5060 entering state [completed][200]
  111. 2021-12-27 10:17:07.612270 97.50% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/5981723017@65.0.92.207:5060] has been answered
  112. 2021-12-27 10:17:07.612270 97.50% [DEBUG] switch_channel.c:3950 (sofia/default/5981723017@65.0.92.207:5060) Callstate Change RINGING -> ACTIVE
  113. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 sleep(2000)
  114. 2021-12-27 10:17:07.652269 97.50% [DEBUG] sofia.c:7499 Channel sofia/default/5981723017@65.0.92.207:5060 entering state [ready][200]
  115. 2021-12-27 10:17:07.692298 97.50% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  116. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 lua(astpp-callingcards.lua)
  117. 2021-12-27 10:17:09.612292 97.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  118. 2021-12-27 10:17:09.612292 97.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  119. 2021-12-27 10:17:09.612292 97.37% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000
  120. 2021-12-27 10:17:09.612292 97.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  121. 2021-12-27 10:17:11.412300 97.30% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav
  122. 2021-12-27 10:17:11.412300 97.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 5981723017
  123. 2021-12-27 10:17:11.412300 97.30% [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
  124. 2021-12-27 10:17:11.412300 97.30% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  125. 2021-12-27 10:17:14.412291 97.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav
  126. 2021-12-27 10:17:15.152289 97.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:960
  127. 2021-12-27 10:17:15.152289 97.30% [INFO] switch_channel.c:527 RECV DTMF 5:960
  128. 2021-12-27 10:17:15.652282 97.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:960
  129. 2021-12-27 10:17:15.652282 97.30% [INFO] switch_channel.c:527 RECV DTMF 9:960
  130. 2021-12-27 10:17:17.412284 97.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:960
  131. 2021-12-27 10:17:17.412284 97.30% [INFO] switch_channel.c:527 RECV DTMF 8:960
  132. 2021-12-27 10:17:17.972293 97.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960
  133. 2021-12-27 10:17:17.972293 97.30% [INFO] switch_channel.c:527 RECV DTMF 1:960
  134. 2021-12-27 10:17:18.632302 97.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:960
  135. 2021-12-27 10:17:18.632302 97.30% [INFO] switch_channel.c:527 RECV DTMF 7:960
  136. 2021-12-27 10:17:20.512272 97.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  137. 2021-12-27 10:17:20.512272 97.27% [INFO] switch_channel.c:527 RECV DTMF 2:960
  138. 2021-12-27 10:17:21.212276 97.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:960
  139. 2021-12-27 10:17:21.212276 97.27% [INFO] switch_channel.c:527 RECV DTMF 3:960
  140. 2021-12-27 10:17:22.092298 97.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:960
  141. 2021-12-27 10:17:22.092298 97.23% [INFO] switch_channel.c:527 RECV DTMF 0:960
  142. 2021-12-27 10:17:22.832301 97.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960
  143. 2021-12-27 10:17:22.832301 97.23% [INFO] switch_channel.c:527 RECV DTMF 1:960
  144. 2021-12-27 10:17:23.252305 97.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:960
  145. 2021-12-27 10:17:23.252305 97.23% [INFO] switch_channel.c:527 RECV DTMF 7:960
  146. 2021-12-27 10:17:24.052310 97.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:960
  147. span style="color: green; font-weight: bold;"> 2021-12-27 10:17:24.052310 97.23% [INFO] switch_channel.c:527 RECV DTMF #:960
  148. span style="color: goldenrod; font-weight: bold;"> 2021-12-27 10:17:24.052310 97.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 5981723017
  149. 2021-12-27 10:17:24.052310 97.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "5981723017" AND status=0 AND deleted=0 limit 1
  150. 2021-12-27 10:17:24.052310 97.23% [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
  151. 2021-12-27 10:17:24.052310 97.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  152. 2021-12-27 10:17:26.772299 97.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav
  153. 2021-12-27 10:17:28.652289 97.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 9:960
  154. 2021-12-27 10:17:28.652289 97.23% [INFO] switch_channel.c:527 RECV DTMF 9:960
  155. 2021-12-27 10:17:30.492298 97.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:960
  156. 2021-12-27 10:17:30.492298 97.27% [INFO] switch_channel.c:527 RECV DTMF 5:960
  157. 2021-12-27 10:17:32.852302 98.70% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:960
  158. 2021-12-27 10:17:32.852302 98.70% [INFO] switch_channel.c:527 RECV DTMF 4:960
  159. 2021-12-27 10:17:33.632294 99.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:960
  160. 2021-12-27 10:17:33.632294 99.40% [INFO] switch_channel.c:527 RECV DTMF 8:960
  161. 2021-12-27 10:17:34.492303 99.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:960
  162. 2021-12-27 10:17:34.492303 99.40% [INFO] switch_channel.c:527 RECV DTMF 6:960
  163. 2021-12-27 10:17:34.932284 99.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960
  164. 2021-12-27 10:17:34.932284 99.47% [INFO] switch_channel.c:527 RECV DTMF 1:960
  165. 2021-12-27 10:17:36.912302 99.50% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:960
  166. span style="color: green; font-weight: bold;"> 2021-12-27 10:17:36.912302 99.50% [INFO] switch_channel.c:527 RECV DTMF #:960
  167. span style="color: goldenrod; font-weight: bold;"> 2021-12-27 10:17:36.912302 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We Recieved A Pin Number : 954861
  168. 2021-12-27 10:17:36.912302 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2031-12-25 08:10:31' , '%Y%m%d%H%i%s') AS expiry
  169. 2021-12-27 10:17:36.912302 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2021-12-27 10:17:36' , '%Y%m%d%H%i%s') AS expiry
  170. 2021-12-27 10:17:36.912302 99.50% [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
  171. 2021-12-27 10:17:36.912302 99.50% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  172. 2021-12-27 10:17:39.732272 99.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-register.wav
  173. 2021-12-27 10:17:44.732292 99.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5981723017]
  174. 2021-12-27 10:17:44.732292 99.70% [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
  175. 2021-12-27 10:17:44.732292 99.70% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  176. 2021-12-27 10:17:46.052337 99.70% [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
  177. 2021-12-27 10:17:46.052337 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :393
  178. 2021-12-27 10:17:46.052337 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :1
  179. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 say(en number pronounced 393)
  180. 2021-12-27 10:17:46.052337 99.70% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  181. 2021-12-27 10:17:48.052294 99.67% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/3.wav!digits/hundred.wav!digits/90.wav!digits/3.wav
  182. 2021-12-27 10:17:48.052294 99.67% [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
  183. 2021-12-27 10:17:48.052294 99.67% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  184. 2021-12-27 10:17:48.612275 99.67% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav
  185. EXECUTE [depth=0] sofia/default/5981723017@65.0.92.207:5060 say(en number pronounced 1)
  186. 2021-12-27 10:17:48.612275 99.67% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  187. 2021-12-27 10:17:49.312305 99.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav
  188. 2021-12-27 10:17:49.312305 99.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [HP:access_number_call_flow[0:Go Direct Dial,1:Go IVR] : 0]
  189. 2021-12-27 10:17:49.312305 99.63% [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
  190. 2021-12-27 10:17:49.312305 99.63% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  191. 2021-12-27 10:17:53.012289 99.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav
  192. 2021-12-27 10:17:54.252283 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960
  193. 2021-12-27 10:17:54.252283 99.63% [INFO] switch_channel.c:527 RECV DTMF 1:960
  194. 2021-12-27 10:17:54.652316 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 0:960
  195. 2021-12-27 10:17:54.652316 99.63% [INFO] switch_channel.c:527 RECV DTMF 0:960
  196. 2021-12-27 10:17:54.852290 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  197. 2021-12-27 10:17:54.852290 99.63% [INFO] switch_channel.c:527 RECV DTMF 2:960
  198. 2021-12-27 10:17:55.032282 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  199. 2021-12-27 10:17:55.032282 99.63% [INFO] switch_channel.c:527 RECV DTMF 2:960
  200. 2021-12-27 10:17:55.192297 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  201. 2021-12-27 10:17:55.192297 99.63% [INFO] switch_channel.c:527 RECV DTMF 2:960
  202. 2021-12-27 10:17:55.572279 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:960
  203. 2021-12-27 10:17:55.572279 99.63% [INFO] switch_channel.c:527 RECV DTMF 3:960
  204. 2021-12-27 10:17:55.732306 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:960
  205. 2021-12-27 10:17:55.732306 99.63% [INFO] switch_channel.c:527 RECV DTMF 3:960
  206. 2021-12-27 10:17:55.912297 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:960
  207. 2021-12-27 10:17:55.912297 99.63% [INFO] switch_channel.c:527 RECV DTMF 3:960
  208. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:960
  209. span style="color: green; font-weight: bold;"> 2021-12-27 10:17:56.952292 99.63% [INFO] switch_channel.c:527 RECV DTMF #:960
  210. span style="color: green; font-weight: bold;"> 2021-12-27 10:17:56.952292 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK Destination] Dialed Destination Number :10222333
  211. 2021-12-27 10:17:56.952292 99.63% [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:389: attempt to concatenate local 'accountid' (a nil value)
  212. stack traceback:
  213.         /usr/share/freeswitch/scripts/astpp/lib/astpp.functions.lua:389: in function 'check_call_barring'
  214.         ...switch/scripts/astpp/lib/astpp.callingcard.functions.lua:925: in function 'process_destination'
  215.         /usr/share/freeswitch/scripts/astpp-callingcards.lua:106: in main chunk
  216. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_cpp.cpp:1209 sofia/default/5981723017@65.0.92.207:5060 destroy/unlink session from object
  217. 2021-12-27 10:17:56.952292 99.63% [NOTICE] switch_core_state_machine.c:382 sofia/default/5981723017@65.0.92.207:5060 has executed the last dialplan instruction, hanging up.
  218. 2021-12-27 10:17:56.952292 99.63% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/5981723017@65.0.92.207:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  219. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5981723017@65.0.92.207:5060) State EXECUTE going to sleep
  220. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_HANGUP (Cur 1 Tot 16)
  221. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5981723017@65.0.92.207:5060) Callstate Change ACTIVE -> HANGUP
  222. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5981723017@65.0.92.207:5060) State HANGUP
  223. 2021-12-27 10:17:56.952292 99.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/5981723017@65.0.92.207:5060 hanging up, cause: NORMAL_CLEARING
  224. 2021-12-27 10:17:56.952292 99.63% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/5981723017@65.0.92.207:5060
  225. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/5981723017@65.0.92.207:5060 Standard HANGUP, cause: NORMAL_CLEARING
  226. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5981723017@65.0.92.207:5060) State HANGUP going to sleep
  227. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5981723017@65.0.92.207:5060) State Change CS_HANGUP -> CS_REPORTING
  228. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_REPORTING (Cur 1 Tot 16)
  229. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5981723017@65.0.92.207:5060) State REPORTING
  230. 2021-12-27 10:17:56.952292 99.63% [INFO] mod_json_cdr.c:271 Process [a79cd207-4f7c-4882-b32a-0585a31cba5c.cdr.json]
  231. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/5981723017@65.0.92.207:5060 Standard REPORTING, cause: NORMAL_CLEARING
  232. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5981723017@65.0.92.207:5060) State REPORTING going to sleep
  233. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5981723017@65.0.92.207:5060) State Change CS_REPORTING -> CS_DESTROY
  234. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_session.c:1753 Session 16 (sofia/default/5981723017@65.0.92.207:5060) Locked, Waiting on external entities
  235. 2021-12-27 10:17:56.952292 99.63% [NOTICE] switch_core_session.c:1771 Session 16 (sofia/default/5981723017@65.0.92.207:5060) Ended
  236. 2021-12-27 10:17:56.952292 99.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5981723017@65.0.92.207:5060 [CS_DESTROY]
  237. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5981723017@65.0.92.207:5060) Running State Change CS_DESTROY (Cur 0 Tot 16)
  238. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5981723017@65.0.92.207:5060) State DESTROY
  239. 2021-12-27 10:17:56.952292 99.63% [DEBUG] mod_sofia.c:379 sofia/default/5981723017@65.0.92.207:5060 SOFIA DESTROY
  240. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/5981723017@65.0.92.207:5060 Standard DESTROY
  241. 2021-12-27 10:17:56.952292 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5981723017@65.0.92.207:5060) State DESTROY going to sleep
  242. freeswitch@ip-172-31-36-75>
  243.