span style="color: cornflowerblue; font-weight: bold;"> 2024-01-23 11:09:46.338585 40.20% [NOTICE] switch_channel.c:1123 New Channel sofia/default/101@astpplight.astppbilling.org [5ce19944-2aaa-49db-b420-6147c13bd0fe]
2024-01-23 11:09:46.338585 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_NEW (Cur 3 Tot 818)
2024-01-23 11:09:46.338585 40.20% [INFO] sofia.c:10453 sofia/default/101@astpplight.astppbilling.org receiving invite from 157.32.69.62:60085 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: p8Z0fxgEDv
2024-01-23 11:09:46.338585 40.20% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.69.62:0.
2024-01-23 11:09:46.338585 40.20% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [213965487@astpplight.astppbilling.org] from ip 157.32.69.62
2024-01-23 11:09:46.338585 40.20% [DEBUG] switch_core_state_machine.c:600 (sofia/default/101@astpplight.astppbilling.org) State NEW
2024-01-23 11:09:46.338585 40.20% [DEBUG] sofia.c:2419 detaching session 5ce19944-2aaa-49db-b420-6147c13bd0fe
2024-01-23 11:09:46.558580 40.20% [DEBUG] sofia.c:2532 Re-attaching to session 5ce19944-2aaa-49db-b420-6147c13bd0fe
2024-01-23 11:09:46.558580 40.20% [INFO] sofia.c:10453 sofia/default/101@astpplight.astppbilling.org receiving invite from 157.32.69.62:60085 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: p8Z0fxgEDv
2024-01-23 11:09:46.558580 40.20% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 157.32.69.62:0.
2024-01-23 11:09:46.578580 40.20% [DEBUG] sofia.c:7487 Channel sofia/default/101@astpplight.astppbilling.org entering state [received][100]
2024-01-23 11:09:46.578580 40.20% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=101 2783 564 IN IP4 157.32.69.62
s=Talk
c=IN IP4 157.32.69.62
t=0 0
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
a=record:off
m=audio 32432 RTP/AVP 96 97 98 0 8 18 101 99 100
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1
a=rtpmap:97 speex/16000
a=fmtp:97 vbr=on
a=rtpmap:98 speex/8000
a=fmtp:98 vbr=on
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/48000
a=rtpmap:99 telephone-event/16000
a=rtpmap:100 telephone-event/8000
a=rtcp:40225
a=rtcp-fb:* trr-int 1000
a=rtcp-fb:* ccm tmmbr
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@48000
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/101@astpplight.astppbilling.org PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_codec.c:111 sofia/default/101@astpplight.astppbilling.org Original read codec set to PCMU:0
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 100@8000
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_media.c:5850 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf send payload to 100 recv payload to 100
2024-01-23 11:09:46.578580 40.20% [DEBUG] sofia.c:7921 (sofia/default/101@astpplight.astppbilling.org) State Change CS_NEW -> CS_INIT
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_INIT (Cur 3 Tot 818)
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@astpplight.astppbilling.org) State INIT
2024-01-23 11:09:46.578580 40.20% [DEBUG] mod_sofia.c:97 sofia/default/101@astpplight.astppbilling.org SOFIA INIT
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/101@astpplight.astppbilling.org Standard INIT
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/101@astpplight.astppbilling.org) State Change CS_INIT -> CS_ROUTING
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/101@astpplight.astppbilling.org) State INIT going to sleep
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 818)
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_channel.c:2380 (sofia/default/101@astpplight.astppbilling.org) Callstate Change DOWN -> RINGING
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING
2024-01-23 11:09:46.578580 40.20% [DEBUG] mod_sofia.c:158 sofia/default/101@astpplight.astppbilling.org SOFIA ROUTING
2024-01-23 11:09:46.578580 40.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/101@astpplight.astppbilling.org Standard ROUTING
2024-01-23 11:09:46.578580 40.20% [INFO] mod_dialplan_xml.c:639 Processing 101 <101>->213965487 in context default
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 213965487
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER101
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '213965487' limit 1
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 101 / 101
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="213965487" limit 1
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-01-23 11:09:46.598576 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^213965487.*' OR blocked_patterns = '^21396548.*' OR blocked_patterns = '^2139654.*' OR blocked_patterns = '^213965.*' OR blocked_patterns = '^21396.*' OR blocked_patterns = '^2139.*' OR blocked_patterns = '^213.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
2024-01-23 11:09:46.598576 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2024-01-23 11:09:46.598576 40.20% [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 = '^213965487.*' OR patterns = '^21396548.*' OR patterns = '^2139654.*' OR patterns = '^213965.*' OR patterns = '^21396.*' OR patterns = '^2139.*' OR patterns = '^213.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-01-23 11:09:46.618571 40.20% [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 ="213965487" AND A.accountid = '2' limit 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 213965487
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="213965487" limit 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-01-23 11:09:46.618571 40.20% [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 = '213965487' OR number = '21396548' OR number = '2139654' OR number = '213965' OR number = '21396' OR number = '2139' OR number = '213' OR number = '21' OR number = '2' OR number ='--') OR (number = '213965487*' OR number = '21396548*' OR number = '2139654*' OR number = '213965*' OR number = '21396*' OR number = '2139*' OR number = '213*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '101*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '213965487' OR routing_prefix = '21396548' OR routing_prefix = '2139654' OR routing_prefix = '213965' OR routing_prefix = '21396' OR routing_prefix = '2139' OR routing_prefix = '213' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 27.23188
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^213965487.*' OR pattern = '^21396548.*' OR pattern = '^2139654.*' OR pattern = '^213965.*' OR pattern = '^21396.*' OR pattern = '^2139.*' OR pattern = '^213.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^101.*' 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 = 1 OR accountid=2) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05270
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your27.23188 balance Accountid 2 !!!
2024-01-23 11:09:46.618571 40.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
2024-01-23 11:09:46.618571 40.20% [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 = '^213965487.*' OR pattern = '^21396548.*' OR pattern = '^2139654.*' OR pattern = '^213965.*' OR pattern = '^21396.*' OR pattern = '^2139.*' OR pattern = '^213.*' OR pattern = '^21.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (7,1,1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7,1,1),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2.*
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : India
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2.*
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Dell
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2.*
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2.*
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '101' and status = 0 limit 1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.618571 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2024-01-23 11:09:46.618571 40.20% [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 = 9) AND status=0 limit 1
2024-01-23 11:09:46.618571 40.20% [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 = 7) AND status=0 limit 1
2024-01-23 11:09:46.618571 40.20% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="101" limit 1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="213965487" LIMIT 1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="213965487" LIMIT 1
2024-01-23 11:09:46.618571 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN :
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Enable/Disable:0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
2024-01-23 11:09:46.638573 40.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 2
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
2024-01-23 11:09:46.638573 40.20% [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 = 1) AND status=0 limit 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="213965487" LIMIT 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="213965487" LIMIT 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN :
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Enable/Disable:0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [attestation] COMING FOR STIR/SHAKEN For Outbound:0
2024-01-23 11:09:46.638573 40.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] User applicable_on_outbound_calls : 0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [outbound_call_prefixes]: 0
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [tmp_value]: 1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [first_prefix]: 2
2024-01-23 11:09:46.638573 40.20% [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="213965487">
<condition field="destination_number" expression="213965487">
<action application="set" data="effective_destination_number=213965487"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-01-23 11:09:46"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=2"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2"/>
<action application="set" data="original_caller_id_name=101"/>
<action application="set" data="original_caller_id_number=101"/>
<action application="limit" data="db 4727985745 user_4727985745 1 "/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=101"/>
<action application="set" data="effective_caller_id_number=101"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=7,1"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=213965487"/>
<action application="export" data="presence_data=x|||default(4727985745)|||^2.* // // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.69.62"/>
<action application="set" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
<action application="export" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
<action application="set" data="stir_status=0"/>
<action application="set" data="sip_stir_shaken_attest=NA"/>
<action application="limit" data="db Dell gw_Dell 1 "/>
<action application="bridge" data="{leg_timeout=0,sip_stir_shaken_attest=NA}[leg_timeout=0]sofia/gateway/Dell/213965487"/>
<action application="set" data="effective_caller_id_name=101"/>
<action application="set" data="effective_caller_id_number=101"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
<action application="set" data="trunk_id=1"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=7,1"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=1"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=213965487"/>
<action application="export" data="presence_data=x|||default(4727985745)|||^2.* // // 0.05270 |||YourTrunk // ^2.* // // 0.00660 // trunk_id=1|||STD|||157.32.69.62"/>
<action application="set" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
<action application="export" data="sip_h_X-ASTPP-Stir-Verification=Not Applicable"/>
<action application="set" data="stir_status=0"/>
<action application="set" data="sip_stir_shaken_attest=NA"/>
<action application="bridge" data="{leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729,sip_stir_shaken_attest=NA}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/213965487"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/101@astpplight.astppbilling.org parsing [default->213965487] continue=false
Dialplan: sofia/default/101@astpplight.astppbilling.org Regex (PASS) [213965487] destination_number(213965487) =~ /213965487/ break=on-false
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_destination_number=213965487)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(type=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(callstart=2024-01-23 11:09:46)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(hangup_after_bridge=true)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(account_id=2)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(parent_id=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(entity_id=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(call_processed=internal)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(call_direction=outbound)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(accountname=default)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(original_caller_id_name=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(original_caller_id_number=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action limit(db 4727985745 user_4727985745 1 )
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(is_recording=1)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(media_bug_answer_req=true)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(record_sample_rate=8000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_name=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_number=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(calltype=STANDARD)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(termination_rates=ID:33|CODE:^2.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:7|PROVIDER:9)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(trunk_id=7)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(provider_id=9)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(rate_flag=2)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(quality_trunk_seq=7,1)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(force_trunk_flag=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(intcall=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_id=213965487)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^2.* // // 0.05270 |||Testsipp // ^2.* // India // 0.00660 // trunk_id=7|||STD|||157.32.69.62)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(stir_status=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_stir_shaken_attest=NA)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action limit(db Dell gw_Dell 1 )
Dialplan: sofia/default/101@astpplight.astppbilling.org Action bridge({leg_timeout=0,sip_stir_shaken_attest=NA}[leg_timeout=0]sofia/gateway/Dell/213965487)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_name=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_caller_id_number=101)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(calltype=STANDARD)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(termination_rates=ID:32|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00660|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(trunk_id=1)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(provider_id=3)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(rate_flag=2)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(quality_trunk_seq=7,1)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(force_trunk_flag=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(intcall=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_id=213965487)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(presence_data=x|||default(4727985745)|||^2.* // // 0.05270 |||YourTrunk // ^2.* // // 0.00660 // trunk_id=1|||STD|||157.32.69.62)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action export(sip_h_X-ASTPP-Stir-Verification=Not Applicable)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(stir_status=0)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(sip_stir_shaken_attest=NA)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action bridge({leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729,sip_stir_shaken_attest=NA}[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/YourProvider/213965487)
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/101@astpplight.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING going to sleep
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_EXECUTE (Cur 3 Tot 818)
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_sofia.c:213 sofia/default/101@astpplight.astppbilling.org SOFIA EXECUTE
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/101@astpplight.astppbilling.org Standard EXECUTE
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_destination_number=213965487)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_destination_number]=[213965487]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(type=0)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [type]=[0]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(callstart=2024-01-23 11:09:46)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [callstart]=[2024-01-23 11:09:46]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(hangup_after_bridge=true)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(continue_on_fail=TRUE)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(account_id=2)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [account_id]=[2]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(parent_id=0)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [parent_id]=[0]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(entity_id=0)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [entity_id]=[0]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(call_processed=internal)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(call_direction=outbound)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(accountname=default)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [accountname]=[default]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(origination_rates=ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [origination_rates]=[ID:12|CODE:^2.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05270|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(original_caller_id_name=101)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [original_caller_id_name]=[101]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(original_caller_id_number=101)
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [original_caller_id_number]=[101]
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org limit(db 4727985745 user_4727985745 1 )
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 2/1
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_ivr.c:2288 (sofia/default/101@astpplight.astppbilling.org) State Change CS_EXECUTE -> CS_ROUTING
2024-01-23 11:09:46.638573 40.20% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/101@astpplight.astppbilling.org to XML[limit_exceeded@default]
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE going to sleep
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_ROUTING (Cur 3 Tot 818)
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-01-23 11:09:46.638573 40.20% [DEBUG] mod_sofia.c:158 sofia/default/101@astpplight.astppbilling.org SOFIA ROUTING
2024-01-23 11:09:46.638573 40.20% [DEBUG] switch_core_state_machine.c:230 sofia/default/101@astpplight.astppbilling.org Standard ROUTING
2024-01-23 11:09:46.638573 40.20% [INFO] mod_dialplan_xml.c:639 Processing 101 <101>->limit_exceeded in context default
2024-01-23 11:09:46.658583 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-23 11:09:46.658583 40.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : limit_exceeded
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] 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="limit_exceeded">
<condition field="destination_number" expression="^limit_exceeded$">
<action application="set" data="effective_destination_number=213965487"/>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>
<action application="hangup" data="CHANNEL_UNACCEPTABLE"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/101@astpplight.astppbilling.org parsing [default->limit_exceeded] continue=false
Dialplan: sofia/default/101@astpplight.astppbilling.org Regex (PASS) [limit_exceeded] destination_number(limit_exceeded) =~ /^limit_exceeded$/ break=on-false
Dialplan: sofia/default/101@astpplight.astppbilling.org Action set(effective_destination_number=213965487)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
Dialplan: sofia/default/101@astpplight.astppbilling.org Action hangup(CHANNEL_UNACCEPTABLE)
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/101@astpplight.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/101@astpplight.astppbilling.org) State ROUTING going to sleep
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_EXECUTE (Cur 3 Tot 818)
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE
2024-01-23 11:09:46.658583 40.20% [DEBUG] mod_sofia.c:213 sofia/default/101@astpplight.astppbilling.org SOFIA EXECUTE
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/101@astpplight.astppbilling.org Standard EXECUTE
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org set(effective_destination_number=213965487)
2024-01-23 11:09:46.658583 40.20% [DEBUG] mod_dptools.c:1673 SET sofia/default/101@astpplight.astppbilling.org [effective_destination_number]=[213965487]
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/101@astpplight.astppbilling.org
2024-01-23 11:09:46.658583 40.20% [INFO] switch_core_session.c:2787 Sending early media
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/101@astpplight.astppbilling.org] 95.217.215.250 port 16524 -> 157.32.69.62 port 32432 codec: 0 ms: 20
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_media.c:8871 Activating RTCP PORT 40225
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_rtp.c:4708 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 40225
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_rtp.c:2534 Setting RTCP remote addr to 157.32.69.62:40225 2
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_media.c:8963 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf send payload to 100
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_media.c:8970 sofia/default/101@astpplight.astppbilling.org Set 2833 dtmf receive payload to 100
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_media.c:8993 sofia/default/101@astpplight.astppbilling.org Set rtp dtmf delay to 40
2024-01-23 11:09:46.658583 40.20% [DEBUG] mod_sofia.c:2609 Ring SDP:
v=0
o=FreeSWITCH 1705991662 1705991663 IN IP4 95.217.215.250
s=FreeSWITCH
c=IN IP4 95.217.215.250
t=0 0
m=audio 16524 RTP/AVP 0 100
a=rtpmap:0 PCMU/8000
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=ptime:20
a=sendrecv
a=rtcp:16525 IN IP4 95.217.215.250
2024-01-23 11:09:46.658583 40.20% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/101@astpplight.astppbilling.org!
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_channel.c:3566 (sofia/default/101@astpplight.astppbilling.org) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 16000 doesn't match requested rate 8000
2024-01-23 11:09:46.658583 40.20% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2024-01-23 11:09:46.658583 40.20% [DEBUG] sofia.c:7487 Channel sofia/default/101@astpplight.astppbilling.org entering state [early][183]
2024-01-23 11:09:46.898582 40.20% [DEBUG] switch_rtp.c:6938 Correct audio RTCP ip/port confirmed.
2024-01-23 11:09:47.298612 39.93% [DEBUG] switch_rtp.c:1775 rtcp_stats_init: audio ssrc[833324319] base_seq[0]
2024-01-23 11:09:47.298612 39.93% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
EXECUTE [depth=0] sofia/default/101@astpplight.astppbilling.org hangup(CHANNEL_UNACCEPTABLE)
2024-01-23 11:09:48.738584 40.03% [NOTICE] mod_dptools.c:1376 Hangup sofia/default/101@astpplight.astppbilling.org [CS_EXECUTE] [CHANNEL_UNACCEPTABLE]
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_session.c:2973 sofia/default/101@astpplight.astppbilling.org skip receive message [PHONE_EVENT] (channel is hungup already)
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/101@astpplight.astppbilling.org) State EXECUTE going to sleep
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_HANGUP (Cur 3 Tot 818)
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/101@astpplight.astppbilling.org) Callstate Change EARLY -> HANGUP
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@astpplight.astppbilling.org) State HANGUP
2024-01-23 11:09:48.738584 40.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/101@astpplight.astppbilling.org hanging up, cause: CHANNEL_UNACCEPTABLE
2024-01-23 11:09:48.738584 40.03% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/101@astpplight.astppbilling.org Standard HANGUP, cause: CHANNEL_UNACCEPTABLE
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/101@astpplight.astppbilling.org) State HANGUP going to sleep
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/101@astpplight.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
2024-01-23 11:09:48.738584 40.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_REPORTING (Cur 3 Tot 818)
2024-01-23 11:09:48.758579 40.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@astpplight.astppbilling.org) State REPORTING
2024-01-23 11:09:48.758579 40.03% [INFO] mod_json_cdr.c:272 Process [5ce19944-2aaa-49db-b420-6147c13bd0fe.cdr.json]
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/101@astpplight.astppbilling.org Standard REPORTING, cause: CHANNEL_UNACCEPTABLE
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/101@astpplight.astppbilling.org) State REPORTING going to sleep
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/101@astpplight.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_session.c:1743 Session 818 (sofia/default/101@astpplight.astppbilling.org) Locked, Waiting on external entities
2024-01-23 11:09:48.798626 40.03% [NOTICE] switch_core_session.c:1761 Session 818 (sofia/default/101@astpplight.astppbilling.org) Ended
2024-01-23 11:09:48.798626 40.03% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/101@astpplight.astppbilling.org [CS_DESTROY]
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/101@astpplight.astppbilling.org) Running State Change CS_DESTROY (Cur 2 Tot 818)
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@astpplight.astppbilling.org) State DESTROY
2024-01-23 11:09:48.798626 40.03% [DEBUG] mod_sofia.c:379 sofia/default/101@astpplight.astppbilling.org SOFIA DESTROY
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/101@astpplight.astppbilling.org Standard DESTROY
2024-01-23 11:09:48.798626 40.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/101@astpplight.astppbilling.org) State DESTROY going to sleep