2024-10-08 13:03:55.232868 92.70% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9744084992@astpp66.astppbilling.org [c8415840-da31-4678-a342-51f6a3902560] 2024-10-08 13:03:55.232868 92.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 1) 2024-10-08 13:03:55.232868 92.70% [INFO] sofia.c:10459 sofia/default/9744084992@astpp66.astppbilling.org receiving invite from 152.58.190.51:36152 version: 1.10.10-release 64bit call-id: YmZlNmYyZGI2NDIyYTI3OTAxZTZkNjY0ZjkwZWQzYmI. 2024-10-08 13:03:55.232868 92.70% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 152.58.190.51:0. 2024-10-08 13:03:55.232868 92.70% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [180044@astpp66.astppbilling.org] from ip 152.58.190.51 2024-10-08 13:03:55.232868 92.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9744084992@astpp66.astppbilling.org) State NEW 2024-10-08 13:03:55.232868 92.70% [DEBUG] sofia.c:2419 detaching session c8415840-da31-4678-a342-51f6a3902560 2024-10-08 13:03:56.121264 92.20% [DEBUG] sofia.c:2532 Re-attaching to session c8415840-da31-4678-a342-51f6a3902560 2024-10-08 13:03:56.132874 92.20% [INFO] sofia.c:10459 sofia/default/9744084992@astpp66.astppbilling.org receiving invite from 152.58.190.51:36152 version: 1.10.10-release 64bit call-id: YmZlNmYyZGI2NDIyYTI3OTAxZTZkNjY0ZjkwZWQzYmI. 2024-10-08 13:03:56.132874 92.20% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 152.58.190.51:0. 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:11674 Setting NAT mode based on via port 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7493 Channel sofia/default/9744084992@astpp66.astppbilling.org entering state [received][100] 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=Z 0 0 IN IP4 152.58.190.51 s=Z c=IN IP4 152.58.190.51 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9744084992@astpp66.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_codec.c:111 sofia/default/9744084992@astpp66.astppbilling.org Original read codec set to PCMA:8 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_media.c:5856 sofia/default/9744084992@astpp66.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-08 13:03:56.437289 92.20% [DEBUG] sofia.c:7927 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_NEW -> CS_INIT 2024-10-08 13:03:56.437289 92.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 1) 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9744084992@astpp66.astppbilling.org) State INIT 2024-10-08 13:03:56.452865 92.20% [DEBUG] mod_sofia.c:97 sofia/default/9744084992@astpp66.astppbilling.org SOFIA INIT 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/9744084992@astpp66.astppbilling.org Standard INIT 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_INIT -> CS_ROUTING 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9744084992@astpp66.astppbilling.org) State INIT going to sleep 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 1) 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_channel.c:2399 (sofia/default/9744084992@astpp66.astppbilling.org) Callstate Change DOWN -> RINGING 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9744084992@astpp66.astppbilling.org) State ROUTING 2024-10-08 13:03:56.452865 92.20% [DEBUG] mod_sofia.c:158 sofia/default/9744084992@astpp66.astppbilling.org SOFIA ROUTING 2024-10-08 13:03:56.452865 92.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/9744084992@astpp66.astppbilling.org Standard ROUTING 2024-10-08 13:03:56.452865 92.20% [INFO] mod_dialplan_xml.c:639 Processing 9744084992 <9744084992>->180044 in context default 2024-10-08 13:03:56.591867 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-08 13:03:56.620707 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-08 13:03:56.620707 91.13% [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','vanity_number') 2024-10-08 13:03:56.620707 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 180044 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '180044' limit 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '180044' AND status=0 limit 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '180044' and status=0 LIMIT 1 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9744084992 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'astpp66.astppbilling.org' limit 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '9' and username = '180044' limit 1 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9744084992 / 9744084992 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 180044 AND status=0 limit 1 2024-10-08 13:03:56.632864 91.13% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9744084992] 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9744084992" OR id = "9744084992") AND deleted = 0 limit 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number = 180044 AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 5 2024-10-08 13:03:56.632864 91.13% [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 = '^180044.*' OR patterns = '^18004.*' OR patterns = '^1800.*' OR patterns = '^180.*' OR patterns = '^18.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-08 13:03:56.632864 91.13% [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 ="180044" AND A.accountid = '9' limit 1 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 180044 2024-10-08 13:03:56.632864 91.13% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-10-08 13:03:56.632864 91.13% [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 = '180044' OR number = '18004' OR number = '1800' OR number = '180' OR number = '18' OR number = '1' OR number ='--') OR (number = '180044*' OR number = '18004*' OR number = '1800*' OR number = '180*' OR number = '18*' OR number = '1*' OR number ='--') OR (number = '9744084992' OR number = '974408499' OR number = '97440849' OR number = '9744084' OR number = '974408' OR number = '97440' OR number = '9744' OR number = '974' OR number = '97' OR number = '9' OR number ='--') OR (number = '9744084992*' OR number = '974408499*' OR number = '97440849*' OR number = '9744084*' OR number = '974408*' OR number = '97440*' OR number = '9744*' OR number = '974*' OR number = '97*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '180044' OR routing_prefix = '18004' OR routing_prefix = '1800' OR routing_prefix = '180' OR routing_prefix = '18' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9 2024-10-08 13:03:56.632864 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9744084992 2024-10-08 13:03:56.632864 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49997 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-10-08 13:03:56.653198 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-08 13:03:56.653198 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....180044 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="180044" LIMIT 1 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 180044 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9 2024-10-08 13:03:56.678494 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-08 13:03:56.678494 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49997 balance Accountid 9 !!! 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 5 and status = 0 limit 1 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "8" OR number = "8") AND deleted = 0 limit 1 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9408080148 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49997 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-08 13:03:56.692865 91.13% [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,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 180044 ORDER BY LENGTH(A.number) DESC LIMIT 1 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 180044 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49997 balance Accountid 8 !!! 2024-10-08 13:03:56.692865 91.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-10-08 13:03:56.692865 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-10-08 13:03:56.692865 91.13% [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 = 9 AND status=0 LIMIT 1 2024-10-08 13:03:56.692865 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1 2024-10-08 13:03:56.712859 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =5 2024-10-08 13:03:56.712859 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [update_first_used_account] Query :update accounts SET first_used = '2024-10-08 13:03:56' where id = '5' 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2024-10-08 13:03:56.876842 91.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astpp661.astppbilling.org 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '9744084992' and status = 0 limit 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [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 = "8153907175" AND accounts.status = 0 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 5 limit 1 2024-10-08 13:03:56.876842 91.13% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astpp661.astppbilling.org 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 5 or id = 5 ) and status = 0 limit 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold_type FROM sip_devices WHERE username = '8153907175' and accountid = '5'LIMIT 1 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 8153907175 2024-10-08 13:03:56.876842 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] moh_name : 0 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT music_on_hold,music_on_hold_type FROM sip_devices WHERE username = '8153907175' and accountid = '5'LIMIT 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :0 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH for global Query :SELECT name FROM pbx_music_on_hold WHERE id = '0' LIMIT 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8153907175" AND domains.domain="astpp661.astppbilling.org" limit 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1 2024-10-08 13:03:56.876842 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2024-10-08 13:03:56.892856 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC10] 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec 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="8153907175" AND domains.domain="astpp661.astppbilling.org" limit 1 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8153907175" AND domains.domain="astpp661.astppbilling.org" limit 1 2024-10-08 13:03:56.892856 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 2 2024-10-08 13:03:56.892856 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-10-08 13:03:56.918537 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 0 2024-10-08 13:03:56.918537 91.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Enable 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="8153907175" AND domains.domain="astpp661.astppbilling.org" limit 1 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 2 limit 1 2024-10-08 13:03:56.918537 91.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9744084992@astpp66.astppbilling.org parsing [default->180044] continue=false Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Regex (PASS) [180044] destination_number(180044) =~ /180044/ break=on-false Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_destination_number=180044) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(notify_flag=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(type=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(callstart=2024-10-08 13:03:56) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(account_id=9) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(parent_id=8) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(entity_id=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(call_processed=internal) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(call_direction=inbound) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(accountname=default) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(origination_rates_did=ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(origination_rates=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(original_caller_id_name=9744084992) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(original_caller_id_number=9744084992) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_caller_id_name=9744084992) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(effective_caller_id_number=9744084992) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(receiver_accid=5) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(domain_name=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(sip_to_host=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(presence_data=x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(call_type=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(calltype=DID-LOCAL) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action db(insert/pickup_any_group_${callgroup}/8153907175/${uuid}) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(dialed_extension=transfer_call) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(dialed_extension=transfer_call) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(did_user_domain=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action db(insert/pickup_any_group_${callgroup}/210000044444#/${uuid}) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(dialed_extension=transfer_call) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(dialed_extension=transfer_call) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(hangup_after_bridge=true) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(sip_to_host=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action export(domain_name=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_h_p-diversion_flag=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_h_p-diversion_did_number=180044) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action transfer() Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_destination=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_destination=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_flag=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_destination=910000555555#) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(variable_sip_to_host=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(leg_timeout=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(userinfo_id=5) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_destination_number=210000044444#) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(did_number=210000044444#) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(user_domain=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(on_busy_destination=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(no_answer_destination=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_flag=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(not_register_destination=910000555555#) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_flag=1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(variable_sip_to_host=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(opensips_domain=127.0.0.1) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(leg_timeout=0) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(userinfo_id=5) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(sip_destination_number=8153907175) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(destination_number=8153907175) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(did_number=180044) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action set(user_domain=astpp661.astppbilling.org) Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [180044_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/9744084992@astpp66.astppbilling.org Regex (FAIL) [180044_recur_1] ${cond(${user_data 8153907175@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/9744084992@astpp66.astppbilling.org ANTI-Action hangup(${originate_disposition}) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9744084992@astpp66.astppbilling.org) State ROUTING going to sleep 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 1) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9744084992@astpp66.astppbilling.org) State EXECUTE 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_sofia.c:213 sofia/default/9744084992@astpp66.astppbilling.org SOFIA EXECUTE 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9744084992@astpp66.astppbilling.org Standard EXECUTE EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_destination_number=180044) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_destination_number]=[180044] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(execute_on_answer_1=sched_hangup +6000 normal_clearing) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [execute_on_answer_1]=[sched_hangup +6000 normal_clearing] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(notify_flag=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [notify_flag]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(notify_credit_limit=5.00000) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(type=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [type]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(callstart=2024-10-08 13:03:56) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [callstart]=[2024-10-08 13:03:56] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(continue_on_fail=TRUE) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(account_id=9) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [account_id]=[9] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(parent_id=8) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [parent_id]=[8] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(entity_id=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [entity_id]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(call_processed=internal) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(call_direction=inbound) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(accountname=default) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [accountname]=[default] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(origination_rates_did=ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [origination_rates_did]=[ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:5||ID:3|CODE:^180044.*|DESTINATION:180044|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:8] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(origination_rates=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [origination_rates]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(original_caller_id_name=9744084992) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [original_caller_id_name]=[9744084992] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(original_caller_id_number=9744084992) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [original_caller_id_number]=[9744084992] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_caller_id_name=9744084992) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_caller_id_name]=[9744084992] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(effective_caller_id_number=9744084992) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [effective_caller_id_number]=[9744084992] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(receiver_accid=5) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [receiver_accid]=[5] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(domain_name=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(sip_to_host=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(presence_data=x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//8|||Nirali(8153907175)|||^180044.* // 180044 // 1.20000|||||||||DID|||152.58.190.51] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(call_type=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(calltype=DID-LOCAL) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(daily_call_credit_limit=0.00000) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(monthly_call_credit_limit=0.00000) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(daily_call_used_limit=0.00000) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(monthly_call_used_limit=0.00000) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org db(insert/pickup_any_group_/8153907175/c8415840-da31-4678-a342-51f6a3902560) EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(dialed_extension=transfer_call) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(dialed_extension=transfer_call) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(did_user_domain=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org db(insert/pickup_any_group_/210000044444#/c8415840-da31-4678-a342-51f6a3902560) EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(dialed_extension=transfer_call) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(dialed_extension=transfer_call) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-10-08 13:03:57.672301 87.97% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(hangup_after_bridge=true) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(sip_to_host=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org export(domain_name=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_h_p-diversion_flag=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_h_p-diversion_flag]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_h_p-diversion_did_number=180044) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_h_p-diversion_did_number]=[180044] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org transfer() EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_flag=1) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_destination=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_destination]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_flag=1) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_destination=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_destination]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_flag=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_flag]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_destination=910000555555#) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_destination]=[910000555555#] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_flag=1) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(variable_sip_to_host=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [variable_sip_to_host]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_domain=127.0.0.1) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_domain]=[127.0.0.1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(leg_timeout=0) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [leg_timeout]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(userinfo_id=5) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [userinfo_id]=[5] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_destination_number=210000044444#) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_destination_number]=[210000044444#] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(did_number=210000044444#) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [did_number]=[210000044444#] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(user_domain=astpp661.astppbilling.org) 2024-10-08 13:03:57.672301 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [user_domain]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2024-10-08 13:03:57.692861 87.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-08 13:03:57.692861 87.97% [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','vanity_number') 2024-10-08 13:03:57.692861 87.97% [ERR] mod_lua.cpp:202 ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: attempt to concatenate global 'last_disposition' (a nil value) stack traceback: ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: in main chunk 2024-10-08 13:03:57.692861 87.97% [DEBUG] switch_cpp.cpp:1209 sofia/default/9744084992@astpp66.astppbilling.org destroy/unlink session from object EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_flag=1) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(on_busy_destination=0) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [on_busy_destination]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_flag=1) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(no_answer_destination=0) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [no_answer_destination]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_flag=0) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_flag]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(not_register_destination=910000555555#) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [not_register_destination]=[910000555555#] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_flag=1) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_flag]=[1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(variable_sip_to_host=astpp661.astppbilling.org) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [variable_sip_to_host]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(opensips_domain=127.0.0.1) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [opensips_domain]=[127.0.0.1] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(leg_timeout=0) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [leg_timeout]=[0] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(userinfo_id=5) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [userinfo_id]=[5] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(sip_destination_number=8153907175) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [sip_destination_number]=[8153907175] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(destination_number=8153907175) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [destination_number]=[8153907175] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(did_number=180044) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [did_number]=[180044] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org set(user_domain=astpp661.astppbilling.org) 2024-10-08 13:03:57.692861 87.97% [DEBUG] mod_dptools.c:1671 SET sofia/default/9744084992@astpp66.astppbilling.org [user_domain]=[astpp661.astppbilling.org] EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-08 13:03:57.712865 87.97% [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','vanity_number') 2024-10-08 13:03:57.712865 87.97% [ERR] mod_lua.cpp:202 ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: attempt to concatenate global 'last_disposition' (a nil value) stack traceback: ...switch/scripts/astpp/lib/pbx/astpp-sipdevice-routing.lua:90: in main chunk 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_cpp.cpp:1209 sofia/default/9744084992@astpp66.astppbilling.org destroy/unlink session from object EXECUTE [depth=0] sofia/default/9744084992@astpp66.astppbilling.org hangup() 2024-10-08 13:03:57.712865 87.97% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/9744084992@astpp66.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING] 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_session.c:2979 sofia/default/9744084992@astpp66.astppbilling.org skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9744084992@astpp66.astppbilling.org) State EXECUTE going to sleep 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_HANGUP (Cur 1 Tot 1) 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9744084992@astpp66.astppbilling.org) Callstate Change RINGING -> HANGUP 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9744084992@astpp66.astppbilling.org) State HANGUP 2024-10-08 13:03:57.712865 87.97% [DEBUG] mod_sofia.c:469 Channel sofia/default/9744084992@astpp66.astppbilling.org hanging up, cause: NORMAL_CLEARING 2024-10-08 13:03:57.712865 87.97% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/9744084992@astpp66.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9744084992@astpp66.astppbilling.org) State HANGUP going to sleep 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_REPORTING (Cur 1 Tot 1) 2024-10-08 13:03:57.712865 87.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9744084992@astpp66.astppbilling.org) State REPORTING 2024-10-08 13:03:57.712865 87.97% [INFO] mod_json_cdr.c:272 Process [c8415840-da31-4678-a342-51f6a3902560.cdr.json] 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9744084992@astpp66.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9744084992@astpp66.astppbilling.org) State REPORTING going to sleep 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9744084992@astpp66.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_session.c:1744 Session 1 (sofia/default/9744084992@astpp66.astppbilling.org) Locked, Waiting on external entities 2024-10-08 13:03:59.785571 83.40% [NOTICE] switch_core_session.c:1762 Session 1 (sofia/default/9744084992@astpp66.astppbilling.org) Ended 2024-10-08 13:03:59.785571 83.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9744084992@astpp66.astppbilling.org [CS_DESTROY] 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9744084992@astpp66.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 1) 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9744084992@astpp66.astppbilling.org) State DESTROY 2024-10-08 13:03:59.785571 83.40% [DEBUG] mod_sofia.c:380 sofia/default/9744084992@astpp66.astppbilling.org SOFIA DESTROY 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9744084992@astpp66.astppbilling.org Standard DESTROY 2024-10-08 13:03:59.785571 83.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9744084992@astpp66.astppbilling.org) State DESTROY going to sleep 2024-10-08 13:04:02.351267 80.83% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [100005@astpp66.astppbilling.org] from ip 103.240.35.46