freeswitch@gibfibre> freeswitch@gibfibre> freeswitch@gibfibre> freeswitch@gibfibre> freeswitch@gibfibre> freeswitch@gibfibre> 2021-07-07 06:23:37.512285 [NOTICE] switch_channel.c:1118 New Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 [2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe] 2021-07-07 06:23:37.512285 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 2433) 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:10280 sofia/default/5144668937@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:51158 version: 1.10.5 -release-17-25569c1631 64bit 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0. 2021-07-07 06:23:37.512285 [DEBUG] sofia.c:2434 detaching session 2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe 2021-07-07 06:23:37.512285 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [999999777@entdemo.astppbilling.org] from ip 117.247.91.162 2021-07-07 06:23:37.512285 [DEBUG] switch_core_state_machine.c:604 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State NEW 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:2544 Re-attaching to session 2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:10280 sofia/default/5144668937@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:51158 version: 1.10.5 -release-17-25569c1631 64bit 2021-07-07 06:23:37.852297 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0. 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:11477 Setting NAT mode based on via port 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [received][100] 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 97 101 a=rtpmap:110 speex/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/5144668937@entdemo.astppbilling.org:5077 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-07-07 06:23:37.872296 [DEBUG] switch_core_codec.c:111 sofia/default/5144668937@entdemo.astppbilling.org:5077 Original read codec set to PCMA:8 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-07-07 06:23:37.872296 [DEBUG] switch_core_media.c:5911 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 recv payload to 101 2021-07-07 06:23:37.872296 [DEBUG] sofia.c:7760 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 2433) 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:628 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State INIT 2021-07-07 06:23:37.872296 [DEBUG] mod_sofia.c:93 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA INIT 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:40 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard INIT 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:628 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State INIT going to sleep 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 2433) 2021-07-07 06:23:37.872296 [DEBUG] switch_channel.c:2332 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:644 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State ROUTING 2021-07-07 06:23:37.872296 [DEBUG] mod_sofia.c:154 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA ROUTING 2021-07-07 06:23:37.872296 [DEBUG] switch_core_state_machine.c:236 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard ROUTING 2021-07-07 06:23:37.872296 [INFO] mod_dialplan_xml.c:637 Processing 5144668937 <5144668937>->999999777 in context default 2021-07-07 06:23:37.872296 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-07-07 06:23:37.872296 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-07-07 06:23:37.892273 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2021-07-07 06:23:37.892273 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 999999777 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '999999777' limit 1 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '999999777' AND status=0 limit 1 2021-07-07 06:23:37.892273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 parsing [default->999999777] continue=false Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Regex (PASS) [999999777] destination_number(999999777) =~ /999999777/ break=on-false Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action log(INFO ASTPP - Calling Card Call) Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action answer() Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action sleep(2000) Dialplan: sofia/default/5144668937@entdemo.astppbilling.org:5077 Action lua(astpp-callingcards.lua) 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:287 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:644 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State ROUTING going to sleep 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 2433) 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:651 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State EXECUTE 2021-07-07 06:23:37.892273 [DEBUG] mod_sofia.c:209 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA EXECUTE 2021-07-07 06:23:37.892273 [DEBUG] switch_core_state_machine.c:329 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard EXECUTE EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 log(INFO ASTPP - Calling Card Call) 2021-07-07 06:23:37.892273 [INFO] mod_dptools.c:1866 ASTPP - Calling Card Call EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 answer() 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/5144668937@entdemo.astppbilling.org:5077] 46.101.114.158 port 13196 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2021-07-07 06:23:37.892273 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8977 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 101 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:8984 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set 2833 dtmf receive payload to 101 2021-07-07 06:23:37.892273 [DEBUG] switch_core_media.c:9007 sofia/default/5144668937@entdemo.astppbilling.org:5077 Set rtp dtmf delay to 40 2021-07-07 06:23:37.892273 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/5144668937@entdemo.astppbilling.org:5077: v=0 o=FreeSWITCH 1625625821 1625625822 IN IP4 46.101.114.158 s=FreeSWITCH c=IN IP4 46.101.114.158 t=0 0 m=audio 13196 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-07-07 06:23:37.892273 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [completed][200] 2021-07-07 06:23:37.892273 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/5144668937@entdemo.astppbilling.org:5077] has been answered 2021-07-07 06:23:37.892273 [DEBUG] switch_channel.c:3865 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 sleep(2000) 2021-07-07 06:23:38.052287 [DEBUG] sofia.c:7326 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 entering state [ready][200] 2021-07-07 06:23:38.192278 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 lua(astpp-callingcards.lua) 2021-07-07 06:23:39.892294 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-07-07 06:23:39.912265 [NOTICE] switch_cpp.cpp:1447 [ASTPP] SECTION 2021-07-07 06:23:39.912265 [DEBUG] switch_core_file.c:405 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:23:39.912265 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:41.692282 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/astpp-welcome.wav 2021-07-07 06:23:41.692282 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_ani] Query :SELECT * FROM ani_map WHERE number = 5144668937 2021-07-07 06:23:41.692282 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE (number = "10" OR id="10") AND status=0 AND deleted=0 limit 1 2021-07-07 06:23:41.712273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2031-05-06 12:00:01' , '%Y%m%d%H%i%s') AS expiry 2021-07-07 06:23:41.712273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2021-07-07 06:23:41' , '%Y%m%d%H%i%s') AS expiry 2021-07-07 06:23:41.712273 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 5144668937] 2021-07-07 06:23:41.712273 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:23:41.712273 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:43.012280 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav 2021-07-07 06:23:43.012280 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Play Amount First Part] Query :9160 2021-07-07 06:23:43.012280 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Play Amount Second Part] Query :59 EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 9160) 2021-07-07 06:23:43.032279 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:45.672278 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/9.wav!digits/thousand.wav!digits/1.wav!digits/hundred.wav!digits/60.wav 2021-07-07 06:23:45.672278 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:23:45.672278 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:46.232284 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 59) 2021-07-07 06:23:46.252273 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:47.432292 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/50.wav!digits/9.wav 2021-07-07 06:23:47.432292 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:23:47.432292 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:23:51.132294 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav 2021-07-07 06:23:52.692296 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 3:960 2021-07-07 06:23:52.692296 [INFO] switch_channel.c:522 RECV DTMF 3:960 2021-07-07 06:23:53.372277 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 1:960 2021-07-07 06:23:53.372277 [INFO] switch_channel.c:522 RECV DTMF 1:960 2021-07-07 06:23:54.552357 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 0:960 2021-07-07 06:23:54.552357 [INFO] switch_channel.c:522 RECV DTMF 0:960 2021-07-07 06:23:55.792281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960 2021-07-07 06:23:55.792281 [INFO] switch_channel.c:522 RECV DTMF 9:960 2021-07-07 06:23:55.992280 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960 2021-07-07 06:23:55.992280 [INFO] switch_channel.c:522 RECV DTMF 9:960 2021-07-07 06:23:56.212291 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960 2021-07-07 06:23:56.212291 [INFO] switch_channel.c:522 RECV DTMF 9:960 2021-07-07 06:23:56.392300 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960 2021-07-07 06:23:56.392300 [INFO] switch_channel.c:522 RECV DTMF 9:960 2021-07-07 06:23:56.572316 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 9:960 2021-07-07 06:23:56.572316 [INFO] switch_channel.c:522 RECV DTMF 9:960 2021-07-07 06:23:57.052312 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:960 2021-07-07 06:23:57.052312 [INFO] switch_channel.c:522 RECV DTMF 4:960 2021-07-07 06:23:57.272303 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960 2021-07-07 06:23:57.272303 [INFO] switch_channel.c:522 RECV DTMF 5:960 2021-07-07 06:23:57.612281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:960 2021-07-07 06:23:57.612281 [INFO] switch_channel.c:522 RECV DTMF 4:960 2021-07-07 06:23:57.792300 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960 2021-07-07 06:23:57.792300 [INFO] switch_channel.c:522 RECV DTMF 5:960 2021-07-07 06:23:57.952299 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960 2021-07-07 06:23:57.952299 [INFO] switch_channel.c:522 RECV DTMF 5:960 2021-07-07 06:23:58.152296 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960 2021-07-07 06:23:58.152296 [INFO] switch_channel.c:522 RECV DTMF 5:960 2021-07-07 06:23:58.352282 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 5:960 2021-07-07 06:23:58.352282 [INFO] switch_channel.c:522 RECV DTMF 5:960 2021-07-07 06:23:59.732288 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 7:960 2021-07-07 06:23:59.732288 [INFO] switch_channel.c:522 RECV DTMF 7:960 2021-07-07 06:23:59.912281 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 7:960 2021-07-07 06:23:59.912281 [INFO] switch_channel.c:522 RECV DTMF 7:960 2021-07-07 06:24:01.732276 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF #:960 2021-07-07 06:24:01.732276 [INFO] switch_channel.c:522 RECV DTMF #:960 2021-07-07 06:24:01.732276 [INFO] switch_cpp.cpp:1447 [ASTPP] [CHECK Destination] Dialed Destination Number :31099999454555577 2021-07-07 06:24:01.732276 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31099999454555577' OR number = '3109999945455557' OR number = '310999994545555' OR number = '31099999454555' OR number = '3109999945455' OR number = '310999994545' OR number = '31099999454' OR number = '3109999945' OR number = '310999994' OR number = '31099999' OR number = '3109999' OR number = '310999' OR number = '31099' OR number = '3109' OR number = '310' OR number = '31' OR number = '3' OR number ='--') OR (number = '31099999454555577*' OR number = '3109999945455557*' OR number = '310999994545555*' OR number = '31099999454555*' OR number = '3109999945455*' OR number = '310999994545*' OR number = '31099999454*' OR number = '3109999945*' OR number = '310999994*' OR number = '31099999*' OR number = '3109999*' OR number = '310999*' OR number = '31099*' OR number = '3109*' OR number = '310*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '5144668937' OR number = '514466893' OR number = '51446689' OR number = '5144668' OR number = '514466' OR number = '51446' OR number = '5144' OR number = '514' OR number = '51' OR number = '5' OR number ='--') OR (number = '5144668937*' OR number = '514466893*' OR number = '51446689*' OR number = '5144668*' OR number = '514466*' OR number = '51446*' OR number = '5144*' OR number = '514*' OR number = '51*' OR number = '5*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31099999454555577' OR routing_prefix = '3109999945455557' OR routing_prefix = '310999994545555' OR routing_prefix = '31099999454555' OR routing_prefix = '3109999945455' OR routing_prefix = '310999994545' OR routing_prefix = '31099999454' OR routing_prefix = '3109999945' OR routing_prefix = '310999994' OR routing_prefix = '31099999' OR routing_prefix = '3109999' OR routing_prefix = '310999' OR routing_prefix = '31099' OR routing_prefix = '3109' OR routing_prefix = '310' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 10 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 5144668937 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9160.5941 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2021-07-07 06:24:01.752274 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31099999454555577.*' OR blocked_patterns = '^3109999945455557.*' OR blocked_patterns = '^310999994545555.*' OR blocked_patterns = '^31099999454555.*' OR blocked_patterns = '^3109999945455.*' OR blocked_patterns = '^310999994545.*' OR blocked_patterns = '^31099999454.*' OR blocked_patterns = '^3109999945.*' OR blocked_patterns = '^310999994.*' OR blocked_patterns = '^31099999.*' OR blocked_patterns = '^3109999.*' OR blocked_patterns = '^310999.*' OR blocked_patterns = '^31099.*' OR blocked_patterns = '^3109.*' OR blocked_patterns = '^310.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 10 limit 1 2021-07-07 06:24:01.752274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^31099999454555577.*' OR patterns = '^3109999945455557.*' OR patterns = '^310999994545555.*' OR patterns = '^31099999454555.*' OR patterns = '^3109999945455.*' OR patterns = '^310999994545.*' OR patterns = '^31099999454.*' OR patterns = '^3109999945.*' OR patterns = '^310999994.*' OR patterns = '^31099999.*' OR patterns = '^3109999.*' OR patterns = '^310999.*' OR patterns = '^31099.*' OR patterns = '^3109.*' OR patterns = '^310.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 10 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction : 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0 2021-07-07 06:24:01.772273 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31099999454555577.*' OR pattern = '^3109999945455557.*' OR pattern = '^310999994545555.*' OR pattern = '^31099999454555.*' OR pattern = '^3109999945455.*' OR pattern = '^310999994545.*' OR pattern = '^31099999454.*' OR pattern = '^3109999945.*' OR pattern = '^310999994.*' OR pattern = '^31099999.*' OR pattern = '^3109999.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=10) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 27 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 3.00000 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 10 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2021-07-07 06:24:01.792281 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9160.5941 balance Accountid 10 !!! 2021-07-07 06:24:01.792281 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 limit(db 5144668937 db_5144668937 6) 2021-07-07 06:24:01.792281 [DEBUG] switch_limit.c:124 incr called: 5144668937_db_5144668937 max:6, interval:0 2021-07-07 06:24:01.792281 [DEBUG] mod_db.c:194 Usage for 5144668937_db_5144668937 is now 1/6 2021-07-07 06:24:01.792281 [NOTICE] switch_cpp.cpp:1447 [ASTPP] 100 Minutes 2021-07-07 06:24:01.792281 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [SAY_TIMELIMIT] MINUTES 100 2021-07-07 06:24:01.792281 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:24:01.792281 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:24:02.952281 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 say(en number pronounced 100) 2021-07-07 06:24:02.972285 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:24:04.132275 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/1.wav!digits/hundred.wav 2021-07-07 06:24:04.132275 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav sample rate 16000 doesn't match requested rate 8000 2021-07-07 06:24:04.132275 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms 2021-07-07 06:24:04.752279 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc 2021-07-07 06:24:04.752279 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31099999454555577.*' OR pattern = '^3109999945455557.*' OR pattern = '^310999994545555.*' OR pattern = '^31099999454555.*' OR pattern = '^3109999945455.*' OR pattern = '^310999994545.*' OR pattern = '^31099999454.*' OR pattern = '^3109999945.*' OR pattern = '^310999994.*' OR pattern = '^31099999.*' OR pattern = '^3109999.*' OR pattern = '^310999.*' OR pattern = '^31099.*' OR pattern = '^3109.*' OR pattern = '^310.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information =================== 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 12 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^31.* 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^31.* 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip : 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Termination rate id : 5 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Gateway name : PkGateway 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : PkGateway 2021-07-07 06:24:04.772287 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================= 2021-07-07 06:24:04.772287 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Loss Less Routing Flag :: > 1 EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(call_processed=internal) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_processed]=[internal] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(callstart=2021-07-07 06:24:04) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [callstart]=[2021-07-07 06:24:04] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(originated_destination_number=31099999454555577) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [originated_destination_number]=[31099999454555577] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_destination_number=31099999454555577) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_destination_number]=[31099999454555577] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(continue_on_fail=true) 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [continue_on_fail]=[true] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(ringback=%(1500,3500,440)) 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [ringback]=[%(1500,3500,440)] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(hangup_after_bridge=true) 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(account_id=10) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [account_id]=[10] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(account_type=0) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [account_type]=[0] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(resellerid=0) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [resellerid]=[0] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(parent_id=0) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [parent_id]=[0] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(accountcode=5144668937) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [accountcode]=[5144668937] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(call_direction=outbound) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(calltype=CALLINGCARD) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [calltype]=[CALLINGCARD] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(origination_rates=ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10) 2021-07-07 06:24:04.772287 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(execute_on_answer=sched_hangup +6000) 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [execute_on_answer]=[sched_hangup +6000] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(process_cdr=true) 2021-07-07 06:24:04.772287 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [process_cdr]=[true] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 sched_hangup(+6000) 2021-07-07 06:24:04.772287 [DEBUG] switch_scheduler.c:252 Added task 32 switch_ivr_schedule_hangup (2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe) to run at 1625645044 2021-07-07 06:24:04.772287 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 10 AND status=0 LIMIT 1 EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(original_caller_id_name=Force caller) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [original_caller_id_name]=[Force caller] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(original_caller_id_number=18001802222) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [original_caller_id_number]=[18001802222] 2021-07-07 06:24:04.792274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1 EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(presence_data=x|||Pk(5144668937)|||^31.* // // 3.00000|||PkGateway // ^31.* // // 1.00000|||CC) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk(5144668937)|||^31.* // // 3.00000|||PkGateway // ^31.* // // 1.00000|||CC] 2021-07-07 06:24:04.792274 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(effective_caller_id_name=Force caller) 2021-07-07 06:24:04.792274 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [effective_caller_id_name]=[Force caller] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 set(effective_caller_id_number=18001802222) 2021-07-07 06:24:04.792274 [DEBUG] mod_dptools.c:1672 SET sofia/default/5144668937@entdemo.astppbilling.org:5077 [effective_caller_id_number]=[18001802222] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_caller_id_name=Force caller) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_caller_id_name]=[Force caller] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(effective_caller_id_number=18001802222) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [effective_caller_id_number]=[18001802222] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(termination_rates=ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(trunk_id=5) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [trunk_id]=[5] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 export(provider_id=3) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [provider_id]=[3] EXECUTE [depth=0] sofia/default/5144668937@entdemo.astppbilling.org:5077 bridge([leg_timeout=0]sofia/gateway/PkGateway/31099999454555577) 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1906 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> RING_WAIT 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [call_processed]=[internal] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [callstart]=[2021-07-07 06:24:04] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [originated_destination_number]=[31099999454555577] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_destination_number]=[31099999454555577] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [account_id]=[10] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [account_type]=[0] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [resellerid]=[0] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [parent_id]=[0] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [accountcode]=[5144668937] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [call_direction]=[outbound] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [origination_rates]=[ID:27|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.00000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:0|ACCID:10] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [original_caller_id_name]=[Force caller] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [original_caller_id_number]=[18001802222] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [presence_data]=[x|||Pk(5144668937)|||^31.* // // 3.00000|||PkGateway // ^31.* // // 1.00000|||CC] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_caller_id_name]=[Force caller] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [effective_caller_id_number]=[18001802222] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [termination_rates]=[ID:12|CODE:^31.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|TRUNK:5|PROVIDER:3] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [trunk_id]=[5] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_channel.c:1264 sofia/default/5144668937@entdemo.astppbilling.org:5077 EXPORTING[export_vars] [provider_id]=[3] to event 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2021-07-07 06:24:04.792274 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31099999454555577 [f7695d4e-5d0a-47a2-a2d6-be52d26e5254] 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:5089 (sofia/default/31099999454555577) State Change CS_NEW -> CS_INIT 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_INIT (Cur 2 Tot 2434) 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31099999454555577) State INIT 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:93 sofia/default/31099999454555577 SOFIA INIT 2021-07-07 06:24:04.792274 [DEBUG] sofia_glue.c:1618 sofia/default/31099999454555577 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1625624602 1625624603 IN IP4 46.101.114.158 s=FreeSWITCH c=IN IP4 46.101.114.158 t=0 0 m=audio 14442 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:40 sofia/default/31099999454555577 Standard INIT 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31099999454555577) State Change CS_INIT -> CS_ROUTING 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31099999454555577) State INIT going to sleep 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_ROUTING (Cur 2 Tot 2434) 2021-07-07 06:24:04.792274 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [calling][0] 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31099999454555577) State ROUTING 2021-07-07 06:24:04.792274 [DEBUG] mod_sofia.c:154 sofia/default/31099999454555577 SOFIA ROUTING 2021-07-07 06:24:04.792274 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31099999454555577) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31099999454555577) State ROUTING going to sleep 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2434) 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31099999454555577) State CONSUME_MEDIA 2021-07-07 06:24:04.792274 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31099999454555577) State CONSUME_MEDIA going to sleep 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [completing][200] 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=root 1288914781 1288914781 IN IP4 159.203.131.36 s=Asterisk PBX 16.4.0 c=IN IP4 159.203.131.36 t=0 0 m=audio 16648 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2021-07-07 06:24:04.872276 [DEBUG] sofia.c:7326 Channel sofia/default/31099999454555577 entering state [ready][200] 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31099999454555577 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-07-07 06:24:04.872276 [DEBUG] switch_core_codec.c:111 sofia/default/31099999454555577 Original read codec set to PCMA:8 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:5911 sofia/default/31099999454555577 Set 2833 dtmf send payload to 101 recv payload to 101 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31099999454555577] 46.101.114.158 port 14442 -> 159.203.131.36 port 16648 codec: 8 ms: 20 2021-07-07 06:24:04.872276 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8977 sofia/default/31099999454555577 Set 2833 dtmf send payload to 101 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:8984 sofia/default/31099999454555577 Set 2833 dtmf receive payload to 101 2021-07-07 06:24:04.872276 [DEBUG] switch_core_media.c:9007 sofia/default/31099999454555577 Set rtp dtmf delay to 40 2021-07-07 06:24:04.872276 [NOTICE] sofia.c:8504 Channel [sofia/default/31099999454555577] has been answered 2021-07-07 06:24:04.872276 [DEBUG] switch_channel.c:3865 (sofia/default/31099999454555577) Callstate Change DOWN -> ACTIVE 2021-07-07 06:24:04.892271 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31099999454555577] 2021-07-07 06:24:04.892271 [DEBUG] switch_channel.c:2130 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change RING_WAIT -> ACTIVE 2021-07-07 06:24:04.892271 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31099999454555577) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-07-07 06:24:04.892271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2434) 2021-07-07 06:24:04.892271 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31099999454555577) State EXCHANGE_MEDIA 2021-07-07 06:24:04.892271 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2021-07-07 06:24:05.092283 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2021-07-07 06:24:35.812271 [NOTICE] sofia.c:1089 Hangup sofia/default/5144668937@entdemo.astppbilling.org:5077 [CS_EXECUTE] [NORMAL_CLEARING] 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/5144668937@entdemo.astppbilling.org:5077] 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:820 sofia/default/5144668937@entdemo.astppbilling.org:5077 ending bridge by request from write function 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31099999454555577] 2021-07-07 06:24:35.812271 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31099999454555577 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31099999454555577) State EXCHANGE_MEDIA going to sleep 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_HANGUP (Cur 2 Tot 2434) 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31099999454555577) Callstate Change ACTIVE -> HANGUP 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31099999454555577) State HANGUP 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:447 sofia/default/31099999454555577 Overriding SIP cause 480 with 200 from the other leg 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:453 Channel sofia/default/31099999454555577 hanging up, cause: NORMAL_CLEARING 2021-07-07 06:24:35.812271 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31099999454555577 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:60 sofia/default/31099999454555577 Standard HANGUP, cause: NORMAL_CLEARING 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31099999454555577) State HANGUP going to sleep 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31099999454555577) State Change CS_HANGUP -> CS_REPORTING 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31099999454555577) Running State Change CS_REPORTING (Cur 2 Tot 2434) 2021-07-07 06:24:35.812271 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31099999454555577) State REPORTING 2021-07-07 06:24:35.812271 [INFO] mod_json_cdr.c:271 Process [f7695d4e-5d0a-47a2-a2d6-be52d26e5254.cdr.json] 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31099999454555577 skip receive message [UNBRIDGE] (channel is hungup already) 2021-07-07 06:24:35.812271 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [UNBRIDGE] (channel is hungup already) 2021-07-07 06:24:35.812271 [DEBUG] switch_core_session.c:2905 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:0 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:1 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Got DTMF Digits: retries:2 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:731 CoreSession::hangup 2021-07-07 06:24:35.812271 [DEBUG] switch_cpp.cpp:1191 sofia/default/5144668937@entdemo.astppbilling.org:5077 destroy/unlink session from object 2021-07-07 06:24:35.832274 [DEBUG] switch_core_session.c:2905 sofia/default/5144668937@entdemo.astppbilling.org:5077 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:651 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State EXECUTE going to sleep 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 2 Tot 2434) 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:848 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Callstate Change ACTIVE -> HANGUP 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State HANGUP 2021-07-07 06:24:35.832274 [DEBUG] mod_sofia.c:453 Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 hanging up, cause: NORMAL_CLEARING 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:60 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard HANGUP, cause: NORMAL_CLEARING 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State HANGUP going to sleep 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:620 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:585 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 2 Tot 2434) 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:936 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State REPORTING 2021-07-07 06:24:35.832274 [INFO] mod_json_cdr.c:271 Process [2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe.cdr.json] 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:174 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard REPORTING, cause: NORMAL_CLEARING 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:936 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State REPORTING going to sleep 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:611 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY 2021-07-07 06:24:35.832274 [DEBUG] switch_core_session.c:1726 Session 2433 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Locked, Waiting on external entities 2021-07-07 06:24:35.832274 [NOTICE] switch_core_session.c:1744 Session 2433 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Ended 2021-07-07 06:24:35.832274 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/5144668937@entdemo.astppbilling.org:5077 [CS_DESTROY] 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:739 (sofia/default/5144668937@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 1 Tot 2434) 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:749 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State DESTROY 2021-07-07 06:24:35.832274 [DEBUG] mod_sofia.c:364 sofia/default/5144668937@entdemo.astppbilling.org:5077 SOFIA DESTROY 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:181 sofia/default/5144668937@entdemo.astppbilling.org:5077 Standard DESTROY 2021-07-07 06:24:35.832274 [DEBUG] switch_core_state_machine.c:749 (sofia/default/5144668937@entdemo.astppbilling.org:5077) State DESTROY going to sleep 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:174 sofia/default/31099999454555577 Standard REPORTING, cause: NORMAL_CLEARING 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31099999454555577) State REPORTING going to sleep 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31099999454555577) State Change CS_REPORTING -> CS_DESTROY 2021-07-07 06:24:35.852270 [DEBUG] switch_core_session.c:1726 Session 2434 (sofia/default/31099999454555577) Locked, Waiting on external entities 2021-07-07 06:24:35.852270 [NOTICE] switch_core_session.c:1744 Session 2434 (sofia/default/31099999454555577) Ended 2021-07-07 06:24:35.852270 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31099999454555577 [CS_DESTROY] 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31099999454555577) Running State Change CS_DESTROY (Cur 0 Tot 2434) 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31099999454555577) State DESTROY 2021-07-07 06:24:35.852270 [DEBUG] mod_sofia.c:364 sofia/default/31099999454555577 SOFIA DESTROY 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:181 sofia/default/31099999454555577 Standard DESTROY 2021-07-07 06:24:35.852270 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31099999454555577) State DESTROY going to sleep 2021-07-07 06:24:36.292282 [DEBUG] switch_scheduler.c:147 Deleting task 32 switch_ivr_schedule_hangup (2f9dbe3e-d5a4-4b7c-a9a1-afe53dcbcdbe) freeswitch@gibfibre>