Type /help <enter> to see a list of commands
+OK log level [7]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-16 07:36:31.666808 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100000@142.132.184.134:5072 [42e1cdf4-7053-43d0-8d69-12f27c000cde]
2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:5121 (sofia/default/100000@142.132.184.134:5072) State Change CS_NEW -> CS_INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_INIT (Cur 1 Tot 68)
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134:5072) State INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:97 sofia/default/100000@142.132.184.134:5072 SOFIA INIT
2022-09-16 07:36:31.666808 84.00% [INFO] sofia_glue.c:1651 sofia/default/100000@142.132.184.134:5072 sending invite call-id: (null)
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia_glue.c:1654 sofia/default/100000@142.132.184.134:5072 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1663283275 1663283276 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 30516 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/100000@142.132.184.134:5072 Standard INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100000@142.132.184.134:5072) State Change CS_INIT -> CS_ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134:5072) State INIT going to sleep
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_ROUTING (Cur 1 Tot 68)
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134:5072 SOFIA ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100000@142.132.184.134:5072) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING going to sleep
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 68)
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100000@142.132.184.134:5072) State CONSUME_MEDIA
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100000@142.132.184.134:5072) State CONSUME_MEDIA going to sleep
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [calling][0]
2022-09-16 07:36:31.666808 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100000@142.132.184.134 [efa2b078-7666-473d-a6d5-50aab8d1b854]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_NEW (Cur 2 Tot 69)
2022-09-16 07:36:31.666808 84.00% [INFO] sofia.c:10462 sofia/default/100000@142.132.184.134 receiving invite from 142.132.184.134:5072 version: 1.10.7 -release 64bit call-id: 2002c53f-b035-123b-87b4-9600013c8d14
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:10585 IP 142.132.184.134 Approved by acl "default[]". Access Granted.
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [received][100]
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1663283275 1663283276 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 30516 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100000@142.132.184.134 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_codec.c:111 sofia/default/100000@142.132.184.134 Original read codec set to PCMA:8
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_media.c:5973 sofia/default/100000@142.132.184.134 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-16 07:36:31.666808 84.00% [DEBUG] sofia.c:7933 (sofia/default/100000@142.132.184.134) State Change CS_NEW -> CS_INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100000@142.132.184.134) State NEW
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_INIT (Cur 2 Tot 69)
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134) State INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:97 sofia/default/100000@142.132.184.134 SOFIA INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/100000@142.132.184.134 Standard INIT
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100000@142.132.184.134) State Change CS_INIT -> CS_ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100000@142.132.184.134) State INIT going to sleep
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_ROUTING (Cur 2 Tot 69)
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_channel.c:2380 (sofia/default/100000@142.132.184.134) Callstate Change DOWN -> RINGING
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134) State ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134 SOFIA ROUTING
2022-09-16 07:36:31.666808 84.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/100000@142.132.184.134 Standard ROUTING
2022-09-16 07:36:31.666808 84.00% [INFO] mod_dialplan_xml.c:639 Processing 40 <100000>->100000 in context default
2022-09-16 07:36:31.686804 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-09-16 07:36:31.686804 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 11222222222222
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 11222222222222
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '11222222222222' limit 1
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '11222222222222' and status=0 LIMIT 1
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '11222222222222' limit 1
2022-09-16 07:36:31.706817 84.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 40 / 100000
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 22222222
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 112222 AND status=0 limit 1
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-09-16 07:36:31.706817 84.00% [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="11222222222222" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-09-16 07:36:31.706817 84.00% [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("142.132.184.134") 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 "11222222222222" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 993088]
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =11222222222222
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993088" AND deleted = 0 limit 1
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 203 limit 1
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2022-09-16 07:36:31.706817 84.00% [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 = '^11222222222222.*' OR patterns = '^1122222222222.*' OR patterns = '^112222222222.*' OR patterns = '^11222222222.*' OR patterns = '^1122222222.*' OR patterns = '^112222222.*' OR patterns = '^11222222.*' OR patterns = '^1122222.*' OR patterns = '^112222.*' OR patterns = '^11222.*' OR patterns = '^1122.*' OR patterns = '^112.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 203 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-16 07:36:31.706817 84.00% [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 ="11222222222222" AND A.accountid = '203' limit 1
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 11222222222222
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-09-16 07:36:31.706817 84.00% [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="11222222222222" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-09-16 07:36:31.706817 84.00% [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 = '11222222222222' OR number = '1122222222222' OR number = '112222222222' OR number = '11222222222' OR number = '1122222222' OR number = '112222222' OR number = '11222222' OR number = '1122222' OR number = '112222' OR number = '11222' OR number = '1122' OR number = '112' OR number = '11' OR number = '1' OR number ='--') OR (number = '11222222222222*' OR number = '1122222222222*' OR number = '112222222222*' OR number = '11222222222*' OR number = '1122222222*' OR number = '112222222*' OR number = '11222222*' OR number = '1122222*' OR number = '112222*' OR number = '11222*' OR number = '1122*' OR number = '112*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '11222222222222' OR routing_prefix = '1122222222222' OR routing_prefix = '112222222222' OR routing_prefix = '11222222222' OR routing_prefix = '1122222222' OR routing_prefix = '112222222' OR routing_prefix = '11222222' OR routing_prefix = '1122222' OR routing_prefix = '112222' OR routing_prefix = '11222' OR routing_prefix = '1122' OR routing_prefix = '112' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 31 limit 1
2022-09-16 07:36:31.706817 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (11222222222222)!!!!
2022-09-16 07:36:31.706817 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (11222222222222)!!!!
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 203
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 993088
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9974.104
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 41
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-09-16 07:36:31.706817 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
2022-09-16 07:36:31.706817 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 41 OR accountid=203) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.90000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:41
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '41' and status=0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.90000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34847
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.90000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QAA-Oman
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 145
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 203
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203!!!
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9974.104 balance Accountid 203 !!!
2022-09-16 07:36:31.726794 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
2022-09-16 07:36:31.726794 84.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 31
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 31 limit 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 31
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 814162
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49.304
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 57 OR accountid=31) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '57' and status=0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34873
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : COMMUNITY DESTINATION
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 31
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31!!!
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49.304 balance Accountid 31 !!!
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 82.173333333333 minutes
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=57 ORDER by id asc
2022-09-16 07:36:31.726794 84.00% [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 = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (53,99) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : COMMUNITY DESTINATION
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 53
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : COMMUNITYPKGATEWAY
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QAAA-SEND-ON-CLICK
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 99
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-16 07:36:31.726794 84.00% [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 = 203 AND status=0 LIMIT 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 82.173333333333
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-09-16 07:36:31.726794 84.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:31.726794 84.00% [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 = 227) AND status=0 limit 1
2022-09-16 07:36:31.726794 84.00% [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 = 53) AND status=0 limit 1
2022-09-16 07:36:31.726794 84.00% [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="100000" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:31.726794 84.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:31.726794 84.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:31.726794 84.00% [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 = 227) AND status=0 limit 1
2022-09-16 07:36:31.726794 84.00% [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 = 99) AND status=0 limit 1
2022-09-16 07:36:31.726794 84.00% [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="100000" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:31.726794 84.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:31.726794 84.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_cpp.cpp:1465 [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="11222222222222">
<condition field="destination_number" expression="100000">
<action application="set" data="effective_destination_number=11222222222222"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+4930.4 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=12.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-09-16 07:36:31"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=203"/>
<action application="set" data="parent_id=31"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=QAA"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31"/>
<action application="set" data="original_caller_id_name=40"/>
<action application="set" data="original_caller_id_number=100000"/>
<action application="limit" data="db 993088 user_993088 12 "/>
<action application="set" data="effective_caller_id_name=40"/>
<action application="set" data="effective_caller_id_number=100000"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227"/>
<action application="set" data="trunk_id=53"/>
<action application="set" data="provider_id=227"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="quality_trunk_seq=53,99"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=53"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=11222222222222"/>
<action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222"/>
<action application="set" data="effective_caller_id_name=40"/>
<action application="set" data="effective_caller_id_number=100000"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227"/>
<action application="set" data="trunk_id=99"/>
<action application="set" data="provider_id=227"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="quality_trunk_seq=53,99"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=99"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=11222222222222"/>
<action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/100000@142.132.184.134 parsing [default->11222222222222] continue=false
Dialplan: sofia/default/100000@142.132.184.134 Regex (PASS) [11222222222222] destination_number(100000) =~ /100000/ break=on-false
Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_destination_number=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/100000@142.132.184.134 Action set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
Dialplan: sofia/default/100000@142.132.184.134 Action set(notify_flag=0)
Dialplan: sofia/default/100000@142.132.184.134 Action set(notify_credit_limit=12.00000)
Dialplan: sofia/default/100000@142.132.184.134 Action set(type=0)
Dialplan: sofia/default/100000@142.132.184.134 Action set(callstart=2022-09-16 07:36:31)
Dialplan: sofia/default/100000@142.132.184.134 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/100000@142.132.184.134 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/100000@142.132.184.134 Action set(account_id=203)
Dialplan: sofia/default/100000@142.132.184.134 Action set(parent_id=31)
Dialplan: sofia/default/100000@142.132.184.134 Action set(entity_id=0)
Dialplan: sofia/default/100000@142.132.184.134 Action set(call_processed=internal)
Dialplan: sofia/default/100000@142.132.184.134 Action set(call_direction=outbound)
Dialplan: sofia/default/100000@142.132.184.134 Action set(accountname=QAA)
Dialplan: sofia/default/100000@142.132.184.134 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/100000@142.132.184.134 Action set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
Dialplan: sofia/default/100000@142.132.184.134 Action set(original_caller_id_name=40)
Dialplan: sofia/default/100000@142.132.184.134 Action set(original_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134 Action limit(db 993088 user_993088 12 )
Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_name=40)
Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134 Action set(calltype=STANDARD)
Dialplan: sofia/default/100000@142.132.184.134 Action set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
Dialplan: sofia/default/100000@142.132.184.134 Action set(trunk_id=53)
Dialplan: sofia/default/100000@142.132.184.134 Action set(provider_id=227)
Dialplan: sofia/default/100000@142.132.184.134 Action set(rate_flag=0)
Dialplan: sofia/default/100000@142.132.184.134 Action set(quality_trunk_seq=53,99)
Dialplan: sofia/default/100000@142.132.184.134 Action set(force_trunk_flag=0)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=trunk_id=53)
Dialplan: sofia/default/100000@142.132.184.134 Action set(intcall=0)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_id=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222)
Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_name=40)
Dialplan: sofia/default/100000@142.132.184.134 Action set(effective_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134 Action set(calltype=STANDARD)
Dialplan: sofia/default/100000@142.132.184.134 Action set(termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227)
Dialplan: sofia/default/100000@142.132.184.134 Action set(trunk_id=99)
Dialplan: sofia/default/100000@142.132.184.134 Action set(provider_id=227)
Dialplan: sofia/default/100000@142.132.184.134 Action set(rate_flag=0)
Dialplan: sofia/default/100000@142.132.184.134 Action set(quality_trunk_seq=53,99)
Dialplan: sofia/default/100000@142.132.184.134 Action set(force_trunk_flag=0)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=trunk_id=99)
Dialplan: sofia/default/100000@142.132.184.134 Action set(intcall=0)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_id=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
Dialplan: sofia/default/100000@142.132.184.134 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222)
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100000@142.132.184.134) State Change CS_ROUTING -> CS_EXECUTE
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134) State ROUTING going to sleep
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_EXECUTE (Cur 2 Tot 69)
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134) State EXECUTE
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_sofia.c:213 sofia/default/100000@142.132.184.134 SOFIA EXECUTE
2022-09-16 07:36:31.726794 84.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/100000@142.132.184.134 Standard EXECUTE
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_destination_number=11222222222222)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_destination_number]=[11222222222222]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [bridge_pre_execute_bleg_data]=[+4930.4 normal_clearing]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(notify_flag=0)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(notify_credit_limit=12.00000)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [notify_credit_limit]=[12.00000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(type=0)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [type]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(callstart=2022-09-16 07:36:31)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [callstart]=[2022-09-16 07:36:31]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(hangup_after_bridge=true)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(continue_on_fail=TRUE)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(account_id=203)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [account_id]=[203]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(parent_id=31)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [parent_id]=[31]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(entity_id=0)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(call_processed=internal)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(call_direction=outbound)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(accountname=QAA)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [accountname]=[QAA]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(filename1=astpp.pbx.lua)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
2022-09-16 07:36:31.726794 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [origination_rates]=[SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(original_caller_id_name=40)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [original_caller_id_name]=[40]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(original_caller_id_number=100000)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [original_caller_id_number]=[100000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 limit(db 993088 user_993088 12 )
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_limit.c:124 incr called: 993088_user_993088 max:12, interval:0
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_db.c:194 Usage for 993088_user_993088 is now 1/12
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_caller_id_name=40)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_caller_id_name]=[40]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(effective_caller_id_number=100000)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [effective_caller_id_number]=[100000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(calltype=STANDARD)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [termination_rates]=[ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(trunk_id=53)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [trunk_id]=[53]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(provider_id=227)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [provider_id]=[227]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(rate_flag=0)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(quality_trunk_seq=53,99)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [quality_trunk_seq]=[53,99]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(force_trunk_flag=0)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_data=trunk_id=53)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=53]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 set(intcall=0)
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134 [intcall]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_id=11222222222222)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[11222222222222]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134 bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_id]=[11222222222222] to event
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-09-16 07:36:31.746822 84.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/11222222222222 [12f016ba-f5cd-4590-a14d-f90a745aeec0]
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:5121 (sofia/default/11222222222222) State Change CS_NEW -> CS_INIT
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:3151 sofia/default/11222222222222 Setting leg timeout to 33
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_INIT (Cur 3 Tot 70)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:97 sofia/default/11222222222222 SOFIA INIT
2022-09-16 07:36:31.746822 84.00% [INFO] sofia_glue.c:1651 sofia/default/11222222222222 sending invite call-id: (null)
2022-09-16 07:36:31.746822 84.00% [DEBUG] sofia_glue.c:1654 sofia/default/11222222222222 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1663286631 1663286632 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 27160 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/11222222222222 Standard INIT
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/11222222222222) State Change CS_INIT -> CS_ROUTING
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT going to sleep
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_ROUTING (Cur 3 Tot 70)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING
2022-09-16 07:36:31.746822 84.00% [DEBUG] mod_sofia.c:158 sofia/default/11222222222222 SOFIA ROUTING
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/11222222222222) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING going to sleep
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 70)
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA
2022-09-16 07:36:31.746822 84.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA going to sleep
2022-09-16 07:36:31.746822 84.00% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [calling][0]
2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [completing][200]
2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1663290730 1663290731 IN IP4 13.127.224.72
s=FreeSWITCH
c=IN IP4 13.127.224.72
t=0 0
m=audio 23062 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-16 07:36:32.126804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [ready][200]
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/11222222222222 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/11222222222222 Original read codec set to PCMA:8
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/11222222222222 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/11222222222222] 142.132.184.134 port 27160 -> 13.127.224.72 port 23062 codec: 8 ms: 20
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/11222222222222 Set 2833 dtmf send payload to 101
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/11222222222222 Set 2833 dtmf receive payload to 101
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/11222222222222 Set rtp dtmf delay to 40
2022-09-16 07:36:32.126804 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/11222222222222] has been answered
2022-09-16 07:36:32.126804 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/11222222222222) Callstate Change DOWN -> ACTIVE
2022-09-16 07:36:32.146801 83.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100000@142.132.184.134] 142.132.184.134 port 27678 -> 142.132.184.134 port 30516 codec: 8 ms: 20
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/100000@142.132.184.134 Set 2833 dtmf send payload to 101
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/100000@142.132.184.134 Set 2833 dtmf receive payload to 101
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/100000@142.132.184.134 Set rtp dtmf delay to 40
2022-09-16 07:36:32.146801 83.80% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/100000@142.132.184.134:
v=0
o=FreeSWITCH 1663286114 1663286115 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 27678 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-16 07:36:32.146801 83.80% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/100000@142.132.184.134] has been answered
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/100000@142.132.184.134) Callstate Change RINGING -> ACTIVE
2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [completed][200]
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/11222222222222] Peer UUID: 12f016ba-f5cd-4590-a14d-f90a745aeec0
2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [completing][200]
2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1663286114 1663286115 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 27678 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134:5072 entering state [ready][200]
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.146801 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/100000@142.132.184.134 entering state [ready][200]
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100000@142.132.184.134:5072 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/100000@142.132.184.134:5072 Original read codec set to PCMA:8
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100000@142.132.184.134:5072] 142.132.184.134 port 30516 -> 142.132.184.134 port 27678 codec: 8 ms: 20
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/11222222222222) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 70)
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA
2022-09-16 07:36:32.146801 83.80% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf send payload to 101
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/100000@142.132.184.134:5072 Set 2833 dtmf receive payload to 101
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/100000@142.132.184.134:5072 Set rtp dtmf delay to 40
2022-09-16 07:36:32.146801 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/100000@142.132.184.134:5072] has been answered
2022-09-16 07:36:32.146801 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/100000@142.132.184.134:5072) Callstate Change DOWN -> ACTIVE
2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100000@142.132.184.134:5072] Peer UUID: 42e1cdf4-7053-43d0-8d69-12f27c000cde
2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_ivr.c:2289 (sofia/default/100000@142.132.184.134:5072) State Change CS_CONSUME_MEDIA -> CS_ROUTING
2022-09-16 07:36:32.166820 83.80% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/100000@142.132.184.134:5072 to xml[CLICKTOCALL@public]
2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_ROUTING (Cur 3 Tot 70)
2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING
2022-09-16 07:36:32.166820 83.80% [DEBUG] mod_sofia.c:158 sofia/default/100000@142.132.184.134:5072 SOFIA ROUTING
2022-09-16 07:36:32.166820 83.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/100000@142.132.184.134:5072 Standard ROUTING
2022-09-16 07:36:32.166820 83.80% [INFO] mod_dialplan_xml.c:639 Processing 40 <100000>->CLICKTOCALL in context public
2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 11222222222222
2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-09-16 07:36:32.186812 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 11222222222222
2022-09-16 07:36:32.186812 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '11222222222222' limit 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '11222222222222' and status=0 LIMIT 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER100000
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '11222222222222' limit 1
2022-09-16 07:36:32.206805 83.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : / 100000
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 22222222
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 112222 AND status=0 limit 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-09-16 07:36:32.206805 83.80% [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="11222222222222" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-09-16 07:36:32.206805 83.80% [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("142.132.184.134") 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 "11222222222222" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 993088]
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =11222222222222
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993088" AND deleted = 0 limit 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 203 limit 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2022-09-16 07:36:32.206805 83.80% [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 = '^11222222222222.*' OR patterns = '^1122222222222.*' OR patterns = '^112222222222.*' OR patterns = '^11222222222.*' OR patterns = '^1122222222.*' OR patterns = '^112222222.*' OR patterns = '^11222222.*' OR patterns = '^1122222.*' OR patterns = '^112222.*' OR patterns = '^11222.*' OR patterns = '^1122.*' OR patterns = '^112.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 203 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-16 07:36:32.206805 83.80% [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 ="11222222222222" AND A.accountid = '203' limit 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 11222222222222
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-09-16 07:36:32.206805 83.80% [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="11222222222222" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-09-16 07:36:32.206805 83.80% [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 = '11222222222222' OR number = '1122222222222' OR number = '112222222222' OR number = '11222222222' OR number = '1122222222' OR number = '112222222' OR number = '11222222' OR number = '1122222' OR number = '112222' OR number = '11222' OR number = '1122' OR number = '112' OR number = '11' OR number = '1' OR number ='--') OR (number = '11222222222222*' OR number = '1122222222222*' OR number = '112222222222*' OR number = '11222222222*' OR number = '1122222222*' OR number = '112222222*' OR number = '11222222*' OR number = '1122222*' OR number = '112222*' OR number = '11222*' OR number = '1122*' OR number = '112*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '11222222222222' OR routing_prefix = '1122222222222' OR routing_prefix = '112222222222' OR routing_prefix = '11222222222' OR routing_prefix = '1122222222' OR routing_prefix = '112222222' OR routing_prefix = '11222222' OR routing_prefix = '1122222' OR routing_prefix = '112222' OR routing_prefix = '11222' OR routing_prefix = '1122' OR routing_prefix = '112' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 31 limit 1
2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (11222222222222)!!!!
2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (11222222222222)!!!!
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 203
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 993088
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9974.104
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 41
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::41
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 41 OR accountid=203) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.90000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:41
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '41' and status=0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.90000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34847
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.90000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QAA-Oman
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 145
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 203
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203!!!
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9974.104 balance Accountid 203 !!!
2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
2022-09-16 07:36:32.206805 83.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 31
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "31" AND deleted = 0 limit 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^11222222222222.*' OR blocked_patterns = '^1122222222222.*' OR blocked_patterns = '^112222222222.*' OR blocked_patterns = '^11222222222.*' OR blocked_patterns = '^1122222222.*' OR blocked_patterns = '^112222222.*' OR blocked_patterns = '^11222222.*' OR blocked_patterns = '^1122222.*' OR blocked_patterns = '^112222.*' OR blocked_patterns = '^11222.*' OR blocked_patterns = '^1122.*' OR blocked_patterns = '^112.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 31 limit 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 31
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 814162
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49.304
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 57
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^100000.*' OR caller_id_pattern = '^10000.*' OR caller_id_pattern = '^1000.*' OR caller_id_pattern = '^100.*' OR caller_id_pattern = '^10.*' OR caller_id_pattern = '^1.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 57 OR accountid=31) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:57
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '57' and status=0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 34873
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : COMMUNITY DESTINATION
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 31
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31!!!
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49.304 balance Accountid 31 !!!
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 82.173333333333 minutes
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=57 ORDER by id asc
2022-09-16 07:36:32.206805 83.80% [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 = '^11222222222222.*' OR pattern = '^1122222222222.*' OR pattern = '^112222222222.*' OR pattern = '^11222222222.*' OR pattern = '^1122222222.*' OR pattern = '^112222222.*' OR pattern = '^11222222.*' OR pattern = '^1122222.*' OR pattern = '^112222.*' OR pattern = '^11222.*' OR pattern = '^1122.*' OR pattern = '^112.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (53,99) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : COMMUNITY DESTINATION
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 53
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : COMMUNITYPKGATEWAY
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : YourProvider
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 9
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QAAA-SEND-ON-CLICK
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 99
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 227
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-16 07:36:32.206805 83.80% [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 = 203 AND status=0 LIMIT 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 82.173333333333
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-09-16 07:36:32.206805 83.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:32.206805 83.80% [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 = 227) AND status=0 limit 1
2022-09-16 07:36:32.206805 83.80% [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 = 53) AND status=0 limit 1
2022-09-16 07:36:32.206805 83.80% [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="100000" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:32.206805 83.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:32.206805 83.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-09-16 07:36:32.206805 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::57
2022-09-16 07:36:32.206805 83.80% [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 = 227) AND status=0 limit 1
2022-09-16 07:36:32.206805 83.80% [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 = 99) AND status=0 limit 1
2022-09-16 07:36:32.206805 83.80% [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="100000" AND domains.domain="142.132.184.134" limit 1
2022-09-16 07:36:32.226804 83.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:32.226804 83.80% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100000" LIMIT 1
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_cpp.cpp:1465 [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="public">
<extension name="11222222222222">
<condition field="destination_number" expression="CLICKTOCALL">
<action application="set" data="effective_destination_number=11222222222222"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+4930.4 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=12.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-09-16 07:36:32"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=203"/>
<action application="set" data="parent_id=31"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=QAA"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31"/>
<action application="set" data="original_caller_id_number=100000"/>
<action application="limit" data="db 993088 user_993088 12 "/>
<action application="set" data="effective_caller_id_number=100000"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227"/>
<action application="set" data="trunk_id=53"/>
<action application="set" data="provider_id=227"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="quality_trunk_seq=53,99"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=53"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=11222222222222"/>
<action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222"/>
<action application="set" data="effective_caller_id_number=100000"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227"/>
<action application="set" data="trunk_id=99"/>
<action application="set" data="provider_id=227"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="quality_trunk_seq=53,99"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=99"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=11222222222222"/>
<action application="export" data="presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/100000@142.132.184.134:5072 parsing [public->11222222222222] continue=false
Dialplan: sofia/default/100000@142.132.184.134:5072 Regex (PASS) [11222222222222] destination_number(CLICKTOCALL) =~ /CLICKTOCALL/ break=on-false
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_destination_number=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(notify_flag=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(notify_credit_limit=12.00000)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(type=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(callstart=2022-09-16 07:36:32)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(account_id=203)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(parent_id=31)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(entity_id=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(call_processed=internal)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(call_direction=outbound)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(accountname=QAA)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(original_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action limit(db 993088 user_993088 12 )
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(calltype=STANDARD)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(trunk_id=53)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(provider_id=227)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(rate_flag=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(quality_trunk_seq=53,99)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(force_trunk_flag=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=trunk_id=53)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(intcall=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_id=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/YourProvider/11222222222222)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(effective_caller_id_number=100000)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(calltype=STANDARD)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(termination_rates=ID:9|CODE:^1.*|DESTINATION:QAAA-SEND-ON-CLICK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.35000|INC:60|INITIALBLOCK:60|TRUNK:99|PROVIDER:227)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(trunk_id=99)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(provider_id=227)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(rate_flag=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(quality_trunk_seq=53,99)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(force_trunk_flag=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=trunk_id=99)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action set(intcall=0)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_id=11222222222222)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||PK-SENDON-CLICK // ^1.* // QAAA-SEND-ON-CLICK // 0.35000 // trunk_id=99|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
Dialplan: sofia/default/100000@142.132.184.134:5072 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/YourProvider/11222222222222)
2022-09-16 07:36:32.226804 83.80% [INFO] switch_channel.c:3270 sofia/default/100000@142.132.184.134:5072 Flipping CID from "40" <100000> to "Outbound Call" <100000>
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100000@142.132.184.134:5072) State Change CS_ROUTING -> CS_EXECUTE
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100000@142.132.184.134:5072) State ROUTING going to sleep
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_EXECUTE (Cur 3 Tot 70)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134:5072) State EXECUTE
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:213 sofia/default/100000@142.132.184.134:5072 SOFIA EXECUTE
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/100000@142.132.184.134:5072 Standard EXECUTE
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(effective_destination_number=11222222222222)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [effective_destination_number]=[11222222222222]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(bridge_pre_execute_bleg_data=+4930.4 normal_clearing)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [bridge_pre_execute_bleg_data]=[+4930.4 normal_clearing]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(notify_flag=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(notify_credit_limit=12.00000)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [notify_credit_limit]=[12.00000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(type=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [type]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(callstart=2022-09-16 07:36:32)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [callstart]=[2022-09-16 07:36:32]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(hangup_after_bridge=true)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(continue_on_fail=TRUE)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(account_id=203)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [account_id]=[203]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(parent_id=31)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [parent_id]=[31]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(entity_id=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(call_processed=internal)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(call_direction=outbound)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(accountname=QAA)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [accountname]=[QAA]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(filename1=astpp.pbx.lua)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(origination_rates=SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [origination_rates]=[SHADOWBILLING:0|ID:34847|CODE:^1.*|DESTINATION:QAA-Oman|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.90000|INC:60|INITIALBLOCK:60|RATEGROUP:41|MARKUP:0|CI:145|ACCID:203||SHADOWBILLING:0|ID:34873|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:57|MARKUP:0|CI:49|ACCID:31]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(original_caller_id_number=100000)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [original_caller_id_number]=[100000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 limit(db 993088 user_993088 12 )
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_limit.c:124 incr called: 993088_user_993088 max:12, interval:0
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_db.c:194 Usage for 993088_user_993088 is now 2/12
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(effective_caller_id_number=100000)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [effective_caller_id_number]=[100000]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(calltype=STANDARD)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(termination_rates=ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [termination_rates]=[ID:7|CODE:^1.*|DESTINATION:COMMUNITY DESTINATION|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:53|PROVIDER:227]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(trunk_id=53)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [trunk_id]=[53]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(provider_id=227)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [provider_id]=[227]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(rate_flag=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(quality_trunk_seq=53,99)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [quality_trunk_seq]=[53,99]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(force_trunk_flag=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_data=trunk_id=53)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=53]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 set(intcall=0)
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/100000@142.132.184.134:5072 [intcall]=[0]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_id=11222222222222)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[11222222222222]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 export(presence_data=x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION]
EXECUTE [depth=0] sofia/default/100000@142.132.184.134:5072 bridge({sip_cid_type=none}[leg_timeout=33]sofia/gateway/COMMUNITYPKGATEWAY/11222222222222)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1954 (sofia/default/100000@142.132.184.134:5072) Callstate Change ACTIVE -> RING_WAIT
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_id]=[11222222222222] to event
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_channel.c:1269 sofia/default/100000@142.132.184.134:5072 EXPORTING[export_vars] [presence_data]=[x//31|||PK Resellers Cust(993088)|||^1.* // QAA-Oman // 0.90000 |||COMMUNITYPK-TRINK // ^1.* // COMMUNITY DESTINATION // 0.30000 // trunk_id=53|||STD|||142.132.184.134|||0.60000 // ^1.* // COMMUNITY DESTINATION] to event
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-09-16 07:36:32.226804 83.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/11222222222222 [e060658d-40a4-4f61-820b-478d3dbddece]
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:5121 (sofia/default/11222222222222) State Change CS_NEW -> CS_INIT
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:3151 sofia/default/11222222222222 Setting leg timeout to 33
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_INIT (Cur 4 Tot 71)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:97 sofia/default/11222222222222 SOFIA INIT
2022-09-16 07:36:32.226804 83.80% [INFO] sofia_glue.c:1651 sofia/default/11222222222222 sending invite call-id: (null)
2022-09-16 07:36:32.226804 83.80% [DEBUG] sofia_glue.c:1654 sofia/default/11222222222222 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1663289610 1663289611 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 24182 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/11222222222222 Standard INIT
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/11222222222222) State Change CS_INIT -> CS_ROUTING
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/11222222222222) State INIT going to sleep
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_ROUTING (Cur 4 Tot 71)
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING
2022-09-16 07:36:32.226804 83.80% [DEBUG] mod_sofia.c:158 sofia/default/11222222222222 SOFIA ROUTING
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/11222222222222) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/11222222222222) State ROUTING going to sleep
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 71)
2022-09-16 07:36:32.226804 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [calling][0]
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA
2022-09-16 07:36:32.226804 83.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/11222222222222) State CONSUME_MEDIA going to sleep
2022-09-16 07:36:32.326806 83.80% [DEBUG] switch_ivr_bridge.c:655 sofia/default/11222222222222 Bridge execute app sched_hangup(+4930.4 normal_clearing)
2022-09-16 07:36:32.346802 83.80% [DEBUG] switch_ivr.c:632 sofia/default/11222222222222 Command Execute [depth=0] sched_hangup(+4930.4 normal_clearing)
EXECUTE [depth=0] sofia/default/11222222222222 sched_hangup(+4930.4 normal_clearing)
2022-09-16 07:36:32.346802 83.80% [DEBUG] switch_scheduler.c:263 Added task 25 switch_ivr_schedule_hangup (12f016ba-f5cd-4590-a14d-f90a745aeec0) to run at 1663318722
2022-09-16 07:36:32.586820 83.80% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-09-16 07:36:32.606812 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [completing][200]
2022-09-16 07:36:32.606812 83.80% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1663292870 1663292871 IN IP4 13.127.224.72
s=FreeSWITCH
c=IN IP4 13.127.224.72
t=0 0
m=audio 20922 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-16 07:36:32.626815 83.80% [DEBUG] sofia.c:7499 Channel sofia/default/11222222222222 entering state [ready][200]
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/11222222222222 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_codec.c:111 sofia/default/11222222222222 Original read codec set to PCMA:8
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:5973 sofia/default/11222222222222 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/11222222222222] 142.132.184.134 port 24182 -> 13.127.224.72 port 20922 codec: 8 ms: 20
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9089 sofia/default/11222222222222 Set 2833 dtmf send payload to 101
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9096 sofia/default/11222222222222 Set 2833 dtmf receive payload to 101
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_media.c:9119 sofia/default/11222222222222 Set rtp dtmf delay to 40
2022-09-16 07:36:32.626815 83.80% [NOTICE] sofia.c:8683 Channel [sofia/default/11222222222222] has been answered
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_channel.c:3950 (sofia/default/11222222222222) Callstate Change DOWN -> ACTIVE
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/11222222222222] Peer UUID: e060658d-40a4-4f61-820b-478d3dbddece
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_channel.c:2178 (sofia/default/100000@142.132.184.134:5072) Callstate Change RING_WAIT -> ACTIVE
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/11222222222222) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 71)
2022-09-16 07:36:32.626815 83.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA
2022-09-16 07:36:32.626815 83.80% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-09-16 07:36:32.646810 83.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-09-16 07:36:32.686803 83.80% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-09-16 07:36:32.726832 83.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:32.826815 83.80% [DEBUG] switch_ivr_bridge.c:655 sofia/default/11222222222222 Bridge execute app sched_hangup(+4930.4 normal_clearing)
2022-09-16 07:36:32.846805 84.07% [DEBUG] switch_ivr.c:632 sofia/default/11222222222222 Command Execute [depth=0] sched_hangup(+4930.4 normal_clearing)
EXECUTE [depth=0] sofia/default/11222222222222 sched_hangup(+4930.4 normal_clearing)
2022-09-16 07:36:32.846805 84.07% [DEBUG] switch_scheduler.c:263 Added task 26 switch_ivr_schedule_hangup (e060658d-40a4-4f61-820b-478d3dbddece) to run at 1663318722
2022-09-16 07:36:33.066804 84.07% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-09-16 07:36:33.066804 84.07% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-09-16 07:36:33.946801 84.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:34.386871 84.63% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-09-16 07:36:34.386871 84.63% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:34.866807 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:35.526816 84.87% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-09-16 07:36:35.546805 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:36.006822 84.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:36.606809 84.70% [WARNING] sofia_reg.c:3223 Can't find user [4519181496@astppqa604.astppbilling.org] from 103.240.35.46
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="4519181496" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-09-16 07:36:36.746809 84.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4519181496@astppqa604.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:37.986827 84.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4727985745@astppqa601.astppbilling.org] from ip 103.240.35.46
2022-09-16 07:36:38.146807 84.33% [WARNING] sofia_reg.c:3223 Can't find user [4727985745@astppqa601.astppbilling.org] from 103.240.35.46
You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="4727985745" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-09-16 07:36:42.326800 87.07% [NOTICE] switch_ivr.c:4403 Hangup sofia/default/11222222222222 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/11222222222222 ending bridge by request from write function
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100000@142.132.184.134]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/11222222222222 skip receive message [UNBRIDGE] (channel is hungup already)
2022-09-16 07:36:42.326800 87.07% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/100000@142.132.184.134 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_session.c:2983 sofia/default/100000@142.132.184.134 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134) State EXECUTE going to sleep
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_HANGUP (Cur 4 Tot 71)
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:826 sofia/default/11222222222222 ending bridge by request from read function
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100000@142.132.184.134) Callstate Change ACTIVE -> HANGUP
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/11222222222222]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA going to sleep
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_HANGUP (Cur 4 Tot 71)
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134) State HANGUP
2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/100000@142.132.184.134 hanging up, cause: NORMAL_CLEARING
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/11222222222222) Callstate Change ACTIVE -> HANGUP
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP
2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/11222222222222 hanging up, cause: NORMAL_CLEARING
2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100000@142.132.184.134
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/100000@142.132.184.134 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134) State HANGUP going to sleep
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100000@142.132.184.134) State Change CS_HANGUP -> CS_REPORTING
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134) Running State Change CS_REPORTING (Cur 4 Tot 71)
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134) State REPORTING
2022-09-16 07:36:42.326800 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/11222222222222
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/11222222222222 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP going to sleep
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/11222222222222) State Change CS_HANGUP -> CS_REPORTING
2022-09-16 07:36:42.326800 87.07% [INFO] mod_json_cdr.c:271 Process [efa2b078-7666-473d-a6d5-50aab8d1b854.cdr.json]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_REPORTING (Cur 4 Tot 71)
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING
2022-09-16 07:36:42.326800 87.07% [INFO] mod_json_cdr.c:271 Process [12f016ba-f5cd-4590-a14d-f90a745aeec0.cdr.json]
2022-09-16 07:36:42.326800 87.07% [NOTICE] sofia.c:1065 Hangup sofia/default/100000@142.132.184.134:5072 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-16 07:36:42.326800 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100000@142.132.184.134:5072]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/100000@142.132.184.134:5072 ending bridge by request from write function
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/11222222222222 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/11222222222222) State Change CS_REPORTING -> CS_DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 70 (sofia/default/11222222222222) Locked, Waiting on external entities
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 70 (sofia/default/11222222222222) Ended
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/11222222222222 [CS_DESTROY]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/11222222222222]
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/11222222222222 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/11222222222222) Running State Change CS_DESTROY (Cur 3 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/11222222222222) State EXCHANGE_MEDIA going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_HANGUP (Cur 3 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/11222222222222) Callstate Change ACTIVE -> HANGUP
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/11222222222222 SOFIA DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:462 sofia/default/11222222222222 Overriding SIP cause 480 with 200 from the other leg
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/11222222222222 hanging up, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/11222222222222 Standard DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/11222222222222 skip receive message [UNBRIDGE] (channel is hungup already)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/100000@142.132.184.134:5072 skip receive message [UNBRIDGE] (channel is hungup already)
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/11222222222222
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:2983 sofia/default/100000@142.132.184.134:5072 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100000@142.132.184.134:5072) State EXECUTE going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_HANGUP (Cur 3 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/11222222222222 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/11222222222222) State HANGUP going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/11222222222222) State Change CS_HANGUP -> CS_REPORTING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100000@142.132.184.134:5072) Callstate Change ACTIVE -> HANGUP
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/11222222222222) Running State Change CS_REPORTING (Cur 3 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134:5072) State HANGUP
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/100000@142.132.184.134:5072 hanging up, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING
2022-09-16 07:36:42.346802 87.07% [INFO] mod_json_cdr.c:271 Process [e060658d-40a4-4f61-820b-478d3dbddece.cdr.json]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/100000@142.132.184.134:5072 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100000@142.132.184.134:5072) State HANGUP going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100000@142.132.184.134:5072) State Change CS_HANGUP -> CS_REPORTING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_scheduler.c:147 Deleting task 25 switch_ivr_schedule_hangup (12f016ba-f5cd-4590-a14d-f90a745aeec0)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_REPORTING (Cur 3 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134:5072) State REPORTING
2022-09-16 07:36:42.346802 87.07% [INFO] mod_json_cdr.c:271 Process [42e1cdf4-7053-43d0-8d69-12f27c000cde.cdr.json]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/11222222222222 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/11222222222222) State REPORTING going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/11222222222222) State Change CS_REPORTING -> CS_DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 71 (sofia/default/11222222222222) Locked, Waiting on external entities
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 71 (sofia/default/11222222222222) Ended
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/11222222222222 [CS_DESTROY]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/11222222222222) Running State Change CS_DESTROY (Cur 2 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/11222222222222 SOFIA DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/11222222222222 Standard DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/11222222222222) State DESTROY going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/100000@142.132.184.134 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134) State REPORTING going to sleep
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100000@142.132.184.134) State Change CS_REPORTING -> CS_DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_session.c:1753 Session 69 (sofia/default/100000@142.132.184.134) Locked, Waiting on external entities
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1771 Session 69 (sofia/default/100000@142.132.184.134) Ended
2022-09-16 07:36:42.346802 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100000@142.132.184.134 [CS_DESTROY]
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100000@142.132.184.134) Running State Change CS_DESTROY (Cur 1 Tot 71)
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134) State DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] mod_sofia.c:379 sofia/default/100000@142.132.184.134 SOFIA DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/100000@142.132.184.134 Standard DESTROY
2022-09-16 07:36:42.346802 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134) State DESTROY going to sleep
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/100000@142.132.184.134:5072 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100000@142.132.184.134:5072) State REPORTING going to sleep
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100000@142.132.184.134:5072) State Change CS_REPORTING -> CS_DESTROY
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_session.c:1753 Session 68 (sofia/default/100000@142.132.184.134:5072) Locked, Waiting on external entities
2022-09-16 07:36:42.366792 87.07% [NOTICE] switch_core_session.c:1771 Session 68 (sofia/default/100000@142.132.184.134:5072) Ended
2022-09-16 07:36:42.366792 87.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100000@142.132.184.134:5072 [CS_DESTROY]
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100000@142.132.184.134:5072) Running State Change CS_DESTROY (Cur 0 Tot 71)
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134:5072) State DESTROY
2022-09-16 07:36:42.366792 87.07% [DEBUG] mod_sofia.c:379 sofia/default/100000@142.132.184.134:5072 SOFIA DESTROY
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/100000@142.132.184.134:5072 Standard DESTROY
2022-09-16 07:36:42.366792 87.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100000@142.132.184.134:5072) State DESTROY going to sleep
2022-09-16 07:36:42.846800 87.83% [DEBUG] switch_scheduler.c:147 Deleting task 26 switch_ivr_schedule_hangup (e060658d-40a4-4f61-820b-478d3dbddece)
freeswitch@devangASTPP> /exit
root@devangASTPP:~#