2024-03-06 10:53:40.072805 35.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/100@1.1.1.1 [90214da9-79c4-46c6-9a65-0c68273eeb24] 2024-03-06 10:53:40.072805 35.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@1.1.1.1) Running State Change CS_NEW (Cur 1 Tot 24764) 2024-03-06 10:53:40.072805 35.03% [INFO] sofia.c:10459 sofia/default/100@1.1.1.1 receiving invite from 165.22.241.242:60149 version: 1.10.10-release 64bit call-id: 965562644477320494040068 2024-03-06 10:53:40.072805 35.03% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 165.22.241.242:0. 2024-03-06 10:53:40.072805 35.03% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [100@1.1.1.1] from ip 165.22.241.242 2024-03-06 10:53:40.072805 35.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100@1.1.1.1) State NEW 2024-03-06 10:53:40.072805 35.03% [DEBUG] sofia.c:2419 detaching session 90214da9-79c4-46c6-9a65-0c68273eeb24 2024-03-06 10:53:50.112816 35.23% [WARNING] switch_core_state_machine.c:684 90214da9-79c4-46c6-9a65-0c68273eeb24 sofia/default/100@1.1.1.1 Abandoned 2024-03-06 10:53:50.112816 35.23% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/100@1.1.1.1 [CS_NEW] [WRONG_CALL_STATE] 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@1.1.1.1) Running State Change CS_HANGUP (Cur 1 Tot 24764) 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100@1.1.1.1) Callstate Change DOWN -> HANGUP 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100@1.1.1.1) State HANGUP 2024-03-06 10:53:50.112816 35.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/100@1.1.1.1 hanging up, cause: WRONG_CALL_STATE 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/100@1.1.1.1 Standard HANGUP, cause: WRONG_CALL_STATE 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100@1.1.1.1) State HANGUP going to sleep 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100@1.1.1.1) State Change CS_HANGUP -> CS_REPORTING 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@1.1.1.1) Running State Change CS_REPORTING (Cur 1 Tot 24764) 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100@1.1.1.1) State REPORTING 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/100@1.1.1.1 Standard REPORTING, cause: WRONG_CALL_STATE 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100@1.1.1.1) State REPORTING going to sleep 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100@1.1.1.1) State Change CS_REPORTING -> CS_DESTROY 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_session.c:1744 Session 24764 (sofia/default/100@1.1.1.1) Locked, Waiting on external entities 2024-03-06 10:53:50.112816 35.23% [NOTICE] switch_core_session.c:1762 Session 24764 (sofia/default/100@1.1.1.1) Ended 2024-03-06 10:53:50.112816 35.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/100@1.1.1.1 [CS_DESTROY] 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100@1.1.1.1) Running State Change CS_DESTROY (Cur 0 Tot 24764) 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100@1.1.1.1) State DESTROY 2024-03-06 10:53:50.112816 35.23% [DEBUG] mod_sofia.c:380 sofia/default/100@1.1.1.1 SOFIA DESTROY 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/100@1.1.1.1 Standard DESTROY 2024-03-06 10:53:50.112816 35.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100@1.1.1.1) State DESTROY going to sleep 2024-03-06 10:53:55.692808 35.33% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8481338745@demov6.astppbilling.org [a26f9e9d-2193-4846-9ef8-d4b3be04e7b5] 2024-03-06 10:53:55.692808 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 24765) 2024-03-06 10:53:55.692808 35.33% [INFO] sofia.c:10459 sofia/default/8481338745@demov6.astppbilling.org receiving invite from 189.56.44.140:65476 version: 1.10.10-release 64bit call-id: MjJmYWYyNWE4YWU2MTJlNWQ0NjczZThiNTIxZDM5NGY. 2024-03-06 10:53:55.692808 35.33% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 189.56.44.140:0. 2024-03-06 10:53:55.692808 35.33% [DEBUG] sofia.c:10582 IP 189.56.44.140 Approved by acl "default[]". Access Granted. 2024-03-06 10:53:55.712810 35.33% [DEBUG] sofia.c:7493 Channel sofia/default/8481338745@demov6.astppbilling.org entering state [received][100] 2024-03-06 10:53:55.712810 35.33% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=Zoiper_user 0 0 IN IP4 189.56.44.140 s=Zoiper_session i=(o=IN IP4 10.0.20.46) c=IN IP4 189.56.44.140 t=0 0 m=audio 20488 RTP/AVP 3 0 8 110 98 101 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 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-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8481338745@demov6.astppbilling.org PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_codec.c:111 sofia/default/8481338745@demov6.astppbilling.org Original read codec set to PCMU:0 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_media.c:5856 sofia/default/8481338745@demov6.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-06 10:53:55.712810 35.33% [DEBUG] sofia.c:7927 (sofia/default/8481338745@demov6.astppbilling.org) State Change CS_NEW -> CS_INIT 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8481338745@demov6.astppbilling.org) State NEW 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 24765) 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8481338745@demov6.astppbilling.org) State INIT 2024-03-06 10:53:55.712810 35.33% [DEBUG] mod_sofia.c:97 sofia/default/8481338745@demov6.astppbilling.org SOFIA INIT 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/8481338745@demov6.astppbilling.org Standard INIT 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8481338745@demov6.astppbilling.org) State Change CS_INIT -> CS_ROUTING 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8481338745@demov6.astppbilling.org) State INIT going to sleep 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 24765) 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_channel.c:2399 (sofia/default/8481338745@demov6.astppbilling.org) Callstate Change DOWN -> RINGING 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8481338745@demov6.astppbilling.org) State ROUTING 2024-03-06 10:53:55.712810 35.33% [DEBUG] mod_sofia.c:158 sofia/default/8481338745@demov6.astppbilling.org SOFIA ROUTING 2024-03-06 10:53:55.712810 35.33% [DEBUG] switch_core_state_machine.c:230 sofia/default/8481338745@demov6.astppbilling.org Standard ROUTING 2024-03-06 10:53:55.712810 35.33% [INFO] mod_dialplan_xml.c:639 Processing Teste <8481338745>->13054472817 in context default 2024-03-06 10:53:55.732792 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-03-06 10:53:55.732792 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-03-06 10:53:55.732792 35.33% [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','stir_shaken') 2024-03-06 10:53:55.732792 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.752985 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-03-06 10:53:55.752985 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 13054472817 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '13054472817' limit 1 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '13054472817' AND status=0 limit 1 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '13054472817' and status=0 LIMIT 1 2024-03-06 10:53:55.752985 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8481338745 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'demov6.astppbilling.org' limit 1 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '13054472817' limit 1 2024-03-06 10:53:55.752985 35.33% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-03-06 10:53:55.752985 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Teste / 8481338745 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 72817 2024-03-06 10:53:55.752985 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 130544 AND status=0 limit 1 2024-03-06 10:53:55.752985 35.33% [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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.772809 35.33% [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="13054472817" AND domains.domain="demov6.astppbilling.org" limit 1 2024-03-06 10:53:55.772809 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("189.56.44.140") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "13054472817" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-03-06 10:53:55.772809 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =13054472817 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^13054472817.*' OR blocked_patterns = '^1305447281.*' OR blocked_patterns = '^130544728.*' OR blocked_patterns = '^13054472.*' OR blocked_patterns = '^1305447.*' OR blocked_patterns = '^130544.*' OR blocked_patterns = '^13054.*' OR blocked_patterns = '^1305.*' OR blocked_patterns = '^130.*' OR blocked_patterns = '^13.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2024-03-06 10:53:55.772809 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="13054472817" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-06 10:53:55.792790 35.33% [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 = '^13054472817.*' OR patterns = '^1305447281.*' OR patterns = '^130544728.*' OR patterns = '^13054472.*' OR patterns = '^1305447.*' OR patterns = '^130544.*' OR patterns = '^13054.*' OR patterns = '^1305.*' OR patterns = '^130.*' OR patterns = '^13.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-06 10:53:55.792790 35.33% [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 ="13054472817" AND A.accountid = '2' limit 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 13054472817 2024-03-06 10:53:55.792790 35.33% [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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.792790 35.33% [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="13054472817" AND domains.domain="demov6.astppbilling.org" limit 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-03-06 10:53:55.792790 35.33% [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 = '13054472817' OR number = '1305447281' OR number = '130544728' OR number = '13054472' OR number = '1305447' OR number = '130544' OR number = '13054' OR number = '1305' OR number = '130' OR number = '13' OR number = '1' OR number ='--') OR (number = '13054472817*' OR number = '1305447281*' OR number = '130544728*' OR number = '13054472*' OR number = '1305447*' OR number = '130544*' OR number = '13054*' OR number = '1305*' OR number = '130*' OR number = '13*' OR number = '1*' OR number ='--') OR (number = '8481338745' OR number = '848133874' OR number = '84813387' OR number = '8481338' OR number = '848133' OR number = '84813' OR number = '8481' OR number = '848' OR number = '84' OR number = '8' OR number ='--') OR (number = '8481338745*' OR number = '848133874*' OR number = '84813387*' OR number = '8481338*' OR number = '848133*' OR number = '84813*' OR number = '8481*' OR number = '848*' OR number = '84*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '13054472817' OR routing_prefix = '1305447281' OR routing_prefix = '130544728' OR routing_prefix = '13054472' OR routing_prefix = '1305447' OR routing_prefix = '130544' OR routing_prefix = '13054' OR routing_prefix = '1305' OR routing_prefix = '130' OR routing_prefix = '13' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 23.2317 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 24 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 24 AND status = 0 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 24 AND status = 0 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^13054472817.*' OR pattern = '^1305447281.*' OR pattern = '^130544728.*' OR pattern = '^13054472.*' OR pattern = '^1305447.*' OR pattern = '^130544.*' OR pattern = '^13054.*' OR pattern = '^1305.*' OR pattern = '^130.*' OR pattern = '^13.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^8481338745.*' OR caller_id_pattern = '^848133874.*' OR caller_id_pattern = '^84813387.*' OR caller_id_pattern = '^8481338.*' OR caller_id_pattern = '^848133.*' OR caller_id_pattern = '^84813.*' OR caller_id_pattern = '^8481.*' OR caller_id_pattern = '^848.*' OR caller_id_pattern = '^84.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 24 OR accountid=2) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.1000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:24 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '24' and status=0 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.1000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 21 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 1,1,1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:21|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1000000000|INC:1|INITIALBLOCK:1|RATEGROUP:24|MARKUP:0|CI:0|ACCID:2!!! 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your23.2317 balance Accountid 2 !!! 2024-03-06 10:53:55.792790 35.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 2 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.1000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.0000000000 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1 2024-03-06 10:53:55.792790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=24 ORDER by id asc 2024-03-06 10:53:55.792790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^13054472817.*' OR pattern = '^1305447281.*' OR pattern = '^130544728.*' OR pattern = '^13054472.*' OR pattern = '^1305447.*' OR pattern = '^130544.*' OR pattern = '^13054.*' OR pattern = '^1305.*' OR pattern = '^130.*' OR pattern = '^13.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (25) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 43 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 25 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TestD 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-03-06 10:53:55.812790 35.33% [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 = 2 AND status=0 LIMIT 1 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '8481338745' and status = 0 limit 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-03-06 10:53:55.812790 35.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 24 AND status = 0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 25) AND status=0 limit 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"972/454566788899/*/*".....8481338745DBCLI13054472817 2024-03-06 10:53:55.812790 35.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 8481338745DBCLI13054472817 2024-03-06 10:53:55.812790 35.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 8481338745 2024-03-06 10:53:55.812790 35.33% [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="8481338745" AND domains.domain="demov6.astppbilling.org" limit 1 2024-03-06 10:53:55.812790 35.33% [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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="13054472817" LIMIT 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN : 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Enable/Disable:0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0 2024-03-06 10:53:55.812790 35.33% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 1 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] Query :Select count(*) as count from dids where number='8481338745' and status=0 and accountid =2 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COUNT: 0 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [return_flag_outbound_attestation]: B 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/8481338745@demov6.astppbilling.org parsing [default->13054472817] continue=false Dialplan: sofia/default/8481338745@demov6.astppbilling.org Regex (PASS) [13054472817] destination_number(13054472817) =~ /13054472817/ break=on-false Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(effective_destination_number=13054472817) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(type=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(nibble_account=2) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(nibble_rate=0.1000000000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(nibble_minimum=0.0000000000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(nibble_increment=30) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action nibblebill(heartbeat 30) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(callstart=2024-03-06 10:53:55) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(hangup_after_bridge=true) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(continue_on_fail=TRUE) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(account_id=2) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(parent_id=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(entity_id=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(call_processed=internal) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(call_direction=outbound) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(accountname=Rising) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(origination_rates=SHADOWBILLING:0|ID:21|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1000000000|INC:1|INITIALBLOCK:1|RATEGROUP:24|MARKUP:0|CI:0|ACCID:2) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(original_caller_id_name=Teste) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(original_caller_id_number=8481338745) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action limit(db 4727985745 user_4727985745 1 ) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(is_recording=1) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(media_bug_answer_req=true) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(RECORD_STEREO=true) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(record_sample_rate=8000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(effective_caller_id_name=Teste) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(effective_caller_id_number=8481338745) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(calltype=STANDARD) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(termination_rates=ID:43|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:25|PROVIDER:3) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(trunk_id=25) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(provider_id=3) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(rate_flag=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(quality_trunk_seq=25) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(force_trunk_flag=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(presence_data=trunk_id=25) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(intcall=0) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(presence_id=13054472817) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(presence_data=x|||Inextrix(4727985745)|||^1.* // // 0.1000000000 |||Test Rising // ^1.* // // 0.0000000000 // trunk_id=25|||STD|||189.56.44.140) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Verified) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Verified) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(stir_status=2) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action set(sip_stir_shaken_attest=B) Dialplan: sofia/default/8481338745@demov6.astppbilling.org Action bridge({leg_timeout=0,sip_stir_shaken_attest=B}[leg_timeout=0]sofia/gateway/TestD/13054472817) 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8481338745@demov6.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8481338745@demov6.astppbilling.org) State ROUTING going to sleep 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 24765) 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8481338745@demov6.astppbilling.org) State EXECUTE 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_sofia.c:213 sofia/default/8481338745@demov6.astppbilling.org SOFIA EXECUTE 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/8481338745@demov6.astppbilling.org Standard EXECUTE EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(effective_destination_number=13054472817) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [effective_destination_number]=[13054472817] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(type=0) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [type]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(nibble_account=2) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [nibble_account]=[2] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(nibble_rate=0.1000000000) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [nibble_rate]=[0.1000000000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(nibble_minimum=0.0000000000) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [nibble_minimum]=[0.0000000000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(nibble_increment=30) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [nibble_increment]=[30] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org nibblebill(heartbeat 30) 2024-03-06 10:53:55.812790 35.33% [WARNING] switch_core_session.c:1684 sofia/default/8481338745@demov6.astppbilling.org using scheduler due to bypass media or media is not established. 2024-03-06 10:53:55.812790 35.33% [DEBUG] switch_scheduler.c:263 Added task 268 switch_core_session_sched_heartbeat (a26f9e9d-2193-4846-9ef8-d4b3be04e7b5) to run at 1709722465 EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(callstart=2024-03-06 10:53:55) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [callstart]=[2024-03-06 10:53:55] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(hangup_after_bridge=true) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(continue_on_fail=TRUE) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(account_id=2) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [account_id]=[2] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(parent_id=0) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [parent_id]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(entity_id=0) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [entity_id]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(call_processed=internal) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [call_processed]=[internal] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(call_direction=outbound) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(accountname=Rising) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [accountname]=[Rising] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(filename1=astpp.pbx.lua) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(origination_rates=SHADOWBILLING:0|ID:21|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1000000000|INC:1|INITIALBLOCK:1|RATEGROUP:24|MARKUP:0|CI:0|ACCID:2) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [origination_rates]=[SHADOWBILLING:0|ID:21|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1000000000|INC:1|INITIALBLOCK:1|RATEGROUP:24|MARKUP:0|CI:0|ACCID:2] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(original_caller_id_name=Teste) 2024-03-06 10:53:55.812790 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [original_caller_id_name]=[Teste] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(original_caller_id_number=8481338745) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [original_caller_id_number]=[8481338745] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org limit(db 4727985745 user_4727985745 1 ) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1 EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(is_recording=1) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(media_bug_answer_req=true) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(RECORD_STEREO=true) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(record_sample_rate=8000) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(execute_on_answer=record_session /usr/local/freeswitch/recordings/a26f9e9d-2193-4846-9ef8-d4b3be04e7b5.wav) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/a26f9e9d-2193-4846-9ef8-d4b3be04e7b5.wav] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(effective_caller_id_name=Teste) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [effective_caller_id_name]=[Teste] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(effective_caller_id_number=8481338745) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [effective_caller_id_number]=[8481338745] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(calltype=STANDARD) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(termination_rates=ID:43|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:25|PROVIDER:3) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [termination_rates]=[ID:43|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:25|PROVIDER:3] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(trunk_id=25) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [trunk_id]=[25] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(provider_id=3) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [provider_id]=[3] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(rate_flag=0) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [rate_flag]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(daily_call_credit_limit=0.00000) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(monthly_call_credit_limit=0.00000) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(daily_call_used_limit=0.00000) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(monthly_call_used_limit=0.00000) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(quality_trunk_seq=25) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [quality_trunk_seq]=[25] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(force_trunk_flag=0) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(presence_data=trunk_id=25) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=25] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(intcall=0) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [intcall]=[0] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(presence_id=13054472817) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[13054472817] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(presence_data=x|||Inextrix(4727985745)|||^1.* // // 0.1000000000 |||Test Rising // ^1.* // // 0.0000000000 // trunk_id=25|||STD|||189.56.44.140) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Inextrix(4727985745)|||^1.* // // 0.1000000000 |||Test Rising // ^1.* // // 0.0000000000 // trunk_id=25|||STD|||189.56.44.140] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(sip_h_X-ASTPP-Stir-Verification=Not Verified) 2024-03-06 10:53:55.832799 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [sip_h_X-ASTPP-Stir-Verification]=[Not Verified] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org export(sip_h_X-ASTPP-Stir-Verification=Not Verified) 2024-03-06 10:53:55.832799 35.33% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_h_X-ASTPP-Stir-Verification]=[Not Verified] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(stir_status=2) 2024-03-06 10:53:55.852797 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [stir_status]=[2] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org set(sip_stir_shaken_attest=B) 2024-03-06 10:53:55.852797 35.33% [DEBUG] mod_dptools.c:1671 SET sofia/default/8481338745@demov6.astppbilling.org [sip_stir_shaken_attest]=[B] EXECUTE [depth=0] sofia/default/8481338745@demov6.astppbilling.org bridge({leg_timeout=0,sip_stir_shaken_attest=B}[leg_timeout=0]sofia/gateway/TestD/13054472817) 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/a26f9e9d-2193-4846-9ef8-d4b3be04e7b5.wav] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Inextrix(4727985745)|||^1.* // // 0.1000000000 |||Test Rising // ^1.* // // 0.0000000000 // trunk_id=25|||STD|||189.56.44.140] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [presence_id]=[13054472817] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Inextrix(4727985745)|||^1.* // // 0.1000000000 |||Test Rising // ^1.* // // 0.0000000000 // trunk_id=25|||STD|||189.56.44.140] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_channel.c:1288 sofia/default/8481338745@demov6.astppbilling.org EXPORTING[export_vars] [sip_h_X-ASTPP-Stir-Verification]=[Not Verified] to event 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-03-06 10:53:55.852797 35.33% [NOTICE] switch_channel.c:1142 New Channel sofia/default/13054472817 [62e9984d-25b5-4261-acc2-aba1d7163ed2] 2024-03-06 10:53:55.852797 35.33% [DEBUG] mod_sofia.c:5110 (sofia/default/13054472817) State Change CS_NEW -> CS_INIT 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/13054472817) Running State Change CS_INIT (Cur 2 Tot 24766) 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/13054472817) State INIT 2024-03-06 10:53:55.852797 35.33% [DEBUG] mod_sofia.c:97 sofia/default/13054472817 SOFIA INIT 2024-03-06 10:53:55.852797 35.33% [INFO] sofia_glue.c:1659 sofia/default/13054472817 sending invite call-id: (null) 2024-03-06 10:53:55.852797 35.33% [DEBUG] sofia_glue.c:1662 sofia/default/13054472817 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1709695071 1709695072 IN IP4 65.108.61.118 s=FreeSWITCH c=IN IP4 65.108.61.118 t=0 0 m=audio 27364 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/13054472817 Standard INIT 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/13054472817) State Change CS_INIT -> CS_ROUTING 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/13054472817) State INIT going to sleep 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/13054472817) Running State Change CS_ROUTING (Cur 2 Tot 24766) 2024-03-06 10:53:55.852797 35.33% [DEBUG] sofia.c:7493 Channel sofia/default/13054472817 entering state [calling][0] 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/13054472817) State ROUTING 2024-03-06 10:53:55.852797 35.33% [DEBUG] mod_sofia.c:158 sofia/default/13054472817 SOFIA ROUTING 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/13054472817) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/13054472817) State ROUTING going to sleep 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/13054472817) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 24766) 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/13054472817) State CONSUME_MEDIA 2024-03-06 10:53:55.852797 35.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/13054472817) State CONSUME_MEDIA going to sleep 2024-03-06 10:53:56.032792 35.33% [DEBUG] sofia.c:7493 Channel sofia/default/13054472817 entering state [terminated][403] 2024-03-06 10:53:56.032792 35.33% [NOTICE] sofia.c:8735 Hangup sofia/default/13054472817 [CS_CONSUME_MEDIA] [CALL_REJECTED] 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/13054472817) Running State Change CS_HANGUP (Cur 2 Tot 24766) 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/13054472817) Callstate Change DOWN -> HANGUP 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/13054472817) State HANGUP 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_sofia.c:469 Channel sofia/default/13054472817 hanging up, cause: CALL_REJECTED 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/13054472817 Standard HANGUP, cause: CALL_REJECTED 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/13054472817) State HANGUP going to sleep 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/13054472817) State Change CS_HANGUP -> CS_REPORTING 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/13054472817) Running State Change CS_REPORTING (Cur 2 Tot 24766) 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/13054472817) State REPORTING 2024-03-06 10:53:56.032792 35.33% [INFO] mod_json_cdr.c:272 Process [62e9984d-25b5-4261-acc2-aba1d7163ed2.cdr.json] 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 21 [CALL_REJECTED] 2024-03-06 10:53:56.032792 35.33% [INFO] mod_dptools.c:3635 Originate Failed. Cause: CALL_REJECTED 2024-03-06 10:53:56.032792 35.33% [NOTICE] switch_core_state_machine.c:382 sofia/default/8481338745@demov6.astppbilling.org has executed the last dialplan instruction, hanging up. 2024-03-06 10:53:56.032792 35.33% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8481338745@demov6.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8481338745@demov6.astppbilling.org) State EXECUTE going to sleep 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 24766) 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8481338745@demov6.astppbilling.org) Callstate Change RINGING -> HANGUP 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8481338745@demov6.astppbilling.org) State HANGUP 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_sofia.c:463 sofia/default/8481338745@demov6.astppbilling.org Overriding SIP cause 480 with 403 from the other leg 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_sofia.c:469 Channel sofia/default/8481338745@demov6.astppbilling.org hanging up, cause: NORMAL_CLEARING 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 403 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1000000000 per minute to account 2 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:518 Not billing 2 - call is not in answered state 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='2'] 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2 (balance = 23.231700) 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:523 Comparing 23.231700 to hangup balance of 0.000000, taking into account minimum charge of 0.000000 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='2'] 2024-03-06 10:53:56.032792 35.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2 (balance = 23.231700) 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/8481338745@demov6.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8481338745@demov6.astppbilling.org) State HANGUP going to sleep 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8481338745@demov6.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8481338745@demov6.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 24766) 2024-03-06 10:53:56.032792 35.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8481338745@demov6.astppbilling.org) State REPORTING 2024-03-06 10:53:56.032792 35.33% [INFO] mod_json_cdr.c:272 Process [a26f9e9d-2193-4846-9ef8-d4b3be04e7b5.cdr.json]