2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7326 Channel sofia/default/31651628494 entering state [completing][200] 2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 3476480787 1 IN IP4 185.249.40.253 s=- c=IN IP4 185.249.40.253 t=0 0 m=audio 11490 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=silenceSupp:off - - - - a=ptime:20 2022-05-16 10:19:03.209198 [DEBUG] sofia.c:7326 Channel sofia/default/31651628494 entering state [ready][200] 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31651628494 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:03.209198 [DEBUG] switch_core_codec.c:111 sofia/default/31651628494 Original read codec set to PCMA:8 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:5911 sofia/default/31651628494 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31651628494] 185.249.40.236 port 24600 -> 185.249.40.253 port 11490 codec: 8 ms: 20 2022-05-16 10:19:03.209198 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8977 sofia/default/31651628494 Set 2833 dtmf send payload to 101 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8984 sofia/default/31651628494 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:9007 sofia/default/31651628494 Set rtp dtmf delay to 40 2022-05-16 10:19:03.209198 [NOTICE] sofia.c:8504 Channel [sofia/default/31651628494] has been answered 2022-05-16 10:19:03.209198 [DEBUG] switch_channel.c:3865 (sofia/default/31651628494) Callstate Change RINGING -> ACTIVE 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 25634 -> 213.144.239.110 port 16954 codec: 0 ms: 20 2022-05-16 10:19:03.209198 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:03.209198 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40 2022-05-16 10:19:03.209198 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933: v=0 o=FreeSWITCH 1652663509 1652663510 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 25634 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-05-16 10:19:03.209198 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/183284@213.144.239.110:9933] has been answered 2022-05-16 10:19:03.229183 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> ACTIVE 2022-05-16 10:19:03.229183 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200] 2022-05-16 10:19:03.229183 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31651628494] 2022-05-16 10:19:03.229183 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31651628494) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-05-16 10:19:03.229183 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31651628494) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 19873) 2022-05-16 10:19:03.229183 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31651628494) State EXCHANGE_MEDIA 2022-05-16 10:19:03.229183 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2022-05-16 10:19:03.229183 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200] 2022-05-16 10:19:03.289223 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:03.329236 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:03.409197 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31651628494 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:03.429209 [DEBUG] switch_ivr.c:632 sofia/default/31651628494 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/31651628494 sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:03.429209 [DEBUG] switch_scheduler.c:252 Added task 6027 switch_ivr_schedule_hangup (c5a03af7-ad41-4cf0-9e72-70f8b6b39420) to run at 1652695143 2022-05-16 10:19:04.749199 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.132 [6f21e02d-fe5c-4c05-b99d-7a620615dae2] 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_NEW (Cur 9 Tot 19874) 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.132 receiving invite from 185.249.40.132:5060 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.132:0. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:10403 IP 185.249.40.132 Approved by acl "default[]". Access Granted. 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [received][100] 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=root 922230471 922230471 IN IP4 185.249.40.132 s=Asterisk PBX 1.8.32.11 c=IN IP4 185.249.40.132 t=0 0 m=audio 10420 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.132 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:04.749199 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.132 Original read codec set to PCMA:8 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:04.749199 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:04.749199 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.132) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.132) State NEW 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_INIT (Cur 9 Tot 19874) 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT 2022-05-16 10:19:04.749199 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.132 SOFIA INIT 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.132 Standard INIT 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.132) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT going to sleep 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_ROUTING (Cur 9 Tot 19874) 2022-05-16 10:19:04.749199 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.132) Callstate Change DOWN -> RINGING 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING 2022-05-16 10:19:04.749199 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.132 SOFIA ROUTING 2022-05-16 10:19:04.749199 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.132 Standard ROUTING 2022-05-16 10:19:04.749199 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855000149 in context default 2022-05-16 10:19:04.749199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-16 10:19:04.749199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855000149' limit 1 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855000149' and status=0 LIMIT 1 2022-05-16 10:19:04.769220 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.132") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31855000149" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9712192016] 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9712192016" AND deleted = 0 limit 1 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160 2022-05-16 10:19:04.769220 [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 P.is_terminated = 0 AND (patterns = '^31855000149.*' OR patterns = '^3185500014.*' OR patterns = '^318550001.*' OR patterns = '^31855000.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31855000149" AND A.accountid = '7' limit 1 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149 2022-05-16 10:19:04.769220 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1 2022-05-16 10:19:04.769220 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound 2022-05-16 10:19:04.769220 [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 = '31855000149' OR number = '3185500014' OR number = '318550001' OR number = '31855000' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855000149*' OR number = '3185500014*' OR number = '318550001*' OR number = '31855000*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855000149' OR routing_prefix = '3185500014' OR routing_prefix = '318550001' OR routing_prefix = '31855000' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9712192016 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855000149" LIMIT 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!! 2022-05-16 10:19:04.789193 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1 2022-05-16 10:19:04.789193 [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 = 7 AND status=0 LIMIT 1 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1 2022-05-16 10:19:04.789193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "42" AND accounts.status = 0 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1 2022-05-16 10:19:04.789193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160 and status = 0 limit 1 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 42 and status = 0 LIMIT 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0=== 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0=== 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "100" 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1 2022-05-16 10:19:04.789193 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com| 2022-05-16 10:19:04.789193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/31652033157@185.249.40.132 parsing [default->31855000149] continue=false Dialplan: sofia/default/31652033157@185.249.40.132 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_destination_number=31855000149) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(callstart=2022-05-16 08:19:04) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(hangup_after_bridge=true) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(account_id=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(parent_id=0) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(entity_id=3) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_processed=internal) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_direction=inbound) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(accountname=ip) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates=0) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action limit(db 9712192016 user_9712192016 10 ) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(receiver_accid=160) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(domain_name=134271.yoursipcloud.com) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(sip_to_host=134271.yoursipcloud.com) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(call_type=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_calltype=7) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_extensions=42) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_key=exec) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(ringback=) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(module_name=pbx) Dialplan: sofia/default/31652033157@185.249.40.132 Action db(insert/pickup_any_group_${callgroup}/42/${uuid}) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/31652033157@185.249.40.132 Action export(ring_group_transfer=true) Dialplan: sofia/default/31652033157@185.249.40.132 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|) Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_did_number=31855000149) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.132) State Change CS_ROUTING -> CS_EXECUTE 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING going to sleep 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_EXECUTE (Cur 9 Tot 19874) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.132 SOFIA EXECUTE 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.132 Standard EXECUTE EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_destination_number=31855000149) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_destination_number]=[31855000149] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(callstart=2022-05-16 08:19:04) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [callstart]=[2022-05-16 08:19:04] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(hangup_after_bridge=true) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(continue_on_fail=TRUE) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(account_id=7) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [account_id]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(parent_id=0) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [parent_id]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(entity_id=3) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [entity_id]=[3] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_processed=internal) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_direction=inbound) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(accountname=ip) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [accountname]=[ip] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(filename1=astpp.pbx.lua) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates_did]=[ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates=0) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_name=31652033157) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_number=31652033157) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 limit(db 9712192016 user_9712192016 10 ) 2022-05-16 10:19:04.809186 [DEBUG] switch_limit.c:124 incr called: 9712192016_user_9712192016 max:10, interval:0 2022-05-16 10:19:04.809186 [DEBUG] mod_db.c:194 Usage for 9712192016_user_9712192016 is now 1/10 EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_name=31652033157) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_number=31652033157) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(receiver_accid=160) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [receiver_accid]=[160] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(domain_name=134271.yoursipcloud.com) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(sip_to_host=134271.yoursipcloud.com) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(call_type=7) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_calltype=7) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_calltype]=[7] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_extensions=42) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_extensions]=[42] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_key=exec) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_key]=[exec] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(ringback=) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [ringback]=[UNDEF] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(module_name=pbx) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 db(insert/pickup_any_group_/42/6f21e02d-fe5c-4c05-b99d-7a620615dae2) EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(dialed_extension=transfer_call) 2022-05-16 10:19:04.809186 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(dialed_extension=transfer_call) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-05-16 10:19:04.809186 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-05-16 10:19:04.809186 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(ring_group_transfer=true) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=10,leg_delay_start=5]user/100@134271.yoursipcloud.com|) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [call_type]=[7] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2022-05-16 10:19:04.809186 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [b3ebe113-e3df-46ec-8f91-d8a3284f76f6] 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 10 Tot 19875) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT 2022-05-16 10:19:04.809186 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1652665718 1652665719 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 23426 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 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 10 Tot 19875) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING 2022-05-16 10:19:04.809186 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 19875) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0] 2022-05-16 10:19:04.809186 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [66f3964d-fbb6-4605-abfa-24e421b9c638] 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 11 Tot 19876) 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0. 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100] 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=FreeSWITCH 1652665718 1652665719 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 23426 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:04.809186 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:04.809186 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:04.809186 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 11 Tot 19876) 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 11 Tot 19876) 2022-05-16 10:19:04.809186 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING 2022-05-16 10:19:04.809186 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING 2022-05-16 10:19:04.809186 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING 2022-05-16 10:19:04.809186 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default 2022-05-16 10:19:04.809186 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31854832191' limit 1 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31854832191' and status=0 LIMIT 1 2022-05-16 10:19:04.829189 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1 2022-05-16 10:19:04.829189 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2022-05-16 10:19:04.829189 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160] 2022-05-16 10:19:04.829189 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 160 limit 1 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1 2022-05-16 10:19:04.849190 [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 P.is_terminated = 0 AND (patterns = '^31854832191.*' OR patterns = '^3185483219.*' OR patterns = '^318548321.*' OR patterns = '^31854832.*' OR patterns = '^3185483.*' OR patterns = '^318548.*' OR patterns = '^31854.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31854832191" AND A.accountid = '160' limit 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound 2022-05-16 10:19:04.849190 [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 = '31854832191' OR number = '3185483219' OR number = '318548321' OR number = '31854832' OR number = '3185483' OR number = '318548' OR number = '31854' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31854832191*' OR number = '3185483219*' OR number = '318548321*' OR number = '31854832*' OR number = '3185483*' OR number = '318548*' OR number = '31854*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31854832191' OR routing_prefix = '3185483219' OR routing_prefix = '318548321' OR routing_prefix = '31854832' OR routing_prefix = '3185483' OR routing_prefix = '318548' OR routing_prefix = '31854' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=160) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!! 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information =================== 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99626.8729 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99626.8729 balance Accountid 12 !!! 2022-05-16 10:19:04.849190 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes 2022-05-16 10:19:04.849190 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158 2022-05-16 10:19:04.849190 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4 2022-05-16 10:19:04.849190 [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 = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information =================== 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.* 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.* 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip : 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend : 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable : 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-05-16 10:19:04.869208 [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 = 160 AND status=0 LIMIT 1 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1 2022-05-16 10:19:04.869208 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:04.869208 [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 = 231) AND status=0 limit 1 2022-05-16 10:19:04.869208 [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 trunks where id = 4) AND status=0 limit 1 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31854832191" LIMIT 1 2022-05-16 10:19:04.869208 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/31652033157@185.249.40.236 parsing [default->31854832191] continue=false Dialplan: sofia/default/31652033157@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_destination_number=31854832191) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(callstart=2022-05-16 08:19:04) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(hangup_after_bridge=true) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(account_id=160) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(parent_id=12) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(entity_id=0) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_processed=internal) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_direction=outbound) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(accountname=default) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(db 160 user_160 10 ) Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 ) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_name=31652033157) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_number=31652033157) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(calltype=STANDARD) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(trunk_id=4) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(provider_id=231) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(rate_flag=0) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(force_trunk_flag=8158) Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=trunk_id=4) Dialplan: sofia/default/31652033157@185.249.40.236 Action set(intcall=0) Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_id=31854832191) Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers) Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191) Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191) Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191) 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING going to sleep 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_EXECUTE (Cur 11 Tot 19876) 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.236 SOFIA EXECUTE 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.236 Standard EXECUTE EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_destination_number=31854832191) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_destination_number]=[31854832191] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(callstart=2022-05-16 08:19:04) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [callstart]=[2022-05-16 08:19:04] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(hangup_after_bridge=true) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(continue_on_fail=TRUE) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(account_id=160) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [account_id]=[160] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(parent_id=12) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [parent_id]=[12] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(entity_id=0) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [entity_id]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_processed=internal) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_direction=outbound) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(accountname=default) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [accountname]=[default] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(filename1=astpp.pbx.lua) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [origination_rates]=[ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_name=31652033157) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_number=31652033157) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(db 160 user_160 10 ) 2022-05-16 10:19:04.869208 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0 2022-05-16 10:19:04.869208 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10 EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 ) 2022-05-16 10:19:04.869208 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1 2022-05-16 10:19:04.869208 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_name=31652033157) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_name]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_number=31652033157) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_number]=[31652033157] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(calltype=STANDARD) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [termination_rates]=[ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(trunk_id=4) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [trunk_id]=[4] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(provider_id=231) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [provider_id]=[231] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(rate_flag=0) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(force_trunk_flag=8158) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [force_trunk_flag]=[8158] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=trunk_id=4) 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(intcall=0) 2022-05-16 10:19:04.869208 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [intcall]=[0] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_id=31854832191) 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers) 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191) 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event 2022-05-16 10:19:04.869208 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2022-05-16 10:19:04.869208 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [84ebeb88-9fff-4276-a91d-d73b8ec3a860] 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 12 Tot 19877) 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT 2022-05-16 10:19:04.869208 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1652663018 1652663019 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 26126 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 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 12 Tot 19877) 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING 2022-05-16 10:19:04.869208 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING 2022-05-16 10:19:04.869208 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 19877) 2022-05-16 10:19:04.869208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0] 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA 2022-05-16 10:19:04.869208 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep 2022-05-16 10:19:06.189222 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180] 2022-05-16 10:19:06.189222 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191! 2022-05-16 10:19:06.189222 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING 2022-05-16 10:19:06.209212 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.236! 2022-05-16 10:19:06.209212 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][180] 2022-05-16 10:19:06.209212 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.236! 2022-05-16 10:19:06.209212 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180] 2022-05-16 10:19:06.209212 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060! 2022-05-16 10:19:06.209212 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING 2022-05-16 10:19:06.209212 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.132! 2022-05-16 10:19:06.229186 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][180] 2022-05-16 10:19:06.229186 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.132! 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][183] 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 3476480824 1 IN IP4 185.249.40.253 s=- c=IN IP4 185.249.40.253 t=0 0 m=audio 11504 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-05-16 10:19:06.609208 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191! 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191) Callstate Change RINGING -> EARLY 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:06.609208 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191 Original read codec set to PCMA:8 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191] 185.249.40.236 port 26126 -> 185.249.40.253 port 11504 codec: 8 ms: 20 2022-05-16 10:19:06.609208 [INFO] switch_ivr_originate.c:3801 Sending early media 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.236] 185.249.40.236 port 28810 -> 185.249.40.236 port 23426 codec: 8 ms: 20 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191 Set 2833 dtmf send payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191 Set rtp dtmf delay to 40 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.236 Set rtp dtmf delay to 40 2022-05-16 10:19:06.609208 [DEBUG] mod_sofia.c:2593 Ring SDP: v=0 o=FreeSWITCH 1652660336 1652660337 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 28810 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 2022-05-16 10:19:06.609208 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.236! 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.236) Callstate Change RINGING -> EARLY 2022-05-16 10:19:06.609208 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191] 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][183] 2022-05-16 10:19:06.609208 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-05-16 10:19:06.609208 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 19877) 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][183] 2022-05-16 10:19:06.609208 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=FreeSWITCH 1652660336 1652660337 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 28810 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-16 10:19:06.609208 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191@134271.yoursipcloud.com:5060! 2022-05-16 10:19:06.609208 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA 2022-05-16 10:19:06.609208 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2022-05-16 10:19:06.609208 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> EARLY 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:06.609208 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191@134271.yoursipcloud.com:5060] 185.249.40.236 port 23426 -> 185.249.40.236 port 28810 codec: 8 ms: 20 2022-05-16 10:19:06.609208 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:06.609208 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set rtp dtmf delay to 40 EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-05-16 10:19:06.629222 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group] Ring group confirm flag :false 2022-05-16 10:19:06.629222 [DEBUG] switch_cpp.cpp:1191 sofia/default/31854832191@134271.yoursipcloud.com:5060 destroy/unlink session from object 2022-05-16 10:19:06.649199 [INFO] switch_ivr_originate.c:3801 Sending early media 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.132] 185.249.40.236 port 23178 -> 185.249.40.132 port 10420 codec: 8 ms: 20 2022-05-16 10:19:06.649199 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:06.649199 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.132 Set rtp dtmf delay to 40 2022-05-16 10:19:06.649199 [DEBUG] mod_sofia.c:2593 Ring SDP: v=0 o=FreeSWITCH 1652665968 1652665969 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 23178 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 2022-05-16 10:19:06.649199 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.132! 2022-05-16 10:19:06.649199 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.132) Callstate Change RINGING -> EARLY 2022-05-16 10:19:06.649199 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191@134271.yoursipcloud.com:5060] 2022-05-16 10:19:06.649199 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][183] 2022-05-16 10:19:06.649199 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-05-16 10:19:06.649199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 19877) 2022-05-16 10:19:06.649199 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA 2022-05-16 10:19:06.649199 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2022-05-16 10:19:06.729245 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:06.729245 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:06.809233 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:06.809233 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191@134271.yoursipcloud.com:5060 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:06.829229 [DEBUG] switch_ivr.c:632 sofia/default/31854832191 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/31854832191 sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:06.829229 [DEBUG] switch_scheduler.c:252 Added task 6028 switch_ivr_schedule_hangup (84ebeb88-9fff-4276-a91d-d73b8ec3a860) to run at 1652695146 2022-05-16 10:19:06.829229 [DEBUG] switch_ivr.c:632 sofia/default/31854832191@134271.yoursipcloud.com:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:06.829229 [DEBUG] switch_scheduler.c:252 Added task 6029 switch_ivr_schedule_hangup (b3ebe113-e3df-46ec-8f91-d8a3284f76f6) to run at 1652695146 2022-05-16 10:19:14.909197 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [fb0e8983-9f92-42f1-9524-ef852a439ce4] 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 19878) 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted. 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100] 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=root 1264752412 1264752412 IN IP4 213.144.239.110 s=Asterisk PBX 11.4.0 c=IN IP4 213.144.239.110 t=0 0 m=audio 10836 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:14.909197 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:14.909197 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:14.909197 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 19878) 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT 2022-05-16 10:19:14.909197 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 19878) 2022-05-16 10:19:14.909197 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING 2022-05-16 10:19:14.909197 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING 2022-05-16 10:19:14.909197 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING 2022-05-16 10:19:14.909197 [INFO] mod_dialplan_xml.c:637 Processing 31202259701 <31202259701>->31634579137 in context default 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31634579137 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31634579137' limit 1 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31634579137' AND status=0 limit 1 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31634579137' and status=0 LIMIT 1 2022-05-16 10:19:14.909197 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31202259701 / 31202259701 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31634579137" AND domains.domain="emolife138.yoursipcloud.com" limit 1 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("213.144.239.110") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31634579137" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-05-16 10:19:14.909197 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284] 2022-05-16 10:19:14.909197 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31634579137.*' OR blocked_patterns = '^3163457913.*' OR blocked_patterns = '^316345791.*' OR blocked_patterns = '^31634579.*' OR blocked_patterns = '^3163457.*' OR blocked_patterns = '^316345.*' OR blocked_patterns = '^31634.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31634579137" AND (accountid = 0 OR status = 1) LIMIT 1 2022-05-16 10:19:14.929192 [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 P.is_terminated = 0 AND (patterns = '^31634579137.*' OR patterns = '^3163457913.*' OR patterns = '^316345791.*' OR patterns = '^31634579.*' OR patterns = '^3163457.*' OR patterns = '^316345.*' OR patterns = '^31634.*' OR patterns = '^3163.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31634579137" AND A.accountid = '199' limit 1 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31634579137 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31634579137" AND domains.domain="emolife138.yoursipcloud.com" limit 1 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound 2022-05-16 10:19:14.929192 [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 = '31634579137' OR number = '3163457913' OR number = '316345791' OR number = '31634579' OR number = '3163457' OR number = '316345' OR number = '31634' OR number = '3163' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31634579137*' OR number = '3163457913*' OR number = '316345791*' OR number = '31634579*' OR number = '3163457*' OR number = '316345*' OR number = '31634*' OR number = '3163*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31202259701' OR number = '3120225970' OR number = '312022597' OR number = '31202259' OR number = '3120225' OR number = '312022' OR number = '31202' OR number = '3120' OR number = '312' OR number = '31' OR number = '3' OR number ='--') OR (number = '31202259701*' OR number = '3120225970*' OR number = '312022597*' OR number = '31202259*' OR number = '3120225*' OR number = '312022*' OR number = '31202*' OR number = '3120*' OR number = '312*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31634579137' OR routing_prefix = '3163457913' OR routing_prefix = '316345791' OR routing_prefix = '31634579' OR routing_prefix = '3163457' OR routing_prefix = '316345' OR routing_prefix = '31634' OR routing_prefix = '3163' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information =================== 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 858.182 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1597624 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04100 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 199 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-16 10:19:14.929192 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your858.182 balance Accountid 199 !!! 2022-05-16 10:19:14.929192 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-05-16 10:19:14.929192 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 189 2022-05-16 10:19:14.929192 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "189" AND deleted = 0 limit 1 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31634579137.*' OR blocked_patterns = '^3163457913.*' OR blocked_patterns = '^316345791.*' OR blocked_patterns = '^31634579.*' OR blocked_patterns = '^3163457.*' OR blocked_patterns = '^316345.*' OR blocked_patterns = '^31634.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 189 limit 1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information =================== 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 189 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 510514 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 245.1416 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=189) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information =================== 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846860 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 189 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type: 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================ 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your245.1416 balance Accountid 189 !!! 2022-05-16 10:19:14.949185 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ======================================================== 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1597624 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4 2022-05-16 10:19:14.949185 [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 = '^31634579137.*' OR pattern = '^3163457913.*' OR pattern = '^316345791.*' OR pattern = '^31634579.*' OR pattern = '^3163457.*' OR pattern = '^316345.*' OR pattern = '^31634.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information =================== 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114267 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3163.* 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3163.* 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip : 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend : 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable : 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-05-16 10:19:14.949185 [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 = 199 AND status=0 LIMIT 1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1 2022-05-16 10:19:14.949185 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2022-05-16 10:19:14.949185 [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 = 231) AND status=0 limit 1 2022-05-16 10:19:14.949185 [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 trunks where id = 4) AND status=0 limit 1 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31634579137 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31634579137" LIMIT 1 2022-05-16 10:19:14.949185 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->31634579137] continue=false Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [31634579137] destination_number(31634579137) =~ /31634579137/ break=on-false Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=31634579137) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-16 08:19:14) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(hangup_after_bridge=true) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(entity_id=0) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(accountname=emopbx) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=31202259701) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=31202259701) Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 183284 user_183284 10 ) Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 510514 user_510514 20 ) Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(hash CPS_510514 CPS_user_510514 1/1 ) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_name=31202259701) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_number=31202259701) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(calltype=STANDARD) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(trunk_id=4) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(provider_id=231) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(rate_flag=0) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(force_trunk_flag=1597624) Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=trunk_id=4) Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(intcall=0) Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_id=31634579137) Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile) Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31634579137) Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31634579137) Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31634579137) 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 19878) 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE 2022-05-16 10:19:14.949185 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE 2022-05-16 10:19:14.949185 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=31634579137) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[31634579137] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-16 08:19:14) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-16 08:19:14] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(hangup_after_bridge=true) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(continue_on_fail=TRUE) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(entity_id=0) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [entity_id]=[0] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(accountname=emopbx) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [accountname]=[emopbx] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(filename1=astpp.pbx.lua) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189) 2022-05-16 10:19:14.949185 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [origination_rates]=[ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=31202259701) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[31202259701] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=31202259701) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[31202259701] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 183284 user_183284 10 ) 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: 183284_user_183284 max:10, interval:0 2022-05-16 10:19:14.969223 [DEBUG] mod_db.c:194 Usage for 183284_user_183284 is now 2/10 EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 510514 user_510514 20 ) 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: 510514_user_510514 max:20, interval:0 2022-05-16 10:19:14.969223 [DEBUG] mod_db.c:194 Usage for 510514_user_510514 is now 5/20 EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(hash CPS_510514 CPS_user_510514 1/1 ) 2022-05-16 10:19:14.969223 [DEBUG] switch_limit.c:124 incr called: CPS_510514_CPS_user_510514 max:1, interval:1 2022-05-16 10:19:14.969223 [DEBUG] mod_hash.c:198 Usage for CPS_510514_CPS_user_510514 is now 1/1 for the last 1 seconds EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_name=31202259701) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_name]=[31202259701] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_number=31202259701) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_number]=[31202259701] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(calltype=STANDARD) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [termination_rates]=[ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(trunk_id=4) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [trunk_id]=[4] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(provider_id=231) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [provider_id]=[231] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(rate_flag=0) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(force_trunk_flag=1597624) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [force_trunk_flag]=[1597624] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=trunk_id=4) 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(intcall=0) 2022-05-16 10:19:14.969223 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [intcall]=[0] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_id=31634579137) 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31634579137] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile) 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31634579137) 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_id]=[31634579137] to event 2022-05-16 10:19:14.969223 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables 2022-05-16 10:19:14.969223 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31634579137 [28f5b1ce-2b8c-4aa8-bc20-3d558afa379a] 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:5089 (sofia/default/31634579137) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_INIT (Cur 14 Tot 19879) 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31634579137) State INIT 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:93 sofia/default/31634579137 SOFIA INIT 2022-05-16 10:19:14.969223 [DEBUG] sofia_glue.c:1618 sofia/default/31634579137 sending invite version: 1.10.5 -release-17-25569c1631 64bit Local SDP: v=0 o=FreeSWITCH 1652670056 1652670057 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 19098 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 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:40 sofia/default/31634579137 Standard INIT 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31634579137) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31634579137) State INIT going to sleep 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_ROUTING (Cur 14 Tot 19879) 2022-05-16 10:19:14.969223 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [calling][0] 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31634579137) State ROUTING 2022-05-16 10:19:14.969223 [DEBUG] mod_sofia.c:154 sofia/default/31634579137 SOFIA ROUTING 2022-05-16 10:19:14.969223 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31634579137) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31634579137) State ROUTING going to sleep 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 19879) 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31634579137) State CONSUME_MEDIA 2022-05-16 10:19:14.969223 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31634579137) State CONSUME_MEDIA going to sleep 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [proceeding][183] 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 3476480830 1 IN IP4 185.249.40.253 s=- c=IN IP4 185.249.40.253 t=0 0 m=audio 11510 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-05-16 10:19:15.449227 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31634579137! 2022-05-16 10:19:15.449227 [DEBUG] switch_channel.c:3565 (sofia/default/31634579137) Callstate Change DOWN -> EARLY 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31634579137 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:15.449227 [DEBUG] switch_core_codec.c:111 sofia/default/31634579137 Original read codec set to PCMA:8 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:5911 sofia/default/31634579137 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31634579137] 185.249.40.236 port 19098 -> 185.249.40.253 port 11510 codec: 8 ms: 20 2022-05-16 10:19:15.449227 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8977 sofia/default/31634579137 Set 2833 dtmf send payload to 101 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8984 sofia/default/31634579137 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:9007 sofia/default/31634579137 Set rtp dtmf delay to 40 2022-05-16 10:19:15.449227 [INFO] switch_ivr_originate.c:3801 Sending early media 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 26870 -> 213.144.239.110 port 10836 codec: 0 ms: 20 2022-05-16 10:19:15.449227 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101 2022-05-16 10:19:15.449227 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40 2022-05-16 10:19:15.449227 [DEBUG] mod_sofia.c:2593 Ring SDP: v=0 o=FreeSWITCH 1652662285 1652662286 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 26870 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-05-16 10:19:15.449227 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/183284@213.144.239.110:9933! 2022-05-16 10:19:15.449227 [DEBUG] switch_channel.c:3565 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> EARLY 2022-05-16 10:19:15.449227 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31634579137] 2022-05-16 10:19:15.449227 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [early][183] 2022-05-16 10:19:15.449227 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31634579137) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-05-16 10:19:15.449227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 19879) 2022-05-16 10:19:15.449227 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31634579137) State EXCHANGE_MEDIA 2022-05-16 10:19:15.449227 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA 2022-05-16 10:19:15.449227 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@262239.yoursipcloud.com] from ip 86.93.235.249 2022-05-16 10:19:15.529212 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:15.649191 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31634579137 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:15.669223 [DEBUG] switch_ivr.c:632 sofia/default/31634579137 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/31634579137 sched_hangup(+6000 normal_clearing) 2022-05-16 10:19:15.669223 [DEBUG] switch_scheduler.c:252 Added task 6030 switch_ivr_schedule_hangup (28f5b1ce-2b8c-4aa8-bc20-3d558afa379a) to run at 1652695155 2022-05-16 10:19:16.949254 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:16.949254 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [proceeding][183] 2022-05-16 10:19:16.949254 [DEBUG] sofia.c:7333 Duplicate SDP v=0 o=- 3476480830 1 IN IP4 185.249.40.253 s=- c=IN IP4 185.249.40.253 t=0 0 m=audio 11510 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:5911 sofia/default/31634579137 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:16.949254 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/31634579137. 2022-05-16 10:19:17.089199 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31251260900@10.200.0.4 [39521e8f-d5b1-4732-a20c-5477d8b230a9] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_NEW (Cur 15 Tot 19880) 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10280 sofia/default/31251260900@10.200.0.4 receiving invite from 20.71.177.124:5060 version: 1.10.5 -release-17-25569c1631 64bit 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 20.71.177.124:0. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:10403 IP 20.71.177.124 Approved by acl "default[]". Access Granted. 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7326 Channel sofia/default/31251260900@10.200.0.4 entering state [received][100] 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7336 Remote SDP: v=0 o=- 1588597363 1588597363 IN IP4 20.71.177.124 s=Asterisk c=IN IP4 20.71.177.124 t=0 0 m=audio 13656 RTP/AVP 8 9 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31251260900@10.200.0.4 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-05-16 10:19:17.089199 [DEBUG] switch_core_codec.c:111 sofia/default/31251260900@10.200.0.4 Original read codec set to PCMA:8 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000 2022-05-16 10:19:17.089199 [DEBUG] switch_core_media.c:5911 sofia/default/31251260900@10.200.0.4 Set 2833 dtmf send payload to 101 recv payload to 101 2022-05-16 10:19:17.089199 [DEBUG] sofia.c:7760 (sofia/default/31251260900@10.200.0.4) State Change CS_NEW -> CS_INIT 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31251260900@10.200.0.4) State NEW 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_INIT (Cur 15 Tot 19880) 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31251260900@10.200.0.4) State INIT 2022-05-16 10:19:17.089199 [DEBUG] mod_sofia.c:93 sofia/default/31251260900@10.200.0.4 SOFIA INIT 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:40 sofia/default/31251260900@10.200.0.4 Standard INIT 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31251260900@10.200.0.4) State Change CS_INIT -> CS_ROUTING 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31251260900@10.200.0.4) State INIT going to sleep 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_ROUTING (Cur 15 Tot 19880) 2022-05-16 10:19:17.089199 [DEBUG] switch_channel.c:2332 (sofia/default/31251260900@10.200.0.4) Callstate Change DOWN -> RINGING 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31251260900@10.200.0.4) State ROUTING 2022-05-16 10:19:17.089199 [DEBUG] mod_sofia.c:154 sofia/default/31251260900@10.200.0.4 SOFIA ROUTING 2022-05-16 10:19:17.089199 [DEBUG] switch_core_state_machine.c:236 sofia/default/31251260900@10.200.0.4 Standard ROUTING 2022-05-16 10:19:17.089199 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <31251260900>->31205652555 in context default 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31205652555 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31205652555' limit 1 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31205652555' AND status=0 limit 1 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31205652555' and status=0 LIMIT 1 2022-05-16 10:19:17.089199 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : Anonymous / 31251260900 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31205652555" LIMIT 1 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31205652555" AND domains.domain="a2antwoord139.yoursipcloud.com" limit 1 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("20.71.177.124") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31205652555" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-05-16 10:19:17.089199 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 120870] 2022-05-16 10:19:17.089199 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "120870" AND deleted = 0 limit 1 2022-05-16 10:19:17.109193 [WARNING] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] [120870] Insufficent balance (-0.16700000000003) to make calls..!! 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31205652555" AND (accountid = 0 OR status = 1) LIMIT 1 2022-05-16 10:19:17.109193 [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 P.is_terminated = 0 AND (patterns = '^31205652555.*' OR patterns = '^3120565255.*' OR patterns = '^312056525.*' OR patterns = '^31205652.*' OR patterns = '^3120565.*' OR patterns = '^312056.*' OR patterns = '^31205.*' OR patterns = '^3120.*' OR patterns = '^312.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 200 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="31205652555" AND A.accountid = '200' limit 1 2022-05-16 10:19:17.109193 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31205652555 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31205652555" LIMIT 1 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31205652555" AND domains.domain="a2antwoord139.yoursipcloud.com" limit 1 2022-05-16 10:19:17.109193 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 200 2022-05-16 10:19:17.109193 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
Dialplan: sofia/default/31251260900@10.200.0.4 parsing [default->31205652555] continue=false Dialplan: sofia/default/31251260900@10.200.0.4 Regex (PASS) [31205652555] destination_number(31205652555) =~ /31205652555/ break=on-false Dialplan: sofia/default/31251260900@10.200.0.4 Action log(WARNING Accountcode doesn't have sufficiant fund!!) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(original_caller_id_name=Anonymous) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(original_caller_id_number=Anonymous) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(error_cdr=1) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(callstart=2022-05-16 08:19:17) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(account_id=200) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(parent_id=189) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(call_direction=outbound) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(call_processed=internal) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(effective_destination_number=31205652555) Dialplan: sofia/default/31251260900@10.200.0.4 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) Dialplan: sofia/default/31251260900@10.200.0.4 Action hangup(NO_SUFFICIENT_FUND) 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31251260900@10.200.0.4) State Change CS_ROUTING -> CS_EXECUTE 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31251260900@10.200.0.4) State ROUTING going to sleep 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_EXECUTE (Cur 15 Tot 19880) 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE 2022-05-16 10:19:17.109193 [DEBUG] mod_sofia.c:209 sofia/default/31251260900@10.200.0.4 SOFIA EXECUTE 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:329 sofia/default/31251260900@10.200.0.4 Standard EXECUTE EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 log(WARNING Accountcode doesn't have sufficiant fund!!) 2022-05-16 10:19:17.109193 [WARNING] mod_dptools.c:1866 Accountcode doesn't have sufficiant fund!! EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(original_caller_id_name=Anonymous) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [original_caller_id_name]=[Anonymous] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(original_caller_id_number=Anonymous) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [original_caller_id_number]=[Anonymous] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(error_cdr=1) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(callstart=2022-05-16 08:19:17) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [callstart]=[2022-05-16 08:19:17] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(account_id=200) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [account_id]=[200] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(parent_id=189) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [parent_id]=[189] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(call_direction=outbound) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(sip_ignore_remote_cause=true) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(call_processed=internal) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(effective_destination_number=31205652555) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [effective_destination_number]=[31205652555] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) 2022-05-16 10:19:17.109193 [DEBUG] mod_dptools.c:1672 SET sofia/default/31251260900@10.200.0.4 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND] EXECUTE [depth=0] sofia/default/31251260900@10.200.0.4 hangup(NO_SUFFICIENT_FUND) 2022-05-16 10:19:17.109193 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/31251260900@10.200.0.4 [CS_EXECUTE] [NORMAL_CLEARING] 2022-05-16 10:19:17.109193 [DEBUG] switch_core_session.c:2905 sofia/default/31251260900@10.200.0.4 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE going to sleep 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_HANGUP (Cur 15 Tot 19880) 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31251260900@10.200.0.4) Callstate Change RINGING -> HANGUP 2022-05-16 10:19:17.109193 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP 2022-05-16 10:19:17.109193 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251260900@10.200.0.4 hanging up, cause: NORMAL_CLEARING 2022-05-16 10:19:17.129191 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251260900@10.200.0.4 Standard HANGUP, cause: NORMAL_CLEARING 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP going to sleep 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251260900@10.200.0.4) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_REPORTING (Cur 15 Tot 19880) 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING 2022-05-16 10:19:17.129191 [INFO] mod_json_cdr.c:271 Process [39521e8f-d5b1-4732-a20c-5477d8b230a9.cdr.json] 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251260900@10.200.0.4 Standard REPORTING, cause: NORMAL_CLEARING 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING going to sleep 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251260900@10.200.0.4) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:17.129191 [DEBUG] switch_core_session.c:1726 Session 19880 (sofia/default/31251260900@10.200.0.4) Locked, Waiting on external entities 2022-05-16 10:19:17.129191 [NOTICE] switch_core_session.c:1744 Session 19880 (sofia/default/31251260900@10.200.0.4) Ended 2022-05-16 10:19:17.129191 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251260900@10.200.0.4 [CS_DESTROY] 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251260900@10.200.0.4) Running State Change CS_DESTROY (Cur 14 Tot 19880) 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY 2022-05-16 10:19:17.129191 [DEBUG] mod_sofia.c:364 sofia/default/31251260900@10.200.0.4 SOFIA DESTROY 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251260900@10.200.0.4 Standard DESTROY 2022-05-16 10:19:17.129191 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY going to sleep 2022-05-16 10:19:22.429190 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7985166681@136056.yoursipcloud.com] from ip 143.178.159.127 2022-05-16 10:19:37.809202 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [terminated][487] 2022-05-16 10:19:37.809202 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.132 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.132 ending bridge by request from read function 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.132] 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191@134271.yoursipcloud.com:5060] 2022-05-16 10:19:37.809202 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA going to sleep 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 14 Tot 19880) 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change EARLY -> HANGUP 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:447 sofia/default/31854832191@134271.yoursipcloud.com:5060 Overriding SIP cause 487 with 487 from the other leg 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 hanging up, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191@134271.yoursipcloud.com:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:37.809202 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.132 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191@134271.yoursipcloud.com:5060 2022-05-16 10:19:37.809202 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.132 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE going to sleep 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_HANGUP (Cur 14 Tot 19880) 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP going to sleep 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 14 Tot 19880) 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.132) Callstate Change EARLY -> HANGUP 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.132) State HANGUP 2022-05-16 10:19:37.809202 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.132 hanging up, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.809202 [INFO] mod_json_cdr.c:271 Process [b3ebe113-e3df-46ec-8f91-d8a3284f76f6.cdr.json] 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.132 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.132) State HANGUP going to sleep 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.132) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_REPORTING (Cur 14 Tot 19880) 2022-05-16 10:19:37.809202 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.132) State REPORTING 2022-05-16 10:19:37.809202 [INFO] mod_json_cdr.c:271 Process [6f21e02d-fe5c-4c05-b99d-7a620615dae2.cdr.json] 2022-05-16 10:19:37.829216 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [terminated][487] 2022-05-16 10:19:37.829216 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.236 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2022-05-16 10:19:37.829216 [DEBUG] mod_hash.c:296 Usage for CPS_160_CPS_user_160 is now 0 2022-05-16 10:19:37.829216 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.236 ending bridge by request from read function 2022-05-16 10:19:37.829216 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.236] 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING going to sleep 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_session.c:1726 Session 19875 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Locked, Waiting on external entities 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1744 Session 19875 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Ended 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_DESTROY] 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 13 Tot 19880) 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY 2022-05-16 10:19:37.829216 [DEBUG] mod_sofia.c:364 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY going to sleep 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.132 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.132) State REPORTING going to sleep 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.132) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_session.c:1726 Session 19874 (sofia/default/31652033157@185.249.40.132) Locked, Waiting on external entities 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1744 Session 19874 (sofia/default/31652033157@185.249.40.132) Ended 2022-05-16 10:19:37.829216 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.132 [CS_DESTROY] 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.132) Running State Change CS_DESTROY (Cur 12 Tot 19880) 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.132) State DESTROY 2022-05-16 10:19:37.829216 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.132 SOFIA DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.132 Standard DESTROY 2022-05-16 10:19:37.829216 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.132) State DESTROY going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191] 2022-05-16 10:19:37.849203 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 12 Tot 19880) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change EARLY -> HANGUP 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:447 sofia/default/31854832191 Overriding SIP cause 487 with 487 from the other leg 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:37.849203 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.236 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191 2022-05-16 10:19:37.849203 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.236 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_HANGUP (Cur 12 Tot 19880) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.236) Callstate Change EARLY -> HANGUP 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 12 Tot 19880) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.236 hanging up, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.849203 [INFO] mod_json_cdr.c:271 Process [84ebeb88-9fff-4276-a91d-d73b8ec3a860.cdr.json] 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.236 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_REPORTING (Cur 12 Tot 19880) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING 2022-05-16 10:19:37.849203 [INFO] mod_json_cdr.c:271 Process [66f3964d-fbb6-4605-abfa-24e421b9c638.cdr.json] 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:37.849203 [DEBUG] switch_core_session.c:1726 Session 19877 (sofia/default/31854832191) Locked, Waiting on external entities 2022-05-16 10:19:37.849203 [NOTICE] switch_core_session.c:1744 Session 19877 (sofia/default/31854832191) Ended 2022-05-16 10:19:37.849203 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY] 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 11 Tot 19880) 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY 2022-05-16 10:19:37.849203 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY 2022-05-16 10:19:37.849203 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.236 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING going to sleep 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:37.869190 [DEBUG] switch_core_session.c:1726 Session 19876 (sofia/default/31652033157@185.249.40.236) Locked, Waiting on external entities 2022-05-16 10:19:37.869190 [NOTICE] switch_core_session.c:1744 Session 19876 (sofia/default/31652033157@185.249.40.236) Ended 2022-05-16 10:19:37.869190 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.236 [CS_DESTROY] 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.236) Running State Change CS_DESTROY (Cur 10 Tot 19880) 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY 2022-05-16 10:19:37.869190 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.236 SOFIA DESTROY 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.236 Standard DESTROY 2022-05-16 10:19:37.869190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY going to sleep 2022-05-16 10:19:38.169197 [DEBUG] switch_scheduler.c:147 Deleting task 6028 switch_ivr_schedule_hangup (84ebeb88-9fff-4276-a91d-d73b8ec3a860) 2022-05-16 10:19:38.169197 [DEBUG] switch_scheduler.c:147 Deleting task 6029 switch_ivr_schedule_hangup (b3ebe113-e3df-46ec-8f91-d8a3284f76f6) 2022-05-16 10:19:41.809218 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [completing][200] 2022-05-16 10:19:41.809218 [DEBUG] sofia.c:7333 Duplicate SDP v=0 o=- 3476480830 1 IN IP4 185.249.40.253 s=- c=IN IP4 185.249.40.253 t=0 0 m=audio 11510 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-05-16 10:19:41.829200 [DEBUG] sofia.c:7326 Channel sofia/default/31634579137 entering state [ready][200] 2022-05-16 10:19:41.829200 [NOTICE] sofia.c:8445 Channel [sofia/default/31634579137] has been answered 2022-05-16 10:19:41.829200 [DEBUG] switch_channel.c:3865 (sofia/default/31634579137) Callstate Change EARLY -> ACTIVE 2022-05-16 10:19:41.829200 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/183284@213.144.239.110:9933. 2022-05-16 10:19:41.829200 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933: v=0 o=FreeSWITCH 1652662285 1652662287 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 26870 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-05-16 10:19:41.829200 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/183284@213.144.239.110:9933] has been answered 2022-05-16 10:19:41.829200 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change EARLY -> ACTIVE 2022-05-16 10:19:41.829200 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200] 2022-05-16 10:19:41.849191 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200] 2022-05-16 10:19:41.889191 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:41.889191 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed. 2022-05-16 10:19:43.169210 [NOTICE] sofia.c:1089 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING] 2022-05-16 10:19:43.169210 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 4 2022-05-16 10:19:43.169210 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933] 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:820 sofia/default/183284@213.144.239.110:9933 ending bridge by request from write function 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31634579137] 2022-05-16 10:19:43.189188 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31634579137 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31634579137) State EXCHANGE_MEDIA going to sleep 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_HANGUP (Cur 10 Tot 19880) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31634579137) Callstate Change ACTIVE -> HANGUP 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31634579137) State HANGUP 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:447 sofia/default/31634579137 Overriding SIP cause 480 with 200 from the other leg 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:453 Channel sofia/default/31634579137 hanging up, cause: NORMAL_CLEARING 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31634579137 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:43.189188 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/183284@213.144.239.110:9933 skip receive message [UNBRIDGE] (channel is hungup already) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 10 Tot 19880) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31634579137 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:60 sofia/default/31634579137 Standard HANGUP, cause: NORMAL_CLEARING 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31634579137) State HANGUP going to sleep 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31634579137) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31634579137) Running State Change CS_REPORTING (Cur 10 Tot 19880) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31634579137) State REPORTING 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING 2022-05-16 10:19:43.189188 [INFO] mod_json_cdr.c:271 Process [28f5b1ce-2b8c-4aa8-bc20-3d558afa379a.cdr.json] 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 10 Tot 19880) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING 2022-05-16 10:19:43.189188 [INFO] mod_json_cdr.c:271 Process [fb0e8983-9f92-42f1-9524-ef852a439ce4.cdr.json] 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:174 sofia/default/31634579137 Standard REPORTING, cause: NORMAL_CLEARING 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31634579137) State REPORTING going to sleep 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31634579137) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:43.189188 [DEBUG] switch_core_session.c:1726 Session 19879 (sofia/default/31634579137) Locked, Waiting on external entities 2022-05-16 10:19:43.189188 [NOTICE] switch_core_session.c:1744 Session 19879 (sofia/default/31634579137) Ended 2022-05-16 10:19:43.189188 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31634579137 [CS_DESTROY] 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31634579137) Running State Change CS_DESTROY (Cur 9 Tot 19880) 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31634579137) State DESTROY 2022-05-16 10:19:43.189188 [DEBUG] mod_sofia.c:364 sofia/default/31634579137 SOFIA DESTROY 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:181 sofia/default/31634579137 Standard DESTROY 2022-05-16 10:19:43.189188 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31634579137) State DESTROY going to sleep 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY 2022-05-16 10:19:43.209190 [DEBUG] switch_core_session.c:1726 Session 19878 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities 2022-05-16 10:19:43.209190 [NOTICE] switch_core_session.c:1744 Session 19878 (sofia/default/183284@213.144.239.110:9933) Ended 2022-05-16 10:19:43.209190 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY] 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 8 Tot 19880) 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY 2022-05-16 10:19:43.209190 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY 2022-05-16 10:19:43.209190 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep 2022-05-16 10:19:43.669221 [DEBUG] switch_scheduler.c:147 Deleting task 6030 switch_ivr_schedule_hangup (28f5b1ce-2b8c-4aa8-bc20-3d558afa379a) 2022-05-16 10:19:47.169236 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_262225_CPS_user_262225 2022-05-16 10:19:47.169236 [DEBUG] mod_hash.c:234 Freeing limit item: CPS_160_CPS_user_160 freeswitch@multitenant-1> /exit