freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> 2022-03-10 10:59:28.595513 95.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [bfa09f6f-1415-466c-bd93-1aee01685128] 2022-03-10 10:59:28.595513 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 20) 2022-03-10 10:59:28.595513 95.87% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:50798 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZDFmOWQ5NzAxZjY5NGFlZGQyNGQxYmQzMTFmYTRjNjc. 2022-03-10 10:59:28.595513 95.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0. 2022-03-10 10:59:28.595513 95.87% [DEBUG] sofia.c:2419 detaching session bfa09f6f-1415-466c-bd93-1aee01685128 2022-03-10 10:59:28.595513 95.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4665206923@w07version61.astppbilling.org] from ip 117.247.91.162 2022-03-10 10:59:28.595513 95.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State NEW 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:2532 Re-attaching to session bfa09f6f-1415-466c-bd93-1aee01685128 2022-03-10 10:59:28.715513 95.87% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:50798 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZDFmOWQ5NzAxZjY5NGFlZGQyNGQxYmQzMTFmYTRjNjc. 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0. 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [received][100] 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=3cxVCE 383435700 219543480 IN IP4 192.168.1.13 s=3cxVCE Audio Call c=IN IP4 192.168.1.13 t=0 0 m=audio 40028 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 m=video 40010 RTP/AVP 34 c=IN IP4 192.168.1.13 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9191680902@w07version61.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_codec.c:111 sofia/default/9191680902@w07version61.astppbilling.org:5074 Original read codec set to PCMU:0 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:5973 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT 2022-03-10 10:59:28.715513 95.87% [DEBUG] sofia.c:7933 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_NEW -> CS_INIT 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 20) 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT 2022-03-10 10:59:28.715513 95.87% [DEBUG] mod_sofia.c:97 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA INIT 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard INIT 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT going to sleep 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 20) 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_channel.c:2380 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change DOWN -> RINGING 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING 2022-03-10 10:59:28.715513 95.87% [DEBUG] mod_sofia.c:158 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA ROUTING 2022-03-10 10:59:28.715513 95.87% [DEBUG] switch_core_state_machine.c:230 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard ROUTING 2022-03-10 10:59:28.715513 95.87% [INFO] mod_dialplan_xml.c:639 Processing 9191680902 <9191680902>->4665206923 in context default 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 4665206923 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '4665206923' AND status=0 limit 1 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9191680902 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '4665206923' limit 1 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '5' and username = '4665206923' limit 1 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = '9191680902' limit 1 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan COMINNG] Caller Id name / number : 9191680902 / 9191680902 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : / 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4665206923" LIMIT 1 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4665206923" limit 1 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local 2022-03-10 10:59:28.735484 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9191680902] 2022-03-10 10:59:28.735484 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9191680902" AND deleted = 0 limit 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="4665206923" AND (accountid = 0 OR status = 1) LIMIT 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^4665206923.*' OR patterns = '^466520692.*' OR patterns = '^46652069.*' OR patterns = '^4665206.*' OR patterns = '^466520.*' OR patterns = '^46652.*' OR patterns = '^4665.*' OR patterns = '^466.*' OR patterns = '^46.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [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 ="4665206923" AND A.accountid = '7' limit 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 4665206923 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4665206923" LIMIT 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4665206923" limit 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '4665206923' OR number = '466520692' OR number = '46652069' OR number = '4665206' OR number = '466520' OR number = '46652' OR number = '4665' OR number = '466' OR number = '46' OR number = '4' OR number ='--') OR (number = '4665206923*' OR number = '466520692*' OR number = '46652069*' OR number = '4665206*' OR number = '466520*' OR number = '46652*' OR number = '4665*' OR number = '466*' OR number = '46*' OR number = '4*' OR number ='--') OR (number ='--') OR (number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4665206923' OR routing_prefix = '466520692' OR routing_prefix = '46652069' OR routing_prefix = '4665206' OR routing_prefix = '466520' OR routing_prefix = '46652' OR routing_prefix = '4665' OR routing_prefix = '466' OR routing_prefix = '46' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9191680902 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 40000 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 17 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0 2022-03-10 10:59:28.755483 95.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1 2022-03-10 10:59:28.755483 95.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your40000 balance Accountid 7 !!! 2022-03-10 10:59:28.755483 95.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-03-10 10:59:28.755483 95.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9104408877 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19998.2 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-03-10 10:59:28.755483 95.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1 2022-03-10 10:59:28.755483 95.87% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19998.2 balance Accountid 4 !!! 2022-03-10 10:59:28.755483 95.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4665206923" limit 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-10 10:59:28.755483 95.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2022-03-10 10:59:28.755483 95.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 parsing [default->4665206923] continue=false Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Regex (PASS) [4665206923] destination_number(4665206923) =~ /4665206923/ break=on-false Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_destination_number=4665206923) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(callstart=2022-03-10 10:59:28) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(account_id=7) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(parent_id=4) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(entity_id=0) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_processed=internal) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_direction=local) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(accountname=default) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(origination_rates=ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(calltype=LOCAL) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(receiver_accid=5) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=x//4|||Reseller's cust(9191680902)|||^4665206923.* // Local // 0||||||Local|||117.247.91.162) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=||||||||||||LOCAL|||192.168.1.13) Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action bridge([leg_timeout=30]user/4665206923@${domain_name}) |--- Dialplan: Processing recursive conditions level:1 [4665206923_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Regex (FAIL) [4665206923_recur_1] ${cond(${user_data 4665206923@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 ANTI-Action hangup(${originate_disposition}) 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING going to sleep 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 20) 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_sofia.c:213 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA EXECUTE 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard EXECUTE EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_destination_number=4665206923) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_destination_number]=[4665206923] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(callstart=2022-03-10 10:59:28) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [callstart]=[2022-03-10 10:59:28] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(hangup_after_bridge=true) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(continue_on_fail=TRUE) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(account_id=7) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [account_id]=[7] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(parent_id=4) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [parent_id]=[4] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(entity_id=0) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_processed=internal) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_direction=local) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_direction]=[local] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(accountname=default) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [accountname]=[default] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(origination_rates=ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [origination_rates]=[ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:0|CODE:^4665206923.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(calltype=LOCAL) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [calltype]=[LOCAL] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(receiver_accid=5) 2022-03-10 10:59:28.775485 95.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [receiver_accid]=[5] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=x//4|||Reseller's cust(9191680902)|||^4665206923.* // Local // 0||||||Local|||117.247.91.162) 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//4|||Reseller's cust(9191680902)|||^4665206923.* // Local // 0||||||Local|||117.247.91.162] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=||||||||||||LOCAL|||192.168.1.13) 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[||||||||||||LOCAL|||192.168.1.13] EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 bridge([leg_timeout=30]user/4665206923@w07version61.astppbilling.org) 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||192.168.1.13] to event 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||192.168.1.13] to event 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||192.168.1.13] to event 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||192.168.1.13] to event 2022-03-10 10:59:28.775485 95.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-03-10 10:59:28.795484 95.87% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2022-03-10 10:59:28.795484 95.87% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED] 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED] 2022-03-10 10:59:28.795484 95.87% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_NOT_REGISTERED EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 hangup(USER_NOT_REGISTERED) 2022-03-10 10:59:28.795484 95.87% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_EXECUTE] [USER_NOT_REGISTERED] 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_session.c:2983 sofia/default/9191680902@w07version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE going to sleep 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 1 Tot 20) 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change RINGING -> HANGUP 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP 2022-03-10 10:59:28.795484 95.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 hanging up, cause: USER_NOT_REGISTERED 2022-03-10 10:59:28.795484 95.87% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard HANGUP, cause: USER_NOT_REGISTERED 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP going to sleep 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 1 Tot 20) 2022-03-10 10:59:28.795484 95.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING 2022-03-10 10:59:28.795484 95.87% [INFO] mod_json_cdr.c:271 Process [bfa09f6f-1415-466c-bd93-1aee01685128.cdr.json] 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard REPORTING, cause: USER_NOT_REGISTERED 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING going to sleep 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_session.c:1753 Session 20 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Locked, Waiting on external entities 2022-03-10 10:59:28.835569 95.87% [NOTICE] switch_core_session.c:1771 Session 20 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Ended 2022-03-10 10:59:28.835569 95.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_DESTROY] 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 20) 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY 2022-03-10 10:59:28.835569 95.87% [DEBUG] mod_sofia.c:379 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA DESTROY 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard DESTROY 2022-03-10 10:59:28.835569 95.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY going to sleep freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218> freeswitch@ip-172-31-14-218>