freeswitch@gibfibre>
freeswitch@gibfibre>
2021-09-22 10:53:06.694784 [INFO] switch_stun.c:897 External ip address detected using STUN: 46.101.114.158
2021-09-22 10:53:06.854783 [INFO] switch_stun.c:897 External ip address detected using STUN: 46.101.114.158
2021-09-22 10:53:06.894796 [NOTICE] switch_loadable_module.c:1263 Deleting Application 'nibblebill'
2021-09-22 10:53:06.894796 [DEBUG] switch_loadable_module.c:1265 Write lock interface 'nibblebill' to wait for existing references.
2021-09-22 10:53:06.894796 [NOTICE] switch_loadable_module.c:1318 Deleting API Function 'nibblebill'
2021-09-22 10:53:06.894796 [DEBUG] switch_loadable_module.c:1320 Write lock interface 'nibblebill' to wait for existing references.
2021-09-22 10:53:06.894796 [CONSOLE] switch_loadable_module.c:2396 Stopping: mod_nibblebill
2021-09-22 10:53:06.914786 [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
2021-09-22 10:53:06.914786 [DEBUG] switch_event.c:2187 Event Binding deleted for mod_nibblebill:SESSION_HEARTBEAT
2021-09-22 10:53:06.914786 [CONSOLE] switch_loadable_module.c:2416 mod_nibblebill unloaded.
2021-09-22 10:53:06.914786 [INFO] mod_nibblebill.c:224 odbc_dsn is ASTPP:astppuser:AY22*VQJl6jpKmYpeMCX
2021-09-22 10:53:06.914786 [DEBUG] mod_nibblebill.c:284 dsn is "ASTPP:astppuser:AY22*VQJl6jpKmYpeMCX"
2021-09-22 10:53:06.914786 [CONSOLE] switch_loadable_module.c:1803 Successfully Loaded [mod_nibblebill]
2021-09-22 10:53:06.914786 [NOTICE] switch_loadable_module.c:350 Adding Application 'nibblebill'
2021-09-22 10:53:06.914786 [NOTICE] switch_loadable_module.c:412 Adding API Function 'nibblebill'
2021-09-22 10:53:12.494801 [NOTICE] switch_channel.c:1118 New Channel sofia/default/7177422211@18.220.27.122 [491cbcb1-cdfd-4c20-9b5d-2319d2dd6254]
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_NEW (Cur 1 Tot 314)
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10280 sofia/default/7177422211@18.220.27.122 receiving invite from 46.101.114.158:5060 version: 1.10.5 -release-17-25569c1631 64bit
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 46.101.114.158:0.
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10403 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [received][100]
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1632285925 1632285926 IN IP4 18.220.27.122
s=FreeSWITCH
c=IN IP4 18.220.27.122
t=0 0
m=audio 22066 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/7177422211@18.220.27.122 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-09-22 10:53:12.494801 [DEBUG] switch_core_codec.c:111 sofia/default/7177422211@18.220.27.122 Original read codec set to PCMA:8
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5911 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf send payload to 101 recv payload to 101
2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7760 (sofia/default/7177422211@18.220.27.122) State Change CS_NEW -> CS_INIT
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:604 (sofia/default/7177422211@18.220.27.122) State NEW
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_INIT (Cur 1 Tot 314)
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7177422211@18.220.27.122) State INIT
2021-09-22 10:53:12.494801 [DEBUG] mod_sofia.c:93 sofia/default/7177422211@18.220.27.122 SOFIA INIT
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:40 sofia/default/7177422211@18.220.27.122 Standard INIT
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7177422211@18.220.27.122) State Change CS_INIT -> CS_ROUTING
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7177422211@18.220.27.122) State INIT going to sleep
2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_ROUTING (Cur 1 Tot 314)
2021-09-22 10:53:12.494801 [DEBUG] switch_channel.c:2332 (sofia/default/7177422211@18.220.27.122) Callstate Change DOWN -> RINGING
2021-09-22 10:53:12.514788 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7177422211@18.220.27.122) State ROUTING
2021-09-22 10:53:12.514788 [DEBUG] mod_sofia.c:154 sofia/default/7177422211@18.220.27.122 SOFIA ROUTING
2021-09-22 10:53:12.514788 [DEBUG] switch_core_state_machine.c:236 sofia/default/7177422211@18.220.27.122 Standard ROUTING
2021-09-22 10:53:12.514788 [INFO] mod_dialplan_xml.c:637 Processing 7177422211 <7177422211>->990740 in context default
2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-22 10:53:12.514788 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-09-22 10:53:12.514788 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 990740
2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990740' limit 1
2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990740' AND status=0 limit 1
2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990740' and status=0 LIMIT 1
2021-09-22 10:53:12.534790 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 7177422211 / <null>
2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3348757062]
2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =990740
2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3348757062" AND deleted = 0 limit 1
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990740" AND (accountid = 0 OR status = 1) LIMIT 1
2021-09-22 10:53:12.554785 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990740.*' OR patterns = '^99074.*' OR patterns = '^9907.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="990740" AND A.accountid = '11' limit 1
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990740
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990740' OR number = '99074' OR number = '9907' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990740*' OR number = '99074*' OR number = '9907*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990740' OR routing_prefix = '99074' OR routing_prefix = '9907' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3348757062
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 5
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 57
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 990740
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 85
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 11 !!!
2021-09-22 10:53:12.594803 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 10000000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE ID 11
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE RATE 0.00000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE CONNECT COST 0.00000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INITIAL INC 0
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INC 0
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 10000000 minutes
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:0
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^990740.*' OR pattern = '^99074.*' OR pattern = '^9907.*' OR pattern = '^990.*' OR pattern = '^99.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=11) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 259775
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 1.20000
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 40
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 11 !!!
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:11
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:11
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 11 limit 1
2021-09-22 10:53:12.594803 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : gibfibre.astppbilling.org
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 10000000
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "8964328186" AND accounts.status = 0
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 11 limit 1
2021-09-22 10:53:12.594803 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : gibfibre.astppbilling.org
2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11 and status = 0 limit 1
2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186" AND domains.domain="gibfibre.astppbilling.org" limit 1
2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186" AND domains.domain="gibfibre.astppbilling.org" limit 1
2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 186
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186" AND domains.domain="gibfibre.astppbilling.org" limit 1
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="990740">
<condition field="destination_number" expression="990740">
<action application="set" data="effective_destination_number=990740"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+600000000 normal_clearing"/>
<action application="set" data="nibble_account=11"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=0"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2021-09-22 10:53:12"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=11"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11"/>
<action application="set" data="origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11"/>
<action application="set" data="original_caller_id_name=7177422211"/>
<action application="set" data="effective_caller_id_name=7177422211"/>
<action application="set" data="receiver_accid=11"/>
<action application="export" data="domain_name=gibfibre.astppbilling.org"/>
<action application="export" data="sip_to_host=gibfibre.astppbilling.org"/>
<action application="export" data="presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/8964328186/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="did_user_domain=gibfibre.astppbilling.org"/>
<action application="set" data="sip_h_X-call-type=did"/>
<action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/8964328186/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/${sofia_profile_name}/8964328186@gibfibre.astppbilling.org:5060"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination="/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination="/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination="/>
<action application="set" data="opensips_flag=0"/>
<action application="set" data="variable_sip_to_host=gibfibre.astppbilling.org"/>
<action application="set" data="opensips_domain=46.101.1.8"/>
<action application="set" data="leg_timeout=1000000"/>
<action application="set" data="userinfo_id=11"/>
<action application="set" data="sip_destination_number=8964328186"/>
<action application="set" data="did_number=8964328186"/>
<action application="set" data="user_domain=gibfibre.astppbilling.org"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination="/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination="/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination="/>
<action application="set" data="opensips_flag=0"/>
<action application="set" data="variable_sip_to_host=gibfibre.astppbilling.org"/>
<action application="set" data="opensips_domain=46.101.1.8"/>
<action application="set" data="leg_timeout=1000000"/>
<action application="set" data="userinfo_id=11"/>
<action application="set" data="sip_destination_number=8964328186"/>
<action application="set" data="destination_number=990740"/>
<action application="set" data="did_number=990740"/>
<action application="set" data="user_domain=gibfibre.astppbilling.org"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 8964328186@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=990740"/>
<action application="voicemail" data="default $${domain_name} 8964328186"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/7177422211@18.220.27.122 parsing [default->990740] continue=false
Dialplan: sofia/default/7177422211@18.220.27.122 Regex (PASS) [990740] destination_number(990740) =~ /990740/ break=on-false
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(effective_destination_number=990740)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(bridge_pre_execute_bleg_data=+600000000 normal_clearing)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_account=11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_rate=0.00000)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_increment=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/7177422211@18.220.27.122 Action nibblebill(heartbeat 10)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(callstart=2021-09-22 10:53:12)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(account_id=11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(parent_id=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(entity_id=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(call_processed=internal)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(call_direction=inbound)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(accountname=default)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(original_caller_id_name=7177422211)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(effective_caller_id_name=7177422211)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(receiver_accid=11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(domain_name=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(sip_to_host=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(call_type=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/7177422211@18.220.27.122 Action db(insert/pickup_any_group_${callgroup}/8964328186/${uuid})
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(did_user_domain=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_h_X-call-type=did)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_h_X-did-call-type=DID-LOCAL)
Dialplan: sofia/default/7177422211@18.220.27.122 Action db(insert/pickup_any_group_${callgroup}/8964328186/${uuid})
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/7177422211@18.220.27.122 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(transfer_ringback=$${hold_music})
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/7177422211@18.220.27.122 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/${sofia_profile_name}/8964328186@gibfibre.astppbilling.org:5060)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_flag=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(variable_sip_to_host=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_domain=46.101.1.8)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(leg_timeout=1000000)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(userinfo_id=11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_destination_number=8964328186)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(did_number=8964328186)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(user_domain=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_flag=1)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_destination=)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_flag=0)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(variable_sip_to_host=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_domain=46.101.1.8)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(leg_timeout=1000000)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(userinfo_id=11)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_destination_number=8964328186)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(destination_number=990740)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(did_number=990740)
Dialplan: sofia/default/7177422211@18.220.27.122 Action set(user_domain=gibfibre.astppbilling.org)
Dialplan: sofia/default/7177422211@18.220.27.122 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [990740_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/7177422211@18.220.27.122 Regex (FAIL) [990740_recur_1] ${cond(${user_data 8964328186@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/7177422211@18.220.27.122 ANTI-Action hangup(${originate_disposition})
2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:287 (sofia/default/7177422211@18.220.27.122) State Change CS_ROUTING -> CS_EXECUTE
2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7177422211@18.220.27.122) State ROUTING going to sleep
2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_EXECUTE (Cur 1 Tot 314)
2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7177422211@18.220.27.122) State EXECUTE
2021-09-22 10:53:12.654793 [DEBUG] mod_sofia.c:209 sofia/default/7177422211@18.220.27.122 SOFIA EXECUTE
2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:329 sofia/default/7177422211@18.220.27.122 Standard EXECUTE
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(effective_destination_number=990740)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [effective_destination_number]=[990740]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(bridge_pre_execute_bleg_data=+600000000 normal_clearing)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [bridge_pre_execute_bleg_data]=[+600000000 normal_clearing]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_account=11)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_account]=[11]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_rate=0.00000)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_rate]=[0.00000]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_increment=0)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_increment]=[0]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_minimum=0.00000)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_minimum]=[0.00000]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 nibblebill(heartbeat 10)
2021-09-22 10:53:12.654793 [WARNING] switch_core_session.c:1666 sofia/default/7177422211@18.220.27.122 using scheduler due to bypass media or media is not established.
2021-09-22 10:53:12.654793 [DEBUG] switch_scheduler.c:252 Added task 65 switch_core_session_sched_heartbeat (491cbcb1-cdfd-4c20-9b5d-2319d2dd6254) to run at 1632308002
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(callstart=2021-09-22 10:53:12)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [callstart]=[2021-09-22 10:53:12]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(continue_on_fail=TRUE)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(account_id=11)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [account_id]=[11]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(parent_id=0)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(entity_id=0)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(call_processed=internal)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(call_direction=inbound)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(accountname=default)
2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [accountname]=[default]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(filename1=astpp.pbx.lua)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [origination_rates_did]=[ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [origination_rates]=[ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(original_caller_id_name=7177422211)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [original_caller_id_name]=[7177422211]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(effective_caller_id_name=7177422211)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [effective_caller_id_name]=[7177422211]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(receiver_accid=11)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [receiver_accid]=[11]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(domain_name=gibfibre.astppbilling.org)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[gibfibre.astppbilling.org]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(sip_to_host=gibfibre.astppbilling.org)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[gibfibre.astppbilling.org]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(call_type=0)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(calltype=DID-LOCAL)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 db(insert/pickup_any_group_/8964328186/491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(dialed_extension=transfer_call)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(dialed_extension=transfer_call)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(did_user_domain=gibfibre.astppbilling.org)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[gibfibre.astppbilling.org]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(sip_h_X-call-type=did)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [sip_h_X-call-type]=[did]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(sip_h_X-did-call-type=DID-LOCAL)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [sip_h_X-did-call-type]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 db(insert/pickup_any_group_/8964328186/491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(dialed_extension=transfer_call)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(dialed_extension=transfer_call)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(transfer_ringback=local_stream://moh)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [transfer_ringback]=[local_stream://moh]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/default/8964328186@gibfibre.astppbilling.org:5060)
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [domain_name]=[gibfibre.astppbilling.org] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [sip_to_host]=[gibfibre.astppbilling.org] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [call_type]=[0] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [did_user_domain]=[gibfibre.astppbilling.org] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-09-22 10:53:12.674787 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 [31df61d5-f02a-4a68-8b5d-86a40bb6a468]
2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:5089 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:3111 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Setting leg timeout to 1000000
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 315)
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State INIT
2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:93 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA INIT
2021-09-22 10:53:12.674787 [DEBUG] sofia_glue.c:1618 sofia/default/8964328186@gibfibre.astppbilling.org:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1632278794 1632278795 IN IP4 46.101.114.158
s=FreeSWITCH
c=IN IP4 46.101.114.158
t=0 0
m=audio 29198 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:40 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard INIT
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State INIT going to sleep
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 315)
2021-09-22 10:53:12.674787 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [calling][0]
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State ROUTING
2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:154 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA ROUTING
2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State ROUTING going to sleep
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 315)
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State CONSUME_MEDIA
2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
2021-09-22 10:53:13.134802 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [proceeding][180]
2021-09-22 10:53:13.134802 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/8964328186@gibfibre.astppbilling.org:5060!
2021-09-22 10:53:13.134802 [DEBUG] switch_channel.c:3437 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change DOWN -> RINGING
2021-09-22 10:53:13.134802 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/7177422211@18.220.27.122!
2021-09-22 10:53:13.134802 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [early][180]
2021-09-22 10:53:13.134802 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/7177422211@18.220.27.122!
2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [completing][200]
2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=Z 0 2 IN IP4 117.247.91.162
s=Z
c=IN IP4 117.247.91.162
t=0 0
m=audio 8002 RTP/AVP 8 3 110 0 97 101
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [ready][200]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/8964328186@gibfibre.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-09-22 10:53:21.054801 [DEBUG] switch_core_codec.c:111 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Original read codec set to PCMA:8
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5911 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/8964328186@gibfibre.astppbilling.org:5060] 46.101.114.158 port 29198 -> 117.247.91.162 port 8002 codec: 8 ms: 20
2021-09-22 10:53:21.054801 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8977 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf send payload to 101
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8984 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:9007 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set rtp dtmf delay to 40
2021-09-22 10:53:21.054801 [NOTICE] sofia.c:8504 Channel [sofia/default/8964328186@gibfibre.astppbilling.org:5060] has been answered
2021-09-22 10:53:21.054801 [DEBUG] switch_channel.c:3865 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/7177422211@18.220.27.122] 46.101.114.158 port 26484 -> 18.220.27.122 port 22066 codec: 8 ms: 20
2021-09-22 10:53:21.074801 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8977 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf send payload to 101
2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8984 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf receive payload to 101
2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:9007 sofia/default/7177422211@18.220.27.122 Set rtp dtmf delay to 40
2021-09-22 10:53:21.074801 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/7177422211@18.220.27.122:
v=0
o=FreeSWITCH 1632281517 1632281518 IN IP4 46.101.114.158
s=FreeSWITCH
c=IN IP4 46.101.114.158
t=0 0
m=audio 26484 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-22 10:53:21.074801 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [completed][200]
2021-09-22 10:53:21.074801 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/7177422211@18.220.27.122] has been answered
2021-09-22 10:53:21.074801 [DEBUG] switch_channel.c:3865 (sofia/default/7177422211@18.220.27.122) Callstate Change RINGING -> ACTIVE
2021-09-22 10:53:21.074801 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/8964328186@gibfibre.astppbilling.org:5060]
2021-09-22 10:53:21.074801 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-09-22 10:53:21.074801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 315)
2021-09-22 10:53:21.074801 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State EXCHANGE_MEDIA
2021-09-22 10:53:21.074801 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-09-22 10:53:21.094813 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-09-22 10:53:21.194828 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [ready][200]
2021-09-22 10:53:21.254802 [DEBUG] switch_ivr_bridge.c:655 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Bridge execute app sched_hangup(+600000000 normal_clearing)
2021-09-22 10:53:21.274802 [DEBUG] switch_ivr.c:632 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Command Execute [depth=0] sched_hangup(+600000000 normal_clearing)
EXECUTE [depth=0] sofia/default/8964328186@gibfibre.astppbilling.org:5060 sched_hangup(+600000000 normal_clearing)
2021-09-22 10:53:21.274802 [DEBUG] switch_scheduler.c:252 Added task 66 switch_ivr_schedule_hangup (31df61d5-f02a-4a68-8b5d-86a40bb6a468) to run at 2232308001
2021-09-22 10:53:22.034818 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:53:22.274810 [INFO] mod_nibblebill.c:565 Beginning new billing on 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:573 1 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:573 11 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:573 21 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:573 31 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:53:52.294793 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:53:52.294793 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:573 41 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:54:02.294790 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:54:02.294790 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:573 51 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:573 61 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:54:31.634811 [NOTICE] sofia.c:1089 Hangup sofia/default/8964328186@gibfibre.astppbilling.org:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8964328186@gibfibre.astppbilling.org:5060]
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State EXCHANGE_MEDIA going to sleep
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 315)
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State HANGUP
2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:453 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:60 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State HANGUP going to sleep
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 315)
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State REPORTING
2021-09-22 10:54:31.634811 [INFO] mod_json_cdr.c:271 Process [31df61d5-f02a-4a68-8b5d-86a40bb6a468.cdr.json]
2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:820 sofia/default/8964328186@gibfibre.astppbilling.org:5060 ending bridge by request from write function
2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7177422211@18.220.27.122]
2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/8964328186@gibfibre.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
2021-09-22 10:54:31.634811 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/7177422211@18.220.27.122 [CS_EXECUTE] [NORMAL_CLEARING]
2021-09-22 10:54:31.634811 [DEBUG] switch_core_session.c:2905 sofia/default/7177422211@18.220.27.122 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7177422211@18.220.27.122) State EXECUTE going to sleep
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_HANGUP (Cur 2 Tot 315)
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:848 (sofia/default/7177422211@18.220.27.122) Callstate Change ACTIVE -> HANGUP
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7177422211@18.220.27.122) State HANGUP
2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:447 sofia/default/7177422211@18.220.27.122 Overriding SIP cause 480 with 200 from the other leg
2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:453 Channel sofia/default/7177422211@18.220.27.122 hanging up, cause: NORMAL_CLEARING
2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/7177422211@18.220.27.122
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:573 70 seconds passed since last bill time of 2021-09-22 10:53:21
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:174 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State REPORTING going to sleep
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
2021-09-22 10:54:31.634811 [DEBUG] switch_core_session.c:1726 Session 315 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Locked, Waiting on external entities
2021-09-22 10:54:31.634811 [NOTICE] switch_core_session.c:1744 Session 315 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Ended
2021-09-22 10:54:31.634811 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 [CS_DESTROY]
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 315)
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State DESTROY
2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:364 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA DESTROY
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:181 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard DESTROY
2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State DESTROY going to sleep
2021-09-22 10:54:31.654787 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:60 sofia/default/7177422211@18.220.27.122 Standard HANGUP, cause: NORMAL_CLEARING
2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7177422211@18.220.27.122) State HANGUP going to sleep
2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:620 (sofia/default/7177422211@18.220.27.122) State Change CS_HANGUP -> CS_REPORTING
2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_REPORTING (Cur 1 Tot 315)
2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7177422211@18.220.27.122) State REPORTING
2021-09-22 10:54:31.654787 [INFO] mod_json_cdr.c:271 Process [491cbcb1-cdfd-4c20-9b5d-2319d2dd6254.cdr.json]
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:174 sofia/default/7177422211@18.220.27.122 Standard REPORTING, cause: NORMAL_CLEARING
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7177422211@18.220.27.122) State REPORTING going to sleep
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:611 (sofia/default/7177422211@18.220.27.122) State Change CS_REPORTING -> CS_DESTROY
2021-09-22 10:54:31.674788 [DEBUG] switch_core_session.c:1726 Session 314 (sofia/default/7177422211@18.220.27.122) Locked, Waiting on external entities
2021-09-22 10:54:31.674788 [NOTICE] switch_core_session.c:1744 Session 314 (sofia/default/7177422211@18.220.27.122) Ended
2021-09-22 10:54:31.674788 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/7177422211@18.220.27.122 [CS_DESTROY]
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:739 (sofia/default/7177422211@18.220.27.122) Running State Change CS_DESTROY (Cur 0 Tot 315)
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7177422211@18.220.27.122) State DESTROY
2021-09-22 10:54:31.674788 [DEBUG] mod_sofia.c:364 sofia/default/7177422211@18.220.27.122 SOFIA DESTROY
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:181 sofia/default/7177422211@18.220.27.122 Standard DESTROY
2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7177422211@18.220.27.122) State DESTROY going to sleep
2021-09-22 10:54:31.794786 [DEBUG] switch_scheduler.c:147 Deleting task 65 switch_core_session_sched_heartbeat (491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
2021-09-22 10:54:31.794786 [DEBUG] switch_scheduler.c:147 Deleting task 66 switch_ivr_schedule_hangup (31df61d5-f02a-4a68-8b5d-86a40bb6a468)
freeswitch@gibfibre>