2024-03-19 14:48:31.744167 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0608899793@41.160.32.115:5060 [c14cf3e6-e5ff-11ee-8041-d17fbcf33421] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_NEW (Cur 41 Tot 535908) 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:9873 sofia/default/0608899793@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 118864263930142 118864263930142 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22134 RTP/AVP 18 8 0 96 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=ptime:20 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 96@8000 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0608899793@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:31.744167 [DEBUG] switch_core_codec.c:111 sofia/default/0608899793@41.160.32.115:5060 Original read codec set to G729:18 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 96@8000 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4767 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 96 recv payload to 96 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7507 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0608899793@41.160.32.115:5060) State NEW 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_INIT (Cur 41 Tot 535908) 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT 2024-03-19 14:48:31.744167 [DEBUG] mod_sofia.c:90 sofia/default/0608899793@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:40 sofia/default/0608899793@41.160.32.115:5060 Standard INIT 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 41 Tot 535908) 2024-03-19 14:48:31.744167 [DEBUG] switch_channel.c:2249 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING 2024-03-19 14:48:31.744167 [DEBUG] mod_sofia.c:143 sofia/default/0608899793@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:236 sofia/default/0608899793@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:48:31.744167 [INFO] mod_dialplan_xml.c:637 Processing 0608899793 <0608899793>->D9570514333281 in context default 2024-03-19 14:48:31.744167 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:31.744167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570514333281 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570514333281' limit 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570514333281' AND status=0 limit 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570514333281' and status=0 LIMIT 1 2024-03-19 14:48:31.764163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0608899793 / 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570514333281" LIMIT 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570514333281" AND domains.domain="156.38.231.106" limit 1 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570514333281.*' OR blocked_patterns = '^D957051433328.*' OR blocked_patterns = '^D95705143332.*' OR blocked_patterns = '^D9570514333.*' OR blocked_patterns = '^D957051433.*' OR blocked_patterns = '^D95705143.*' OR blocked_patterns = '^D9570514.*' OR blocked_patterns = '^D957051.*' OR blocked_patterns = '^D95705.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570514333281" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570514333281 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570514333281 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570514333281 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0514333281 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0514333281.*' OR patterns = '^051433328.*' OR patterns = '^05143332.*' OR patterns = '^0514333.*' OR patterns = '^051433.*' OR patterns = '^05143.*' OR patterns = '^0514.*' OR patterns = '^051.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [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 ="0514333281" AND A.accountid = '3' limit 1 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0514333281 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0514333281" LIMIT 1 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0514333281' OR number = '051433328' OR number = '05143332' OR number = '0514333' OR number = '051433' OR number = '05143' OR number = '0514' OR number = '051' OR number = '05' OR number = '0' OR number ='--') OR (number = '0514333281*' OR number = '051433328*' OR number = '05143332*' OR number = '0514333*' OR number = '051433*' OR number = '05143*' OR number = '0514*' OR number = '051*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1 2024-03-19 14:48:31.784183 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4128603434" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1045 limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:48:31.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za 2024-03-19 14:48:31.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='4128603434' and uuid = 'c14cf3e6-e5ff-11ee-8041-d17fbcf33421' order by id desc limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='4128603434' order by id desc limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4128603434" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1045 limit 1 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:31.804189 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. Dialplan: sofia/default/0608899793@41.160.32.115:5060 parsing [default->0514333281] continue=false Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (PASS) [0514333281] destination_number(D9570514333281) =~ /D9570514333281/ break=on-false Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_destination_number=0514333281) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:31) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates_did=ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(original_caller_id_name=0608899793) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_caller_id_name=27608899793) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(receiver_accid=103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/4128603434/${uuid}) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/4128603434@saws.nebular.co.za^0514333281) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(userinfo_id=103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(sip_destination_number=4128603434) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(destination_number=0514333281) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(did_number=0514333281) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0514333281_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (FAIL) [0514333281_recur_1] ${cond(${user_data 4128603434@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 41 Tot 535908) 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE 2024-03-19 14:48:31.844157 [DEBUG] mod_sofia.c:198 sofia/default/0608899793@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:328 sofia/default/0608899793@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_destination_number=0514333281) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_destination_number]=[0514333281] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(callstart=2024-03-19 14:48:31) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:31] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates_did=ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates_did]=[ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(original_caller_id_name=0608899793) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [original_caller_id_name]=[0608899793] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_caller_id_name=27608899793) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_caller_id_name]=[27608899793] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(receiver_accid=103) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [receiver_accid]=[103] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(domain_name=saws.nebular.co.za) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(call_type=5) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(calltype=SIP-DID) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0608899793@41.160.32.115:5060 db(insert/pickup_any_group_/4128603434/c14cf3e6-e5ff-11ee-8041-d17fbcf33421) EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(dialed_extension=transfer_call) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(dialed_extension=transfer_call) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:48:31.844157 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:48:31.844157 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za) 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 sleep(1000) 2024-03-19 14:48:32.404177 [DEBUG] sofia.c:7084 Channel sofia/default/0836750187 entering state [proceeding][183] 2024-03-19 14:48:32.404177 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 104433173816254 104433173816254 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22132 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0836750187 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:32.404177 [DEBUG] switch_core_codec.c:111 sofia/default/0836750187 Original read codec set to PCMA:8 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4767 sofia/default/0836750187 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0836750187] 156.38.231.107 port 24308 -> 41.160.32.115 port 22132 codec: 8 ms: 20 2024-03-19 14:48:32.404177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7180 sofia/default/0836750187 Set 2833 dtmf send payload to 101 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7187 sofia/default/0836750187 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7210 sofia/default/0836750187 Set rtp dtmf delay to 40 2024-03-19 14:48:32.404177 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0836750187! 2024-03-19 14:48:32.424165 [DEBUG] switch_channel.c:3474 (sofia/default/0836750187) Callstate Change DOWN -> EARLY 2024-03-19 14:48:32.424165 [INFO] switch_ivr_originate.c:3654 Sending early media 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0103130000@mbvit.nebular.co.za:5060] 156.38.231.107 port 30732 -> 156.38.249.181 port 9068 codec: 8 ms: 20 2024-03-19 14:48:32.424165 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7180 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7187 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7210 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:32.424165 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1710828980 1710828981 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30732 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:32.424165 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0103130000@mbvit.nebular.co.za:5060! 2024-03-19 14:48:32.424165 [DEBUG] switch_channel.c:3474 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2024-03-19 14:48:32.424165 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0836750187] 2024-03-19 14:48:32.424165 [DEBUG] sofia.c:7084 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 entering state [early][183] 2024-03-19 14:48:32.424165 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0836750187) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:32.424165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_EXCHANGE_MEDIA (Cur 41 Tot 535908) 2024-03-19 14:48:32.424165 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836750187) State EXCHANGE_MEDIA 2024-03-19 14:48:32.424165 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:32.604172 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0836750187 Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:32.624178 [DEBUG] switch_ivr.c:623 sofia/default/0836750187 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0836750187 sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:32.624178 [DEBUG] switch_scheduler.c:249 Added task 216734 switch_ivr_schedule_hangup (c021f2fa-e5ff-11ee-803d-d17fbcf33421) to run at 1710865712 2024-03-19 14:48:32.704175 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9068 to 156.38.231.105:9068 EXECUTE sofia/default/0608899793@41.160.32.115:5060 ring_ready() 2024-03-19 14:48:32.864158 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0608899793@41.160.32.115:5060! 2024-03-19 14:48:32.864158 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [early][180] 2024-03-19 14:48:32.864158 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0608899793@41.160.32.115:5060! EXECUTE sofia/default/0608899793@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/4128603434@saws.nebular.co.za^0514333281) 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:48:32.864158 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4128603434@saws.nebular.co.za [c1f72276-e5ff-11ee-806b-d17fbcf33421] 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:4819 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2963 sofia/default/4128603434@saws.nebular.co.za Setting leg timeout to 30 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_INIT (Cur 42 Tot 535909) 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4128603434@saws.nebular.co.za) State INIT 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:90 sofia/default/4128603434@saws.nebular.co.za SOFIA INIT 2024-03-19 14:48:32.864158 [DEBUG] sofia_glue.c:1295 sofia/default/4128603434@saws.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710842096 1710842097 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17616 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:40 sofia/default/4128603434@saws.nebular.co.za Standard INIT 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4128603434@saws.nebular.co.za) State INIT going to sleep 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 42 Tot 535909) 2024-03-19 14:48:32.864158 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [calling][0] 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4128603434@saws.nebular.co.za) State ROUTING 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:143 sofia/default/4128603434@saws.nebular.co.za SOFIA ROUTING 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4128603434@saws.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 42 Tot 535909) 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4128603434@saws.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4128603434@saws.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:33.004188 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:33.004188 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4128603434@saws.nebular.co.za! 2024-03-19 14:48:33.004188 [DEBUG] switch_channel.c:3346 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:48:33.024161 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0608899793@41.160.32.115:5060! 2024-03-19 14:48:33.044172 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [proceeding][183] 2024-03-19 14:48:33.044172 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 41155420644927 41155420644927 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22130 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0797964625 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:33.044172 [DEBUG] switch_core_codec.c:111 sofia/default/0797964625 Original read codec set to PCMA:8 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4767 sofia/default/0797964625 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0797964625] 156.38.231.107 port 23528 -> 41.160.32.115 port 22130 codec: 8 ms: 20 2024-03-19 14:48:33.044172 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7180 sofia/default/0797964625 Set 2833 dtmf send payload to 101 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7187 sofia/default/0797964625 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7210 sofia/default/0797964625 Set rtp dtmf delay to 40 2024-03-19 14:48:33.044172 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0797964625! 2024-03-19 14:48:33.064177 [DEBUG] switch_channel.c:3474 (sofia/default/0797964625) Callstate Change DOWN -> EARLY 2024-03-19 14:48:33.064177 [INFO] switch_ivr_originate.c:3654 Sending early media 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0333942190@legalaidsa.nebular.co.za:5060] 156.38.231.107 port 17760 -> 156.38.150.6 port 9650 codec: 8 ms: 20 2024-03-19 14:48:33.064177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7180 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7187 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7210 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:33.064177 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1710841953 1710841954 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17760 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:33.064177 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0333942190@legalaidsa.nebular.co.za:5060! 2024-03-19 14:48:33.064177 [DEBUG] switch_channel.c:3474 (sofia/default/0333942190@legalaidsa.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2024-03-19 14:48:33.064177 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0797964625] 2024-03-19 14:48:33.064177 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [early][183] 2024-03-19 14:48:33.084303 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0797964625) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:33.084303 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0797964625) Running State Change CS_EXCHANGE_MEDIA (Cur 42 Tot 535909) 2024-03-19 14:48:33.084303 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0797964625) State EXCHANGE_MEDIA 2024-03-19 14:48:33.084303 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [completing][200] 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 435368755200 183777624065 IN IP4 156.38.150.5 s=3cxPS Audio call c=IN IP4 156.38.150.5 t=0 0 m=audio 9566 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [ready][200] 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4128603434@saws.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:33.084303 [DEBUG] switch_core_codec.c:111 sofia/default/4128603434@saws.nebular.co.za Original read codec set to G729:18 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4767 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4128603434@saws.nebular.co.za] 156.38.231.107 port 17616 -> 156.38.150.5 port 9566 codec: 18 ms: 20 2024-03-19 14:48:33.084303 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7180 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7187 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7210 sofia/default/4128603434@saws.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:48:33.084303 [NOTICE] sofia.c:8218 Channel [sofia/default/4128603434@saws.nebular.co.za] has been answered 2024-03-19 14:48:33.084303 [DEBUG] switch_channel.c:3773 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0608899793@41.160.32.115:5060] 156.38.231.107 port 19072 -> 41.160.32.115 port 22134 codec: 18 ms: 20 2024-03-19 14:48:33.104157 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7180 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 96 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7187 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf receive payload to 96 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7210 sofia/default/0608899793@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:33.104157 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0608899793@41.160.32.115:5060: v=0 o=FreeSWITCH 1710840641 1710840642 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 19072 RTP/AVP 18 96 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:33.104157 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0608899793@41.160.32.115:5060] has been answered 2024-03-19 14:48:33.104157 [DEBUG] switch_channel.c:3773 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:33.104157 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:48:33.104157 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4128603434@saws.nebular.co.za] 2024-03-19 14:48:33.104157 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:33.104157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 42 Tot 535909) 2024-03-19 14:48:33.104157 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4128603434@saws.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:48:33.104157 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:33.224787 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:33.244196 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0797964625 Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:33.264158 [DEBUG] switch_ivr.c:623 sofia/default/0797964625 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0797964625 sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:33.264158 [DEBUG] switch_scheduler.c:249 Added task 216735 switch_ivr_schedule_hangup (bfc6308c-e5ff-11ee-8016-d17fbcf33421) to run at 1710865713 2024-03-19 14:48:33.284176 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:48:33.284176 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4128603434@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:33.304168 [DEBUG] switch_ivr.c:623 sofia/default/4128603434@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/4128603434@saws.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:33.304168 [DEBUG] switch_scheduler.c:249 Added task 216736 switch_ivr_schedule_hangup (c1f72276-e5ff-11ee-806b-d17fbcf33421) to run at 1710865713 2024-03-19 14:48:33.324176 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.5:9566 to 156.38.231.105:9566 2024-03-19 14:48:33.364173 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9650 to 156.38.231.105:9650 2024-03-19 14:48:33.444173 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:33.524157 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [proceeding][180] 2024-03-19 14:48:33.524157 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0797964625! 2024-03-19 14:48:33.524157 [DEBUG] switch_channel.c:3346 (sofia/default/0797964625) Callstate Change EARLY -> RINGING 2024-03-19 14:48:34.804189 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0734382646@41.160.32.115:5060 [c31ef656-e5ff-11ee-8073-d17fbcf33421] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_NEW (Cur 43 Tot 535910) 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:9873 sofia/default/0734382646@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 22296219249932 22296219249932 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22136 RTP/AVP 18 8 0 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0734382646@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:34.804189 [DEBUG] switch_core_codec.c:111 sofia/default/0734382646@41.160.32.115:5060 Original read codec set to G729:18 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4767 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7507 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0734382646@41.160.32.115:5060) State NEW 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_INIT (Cur 43 Tot 535910) 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0734382646@41.160.32.115:5060) State INIT 2024-03-19 14:48:34.804189 [DEBUG] mod_sofia.c:90 sofia/default/0734382646@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:40 sofia/default/0734382646@41.160.32.115:5060 Standard INIT 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0734382646@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 43 Tot 535910) 2024-03-19 14:48:34.804189 [DEBUG] switch_channel.c:2249 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0734382646@41.160.32.115:5060) State ROUTING 2024-03-19 14:48:34.804189 [DEBUG] mod_sofia.c:143 sofia/default/0734382646@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:236 sofia/default/0734382646@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:48:34.804189 [INFO] mod_dialplan_xml.c:637 Processing 0734382646 <0734382646>->0103130010 in context default 2024-03-19 14:48:34.804189 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130010 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130010' limit 1 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130010' AND status=0 limit 1 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130010' and status=0 LIMIT 1 2024-03-19 14:48:34.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0734382646 / 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0103130010" LIMIT 1 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130010" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:34.824178 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 15 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0103130010.*' OR patterns = '^010313001.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 15 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [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 ="0103130010" AND A.accountid = '3' limit 1 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130010 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0103130010" LIMIT 1 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130010' OR number = '010313001' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130010*' OR number = '010313001*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' RINGING 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 15 limit 1 2024-03-19 14:48:34.844163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : karlovac.nebular.co.za 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0734382646 2024-03-19 14:48:34.844163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0734382646 2024-03-19 14:48:34.844163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27734382646 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27"..... 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 15 limit 1 2024-03-19 14:48:34.844163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : karlovac.nebular.co.za 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2025 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 13 and status=0 LIMIT 1 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '37' LIMIT 1 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement=File name==================ThistreeRe_.wav 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here=========================== 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:34.844163 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. Dialplan: sofia/default/0734382646@41.160.32.115:5060 parsing [default->0103130010] continue=false Dialplan: sofia/default/0734382646@41.160.32.115:5060 Regex (PASS) [0103130010] destination_number(0103130010) =~ /0103130010/ break=on-false Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(effective_destination_number=0103130010) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:34) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(origination_rates_did=ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(original_caller_id_name=0734382646) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(effective_caller_id_name=27734382646) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(receiver_accid=15) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(domain_name=karlovac.nebular.co.za) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(sip_to_host=karlovac.nebular.co.za) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(call_type=10) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(did_calltype=10) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(did_extensions=13) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(ringback=/var/www/html/astpp//upload/pbx/ThistreeRe_.wav) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(module_name=pbx) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(sip_h_P-Accountcode=15) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_number=145) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(no_answer_number=145) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_call_type=extension) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_call_type_value=145) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(originate_disposition=no_key_press) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(variable_sip_to_host=karlovac.nebular.co.za) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(userinfo_id=3) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(variable_sip_to_host=karlovac.nebular.co.za) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(original_did_number=0103130010) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action answer() Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action ivr(ThisTree IVR13) Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0734382646@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 43 Tot 535910) 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0734382646@41.160.32.115:5060) State EXECUTE 2024-03-19 14:48:34.844163 [DEBUG] mod_sofia.c:198 sofia/default/0734382646@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:328 sofia/default/0734382646@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(effective_destination_number=0103130010) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [effective_destination_number]=[0103130010] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(callstart=2024-03-19 14:48:34) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:34] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(origination_rates_did=ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [origination_rates_did]=[ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(original_caller_id_name=0734382646) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [original_caller_id_name]=[0734382646] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(effective_caller_id_name=27734382646) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [effective_caller_id_name]=[27734382646] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(receiver_accid=15) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [receiver_accid]=[15] EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(domain_name=karlovac.nebular.co.za) 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[karlovac.nebular.co.za] EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(sip_to_host=karlovac.nebular.co.za) 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[karlovac.nebular.co.za] EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(call_type=10) 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(did_calltype=10) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [did_calltype]=[10] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(did_extensions=13) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [did_extensions]=[13] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(ringback=/var/www/html/astpp//upload/pbx/ThistreeRe_.wav) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [ringback]=[/var/www/html/astpp//upload/pbx/ThistreeRe_.wav] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(module_name=pbx) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [module_name]=[pbx] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(sip_h_P-Accountcode=15) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [sip_h_P-Accountcode]=[15] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_number=145) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_number]=[145] EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(no_answer_number=145) 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[145] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_call_type=extension) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_call_type]=[extension] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_call_type_value=145) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_call_type_value]=[145] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(opensips_flag=0) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [opensips_flag]=[0] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(originate_disposition=no_key_press) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [originate_disposition]=[no_key_press] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(variable_sip_to_host=karlovac.nebular.co.za) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [variable_sip_to_host]=[karlovac.nebular.co.za] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(userinfo_id=3) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [userinfo_id]=[3] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(variable_sip_to_host=karlovac.nebular.co.za) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [variable_sip_to_host]=[karlovac.nebular.co.za] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(original_did_number=0103130010) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [original_did_number]=[0103130010] EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729) 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729] EXECUTE sofia/default/0734382646@41.160.32.115:5060 answer() 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0734382646@41.160.32.115:5060] 156.38.231.107 port 30960 -> 41.160.32.115 port 22136 codec: 18 ms: 20 2024-03-19 14:48:34.864169 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7180 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7187 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7210 sofia/default/0734382646@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:34.864169 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0734382646@41.160.32.115:5060: v=0 o=FreeSWITCH 1710828754 1710828755 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30960 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:34.864169 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0734382646@41.160.32.115:5060] has been answered 2024-03-19 14:48:34.864169 [DEBUG] switch_channel.c:3773 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE EXECUTE sofia/default/0734382646@41.160.32.115:5060 ivr(ThisTree IVR13) 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:880 building menu 'ThisTree IVR13' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu ThisTree IVR13 2024-03-19 14:48:34.884155 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:48:34.884155 [DEBUG] switch_core_file.c:342 File /var/www/html/astpp/upload/pbx/ThistreeRe_.wav sample rate 44100 doesn't match requested rate 8000 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2024-03-19 14:48:34.884155 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7feda86f16c8 0x7feda86f16c8 2024-03-19 14:48:34.884155 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7feda86f16c8 0x7feda86f16c8 2024-03-19 14:48:34.964199 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:35.024169 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:48:35.084171 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:36.384178 [NOTICE] sofia.c:1012 Hangup sofia/default/4128603434@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:36.384178 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4128603434@saws.nebular.co.za] 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4128603434@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 43 Tot 535910) 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4128603434@saws.nebular.co.za) State HANGUP 2024-03-19 14:48:36.384178 [DEBUG] mod_sofia.c:438 Channel sofia/default/4128603434@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:60 sofia/default/4128603434@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4128603434@saws.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 43 Tot 535910) 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4128603434@saws.nebular.co.za) State REPORTING 2024-03-19 14:48:36.384178 [INFO] mod_json_cdr.c:271 Process [c1f72276-e5ff-11ee-806b-d17fbcf33421.cdr.json] 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:174 sofia/default/4128603434@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4128603434@saws.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:36.404293 [DEBUG] switch_core_session.c:1665 Session 535909 (sofia/default/4128603434@saws.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:48:36.404293 [DEBUG] switch_ivr_bridge.c:706 sofia/default/4128603434@saws.nebular.co.za ending bridge by request from write function 2024-03-19 14:48:36.404293 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0608899793@41.160.32.115:5060] 2024-03-19 14:48:36.404293 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0608899793@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:36.404293 [NOTICE] switch_core_session.c:1683 Session 535909 (sofia/default/4128603434@saws.nebular.co.za) Ended 2024-03-19 14:48:36.404293 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4128603434@saws.nebular.co.za [CS_DESTROY] 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 42 Tot 535910) 2024-03-19 14:48:36.404293 [DEBUG] switch_core_session.c:2815 sofia/default/0608899793@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 42 Tot 535910) 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4128603434@saws.nebular.co.za) State DESTROY 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:343 sofia/default/4128603434@saws.nebular.co.za SOFIA DESTROY 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:181 sofia/default/4128603434@saws.nebular.co.za Standard DESTROY 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4128603434@saws.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:432 sofia/default/0608899793@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:438 Channel sofia/default/0608899793@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0608899793@41.160.32.115:5060 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:60 sofia/default/0608899793@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 42 Tot 535910) 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING 2024-03-19 14:48:36.404293 [INFO] mod_json_cdr.c:271 Process [c14cf3e6-e5ff-11ee-8041-d17fbcf33421.cdr.json] 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:174 sofia/default/0608899793@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:36.424168 [DEBUG] switch_core_session.c:1665 Session 535908 (sofia/default/0608899793@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:48:36.424168 [NOTICE] switch_core_session.c:1683 Session 535908 (sofia/default/0608899793@41.160.32.115:5060) Ended 2024-03-19 14:48:36.424168 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0608899793@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 41 Tot 535910) 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY 2024-03-19 14:48:36.424168 [DEBUG] mod_sofia.c:343 sofia/default/0608899793@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:181 sofia/default/0608899793@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:48:36.804299 [DEBUG] switch_scheduler.c:144 Deleting task 216736 switch_ivr_schedule_hangup (c1f72276-e5ff-11ee-806b-d17fbcf33421) 2024-03-19 14:48:40.124163 [NOTICE] sofia.c:1012 Hangup sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0538322348@legalaidsa.nebular.co.za:5060] 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0712697093] 2024-03-19 14:48:40.124163 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0712697093 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_HANGUP (Cur 41 Tot 535910) 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0712697093) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:432 sofia/default/0712697093 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:438 Channel sofia/default/0712697093 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0712697093 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:60 sofia/default/0712697093 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP going to sleep 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0712697093) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_REPORTING (Cur 41 Tot 535910) 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0712697093 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:40.124163 [INFO] mod_json_cdr.c:271 Process [8d08ad3c-e5ff-11ee-bccb-d17fbcf33421.cdr.json] 2024-03-19 14:48:40.124163 [DEBUG] switch_core_session.c:2815 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 41 Tot 535910) 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:438 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:60 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 41 Tot 535910) 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING 2024-03-19 14:48:40.124163 [INFO] mod_json_cdr.c:271 Process [8cfdcbb0-e5ff-11ee-bca8-d17fbcf33421.cdr.json] 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:174 sofia/default/0712697093 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING going to sleep 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0712697093) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_session.c:1665 Session 535865 (sofia/default/0712697093) Locked, Waiting on external entities 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1683 Session 535865 (sofia/default/0712697093) Ended 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0712697093 [CS_DESTROY] 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0712697093) Running State Change CS_DESTROY (Cur 40 Tot 535910) 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY 2024-03-19 14:48:40.144170 [DEBUG] mod_sofia.c:343 sofia/default/0712697093 SOFIA DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:181 sofia/default/0712697093 Standard DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY going to sleep 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:174 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_session.c:1665 Session 535864 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1683 Session 535864 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Ended 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 39 Tot 535910) 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY 2024-03-19 14:48:40.144170 [DEBUG] mod_sofia.c:343 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:181 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:48:40.304178 [DEBUG] switch_scheduler.c:144 Deleting task 216714 switch_ivr_schedule_hangup (8d08ad3c-e5ff-11ee-bccb-d17fbcf33421) 2024-03-19 14:48:40.944181 [NOTICE] sofia.c:1012 Hangup sofia/default/27124713800@ecic.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:40.944181 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124713800@ecic.nebular.co.za:5060] 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124713800@ecic.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0786353645] 2024-03-19 14:48:40.964178 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0786353645 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0786353645) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0786353645) Running State Change CS_HANGUP (Cur 39 Tot 535910) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0786353645) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0786353645) State HANGUP 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:432 sofia/default/0786353645 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:438 Channel sofia/default/0786353645 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0786353645 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124713800@ecic.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_session.c:2815 sofia/default/27124713800@ecic.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713800@ecic.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535910) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124713800@ecic.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0786353645 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713800@ecic.nebular.co.za:5060) State HANGUP 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124713800@ecic.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:60 sofia/default/0786353645 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0786353645) State HANGUP going to sleep 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0786353645) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0786353645) Running State Change CS_REPORTING (Cur 39 Tot 535910) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0786353645) State REPORTING 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713800@ecic.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124713800@ecic.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:40.964178 [INFO] mod_json_cdr.c:271 Process [2b0f3268-e5ff-11ee-b8a6-d17fbcf33421.cdr.json] 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535910) 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713800@ecic.nebular.co.za:5060) State REPORTING 2024-03-19 14:48:40.964178 [INFO] mod_json_cdr.c:271 Process [2b0204a8-e5ff-11ee-b883-d17fbcf33421.cdr.json] 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:174 sofia/default/0786353645 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0786353645) State REPORTING going to sleep 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0786353645) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_session.c:1665 Session 535817 (sofia/default/0786353645) Locked, Waiting on external entities 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1683 Session 535817 (sofia/default/0786353645) Ended 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0786353645 [CS_DESTROY] 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0786353645) Running State Change CS_DESTROY (Cur 38 Tot 535910) 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0786353645) State DESTROY 2024-03-19 14:48:40.984301 [DEBUG] mod_sofia.c:343 sofia/default/0786353645 SOFIA DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:181 sofia/default/0786353645 Standard DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0786353645) State DESTROY going to sleep 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713800@ecic.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124713800@ecic.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_session.c:1665 Session 535816 (sofia/default/27124713800@ecic.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1683 Session 535816 (sofia/default/27124713800@ecic.nebular.co.za:5060) Ended 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124713800@ecic.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535910) 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713800@ecic.nebular.co.za:5060) State DESTROY 2024-03-19 14:48:40.984301 [DEBUG] mod_sofia.c:343 sofia/default/27124713800@ecic.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713800@ecic.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:48:41.304183 [DEBUG] switch_scheduler.c:144 Deleting task 216695 switch_ivr_schedule_hangup (2b0f3268-e5ff-11ee-b8a6-d17fbcf33421) 2024-03-19 14:48:43.124291 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [c814bcf4-e5ff-11ee-809f-d17fbcf33421] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_NEW (Cur 38 Tot 535911) 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:9873 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [received][100] 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 505296191488 297896247297 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9652 RTP/AVP 8 0 9 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0538322348@legalaidsa.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:43.124291 [DEBUG] switch_core_codec.c:111 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Original read codec set to PCMA:8 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4767 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7507 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State NEW 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_INIT (Cur 38 Tot 535911) 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State INIT 2024-03-19 14:48:43.124291 [DEBUG] mod_sofia.c:90 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA INIT 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:40 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard INIT 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State INIT going to sleep 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 38 Tot 535911) 2024-03-19 14:48:43.124291 [DEBUG] switch_channel.c:2249 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State ROUTING 2024-03-19 14:48:43.124291 [DEBUG] mod_sofia.c:143 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA ROUTING 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:236 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard ROUTING 2024-03-19 14:48:43.124291 [INFO] mod_dialplan_xml.c:637 Processing 0538322348 <0538322348>->0712697093 in context default 2024-03-19 14:48:43.124291 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:43.124291 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:43.124291 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0712697093 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0712697093' limit 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0712697093' AND status=0 limit 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0712697093' and status=0 LIMIT 1 2024-03-19 14:48:43.144170 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0538322348 / 0538322348 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0712697093" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 196083] 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "196083" AND deleted = 0 limit 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0712697093.*' OR blocked_patterns = '^071269709.*' OR blocked_patterns = '^07126970.*' OR blocked_patterns = '^0712697.*' OR blocked_patterns = '^071269.*' OR blocked_patterns = '^07126.*' OR blocked_patterns = '^0712.*' OR blocked_patterns = '^071.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 109 limit 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0712697093" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:43.144170 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0712697093 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0712697093 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0712697093.*' OR patterns = '^071269709.*' OR patterns = '^07126970.*' OR patterns = '^0712697.*' OR patterns = '^071269.*' OR patterns = '^07126.*' OR patterns = '^0712.*' OR patterns = '^071.*' OR patterns = '^07.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 109 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [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 ="0712697093" AND A.accountid = '109' limit 1 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0712697093 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0712697093" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0712697093' OR number = '071269709' OR number = '07126970' OR number = '0712697' OR number = '071269' OR number = '07126' OR number = '0712' OR number = '071' OR number = '07' OR number = '0' OR number ='--') OR (number = '0712697093*' OR number = '071269709*' OR number = '07126970*' OR number = '0712697*' OR number = '071269*' OR number = '07126*' OR number = '0712*' OR number = '071*' OR number = '07*' OR number = '0*' OR number ='--') OR (number = '0538322348' OR number = '053832234' OR number = '05383223' OR number = '0538322' OR number = '053832' OR number = '05383' OR number = '0538' OR number = '053' OR number = '05' OR number = '0' OR number ='--') OR (number = '0538322348*' OR number = '053832234*' OR number = '05383223*' OR number = '0538322*' OR number = '053832*' OR number = '05383*' OR number = '0538*' OR number = '053*' OR number = '05*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0712697093' OR routing_prefix = '071269709' OR routing_prefix = '07126970' OR routing_prefix = '0712697' OR routing_prefix = '071269' OR routing_prefix = '07126' OR routing_prefix = '0712' OR routing_prefix = '071' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 13 limit 1 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0712697093)!!!! 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27712697093 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27712697093' limit 1 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0712697093)!!!! 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 109 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 196083 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 11207.5335 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 93 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 93 AND status = 0 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 93 AND status = 0 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 93 OR accountid=109) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2148439 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.44000 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : SOUTH AFRICA - VODACOM - MOBILE 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 109 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your11207.5335 balance Accountid 109 !!! 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 13 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0712697093.*' OR blocked_patterns = '^071269709.*' OR blocked_patterns = '^07126970.*' OR blocked_patterns = '^0712697.*' OR blocked_patterns = '^071269.*' OR blocked_patterns = '^07126.*' OR blocked_patterns = '^0712.*' OR blocked_patterns = '^071.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 13 limit 1 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 13 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 778509 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10310.7583 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=13) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426341 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D082-VODACOM 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 13 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10310.7583 balance Accountid 13 !!! 2024-03-19 14:48:43.184178 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 2148439 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 109 AND status=0 LIMIT 1 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [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 = 5) AND status=0 limit 1 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0712697093 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:43.184178 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 parsing [default->0712697093] continue=false Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Regex (PASS) [0712697093] destination_number(0712697093) =~ /0712697093/ break=on-false Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_destination_number=0712697093) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(callstart=2024-03-19 14:48:43) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(account_id=109) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(parent_id=13) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(call_direction=outbound) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(origination_rates=ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(original_caller_id_name=0538322348) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(original_caller_id_number=0538322348) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action limit(db 196083 user_196083 200 ) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action limit(db 778509 user_778509 800 ) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_caller_id_name=0538322348) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_caller_id_number=0538322348) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(trunk_id=5) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(provider_id=3) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(rate_flag=0) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(force_trunk_flag=2148439) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(intcall=0) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action export(presence_data=x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM) Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/liquid_primary/0712697093;fs_path=sip:156.38.231.106:5060) 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State ROUTING going to sleep 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 38 Tot 535911) 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:198 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA EXECUTE 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:328 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_destination_number=0712697093) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_destination_number]=[0712697093] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(callstart=2024-03-19 14:48:43) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [callstart]=[2024-03-19 14:48:43] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(account_id=109) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [account_id]=[109] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(parent_id=13) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [parent_id]=[13] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(entity_id=0) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(call_processed=internal) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(call_direction=outbound) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [call_direction]=[outbound] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(accountname=default) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(origination_rates=ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [origination_rates]=[ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(original_caller_id_name=0538322348) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [original_caller_id_name]=[0538322348] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(original_caller_id_number=0538322348) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [original_caller_id_number]=[0538322348] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 limit(db 196083 user_196083 200 ) 2024-03-19 14:48:43.204153 [DEBUG] switch_limit.c:126 incr called: 196083_user_196083 max:200, interval:0 2024-03-19 14:48:43.204153 [DEBUG] mod_db.c:194 Usage for 196083_user_196083 is now 15/200 EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 limit(db 778509 user_778509 800 ) 2024-03-19 14:48:43.204153 [DEBUG] switch_limit.c:126 incr called: 778509_user_778509 max:800, interval:0 2024-03-19 14:48:43.204153 [DEBUG] mod_db.c:194 Usage for 778509_user_778509 is now 16/800 EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_caller_id_name=0538322348) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_caller_id_name]=[0538322348] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_caller_id_number=0538322348) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_caller_id_number]=[0538322348] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(calltype=STANDARD) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [calltype]=[STANDARD] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(trunk_id=5) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [trunk_id]=[5] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(provider_id=3) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [provider_id]=[3] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(rate_flag=0) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [rate_flag]=[0] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(force_trunk_flag=2148439) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [force_trunk_flag]=[2148439] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 export(presence_data=trunk_id=5) 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(intcall=0) 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [intcall]=[0] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 export(presence_data=x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM) 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM] EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/liquid_primary/0712697093;fs_path=sip:156.38.231.106:5060) 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1250 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM] to event 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1250 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM] to event 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:48:43.204153 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0712697093 [c821b9e0-e5ff-11ee-80c2-d17fbcf33421] 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:4819 (sofia/default/0712697093) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_INIT (Cur 39 Tot 535912) 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0712697093) State INIT 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:90 sofia/default/0712697093 SOFIA INIT 2024-03-19 14:48:43.204153 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0712697093 2024-03-19 14:48:43.204153 [DEBUG] sofia_glue.c:1295 sofia/default/0712697093 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710841387 1710841388 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 18336 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:40 sofia/default/0712697093 Standard INIT 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0712697093) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0712697093) State INIT going to sleep 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_ROUTING (Cur 39 Tot 535912) 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0712697093) State ROUTING 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:143 sofia/default/0712697093 SOFIA ROUTING 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0712697093) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0712697093) State ROUTING going to sleep 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_CONSUME_MEDIA (Cur 39 Tot 535912) 2024-03-19 14:48:43.204153 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [calling][0] 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0712697093) State CONSUME_MEDIA 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0712697093) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:44.104175 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [proceeding][183] 2024-03-19 14:48:44.104175 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 15896717988210 15896717988210 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22138 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0712697093 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:44.104175 [DEBUG] switch_core_codec.c:111 sofia/default/0712697093 Original read codec set to PCMA:8 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4767 sofia/default/0712697093 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0712697093] 156.38.231.107 port 18336 -> 41.160.32.115 port 22138 codec: 8 ms: 20 2024-03-19 14:48:44.104175 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7180 sofia/default/0712697093 Set 2833 dtmf send payload to 101 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7187 sofia/default/0712697093 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7210 sofia/default/0712697093 Set rtp dtmf delay to 40 2024-03-19 14:48:44.104175 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0712697093! 2024-03-19 14:48:44.104175 [DEBUG] switch_channel.c:3474 (sofia/default/0712697093) Callstate Change DOWN -> EARLY 2024-03-19 14:48:44.124170 [INFO] switch_ivr_originate.c:3654 Sending early media 2024-03-19 14:48:44.124170 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0538322348@legalaidsa.nebular.co.za:5060] 156.38.231.107 port 20384 -> 156.38.150.6 port 9652 codec: 8 ms: 20 2024-03-19 14:48:44.124170 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7180 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7187 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7210 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:44.144161 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1710839340 1710839341 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 20384 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:44.144161 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0538322348@legalaidsa.nebular.co.za:5060! 2024-03-19 14:48:44.144161 [DEBUG] switch_channel.c:3474 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2024-03-19 14:48:44.144161 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0712697093] 2024-03-19 14:48:44.144161 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [early][183] 2024-03-19 14:48:44.144161 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0712697093) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:44.144161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_EXCHANGE_MEDIA (Cur 39 Tot 535912) 2024-03-19 14:48:44.144161 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA 2024-03-19 14:48:44.144161 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:44.304170 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:44.304170 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [proceeding][180] 2024-03-19 14:48:44.304170 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 15896717988210 15896717988210 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22138 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4767 sofia/default/0712697093 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/0712697093. 2024-03-19 14:48:44.304170 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0712697093 Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:44.324178 [DEBUG] switch_ivr.c:623 sofia/default/0712697093 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0712697093 sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:44.324178 [DEBUG] switch_scheduler.c:249 Added task 216737 switch_ivr_schedule_hangup (c821b9e0-e5ff-11ee-80c2-d17fbcf33421) to run at 1710865724 2024-03-19 14:48:44.324178 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [terminated][487] 2024-03-19 14:48:44.324178 [NOTICE] sofia.c:8273 Hangup sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:712 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from read function 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0538322348@legalaidsa.nebular.co.za:5060] 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0712697093] 2024-03-19 14:48:44.344236 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/0712697093 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2024-03-19 14:48:44.344236 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:44.344236 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_HANGUP (Cur 39 Tot 535912) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0712697093) Callstate Change EARLY -> HANGUP 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:432 sofia/default/0712697093 Overriding SIP cause 487 with 487 from the other leg 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:438 Channel sofia/default/0712697093 hanging up, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.364172 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0712697093 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:44.364172 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_session.c:2815 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535912) 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/0712697093 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change EARLY -> HANGUP 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:60 sofia/default/0712697093 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP going to sleep 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:438 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 hanging up, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0712697093) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_REPORTING (Cur 39 Tot 535912) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:60 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535912) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING 2024-03-19 14:48:44.364172 [INFO] mod_json_cdr.c:271 Process [c821b9e0-e5ff-11ee-80c2-d17fbcf33421.cdr.json] 2024-03-19 14:48:44.364172 [INFO] mod_json_cdr.c:271 Process [c814bcf4-e5ff-11ee-809f-d17fbcf33421.cdr.json] 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:174 sofia/default/0712697093 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING going to sleep 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0712697093) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:44.364172 [DEBUG] switch_core_session.c:1665 Session 535912 (sofia/default/0712697093) Locked, Waiting on external entities 2024-03-19 14:48:44.364172 [NOTICE] switch_core_session.c:1683 Session 535912 (sofia/default/0712697093) Ended 2024-03-19 14:48:44.364172 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0712697093 [CS_DESTROY] 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0712697093) Running State Change CS_DESTROY (Cur 38 Tot 535912) 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:343 sofia/default/0712697093 SOFIA DESTROY 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:181 sofia/default/0712697093 Standard DESTROY 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY going to sleep 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:174 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:44.384227 [DEBUG] switch_core_session.c:1665 Session 535911 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:48:44.384227 [NOTICE] switch_core_session.c:1683 Session 535911 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Ended 2024-03-19 14:48:44.384227 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535912) 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY 2024-03-19 14:48:44.384227 [DEBUG] mod_sofia.c:343 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:181 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:48:44.424173 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0879445198@41.160.32.115:5060 [c8dc4af8-e5ff-11ee-80c8-d17fbcf33421] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_NEW (Cur 38 Tot 535913) 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:9873 sofia/default/0879445198@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 25422955451051 25422955451051 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22140 RTP/AVP 18 8 0 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0879445198@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:44.424173 [DEBUG] switch_core_codec.c:111 sofia/default/0879445198@41.160.32.115:5060 Original read codec set to G729:18 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4767 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7507 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0879445198@41.160.32.115:5060) State NEW 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_INIT (Cur 38 Tot 535913) 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0879445198@41.160.32.115:5060) State INIT 2024-03-19 14:48:44.424173 [DEBUG] mod_sofia.c:90 sofia/default/0879445198@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:40 sofia/default/0879445198@41.160.32.115:5060 Standard INIT 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0879445198@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 38 Tot 535913) 2024-03-19 14:48:44.424173 [DEBUG] switch_channel.c:2249 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0879445198@41.160.32.115:5060) State ROUTING 2024-03-19 14:48:44.424173 [DEBUG] mod_sofia.c:143 sofia/default/0879445198@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:236 sofia/default/0879445198@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:48:44.424173 [INFO] mod_dialplan_xml.c:637 Processing 0879445198 <0879445198>->D9570183814605 in context default 2024-03-19 14:48:44.424173 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570183814605 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570183814605' limit 1 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570183814605' AND status=0 limit 1 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570183814605' and status=0 LIMIT 1 2024-03-19 14:48:44.444160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0879445198 / 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570183814605" LIMIT 1 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570183814605" AND domains.domain="156.38.231.106" limit 1 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570183814605.*' OR blocked_patterns = '^D957018381460.*' OR blocked_patterns = '^D95701838146.*' OR blocked_patterns = '^D9570183814.*' OR blocked_patterns = '^D957018381.*' OR blocked_patterns = '^D95701838.*' OR blocked_patterns = '^D9570183.*' OR blocked_patterns = '^D957018.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570183814605" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570183814605 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570183814605 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570183814605 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0183814605 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0183814605.*' OR patterns = '^018381460.*' OR patterns = '^01838146.*' OR patterns = '^0183814.*' OR patterns = '^018381.*' OR patterns = '^01838.*' OR patterns = '^0183.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [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 ="0183814605" AND A.accountid = '3' limit 1 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0183814605 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0183814605" LIMIT 1 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0183814605' OR number = '018381460' OR number = '01838146' OR number = '0183814' OR number = '018381' OR number = '01838' OR number = '0183' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '0183814605*' OR number = '018381460*' OR number = '01838146*' OR number = '0183814*' OR number = '018381*' OR number = '01838*' OR number = '0183*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : legalaidsa.nebular.co.za 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1945384195" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1463 limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforelegalaidsa.nebular.co.za 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='1945384195' and uuid = 'c8dc4af8-e5ff-11ee-80c8-d17fbcf33421' order by id desc limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='1945384195' order by id desc limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1945384195" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1463 limit 1 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:44.484193 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. Dialplan: sofia/default/0879445198@41.160.32.115:5060 parsing [default->0183814605] continue=false Dialplan: sofia/default/0879445198@41.160.32.115:5060 Regex (PASS) [0183814605] destination_number(D9570183814605) =~ /D9570183814605/ break=on-false Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(effective_destination_number=0183814605) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:44) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(origination_rates_did=ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(original_caller_id_name=0879445198) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(effective_caller_id_name=27879445198) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(receiver_accid=109) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(domain_name=legalaidsa.nebular.co.za) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(sip_to_host=legalaidsa.nebular.co.za) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/1945384195/${uuid}) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(did_user_domain=legalaidsa.nebular.co.za) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/1945384195@legalaidsa.nebular.co.za^0183814605) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(variable_sip_to_host=legalaidsa.nebular.co.za) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(userinfo_id=109) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(sip_destination_number=1945384195) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(destination_number=0183814605) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(did_number=0183814605) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(user_domain=legalaidsa.nebular.co.za) Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0183814605_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0879445198@41.160.32.115:5060 Regex (FAIL) [0183814605_recur_1] ${cond(${user_data 1945384195@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0879445198@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0879445198@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 38 Tot 535913) 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0879445198@41.160.32.115:5060) State EXECUTE 2024-03-19 14:48:44.504175 [DEBUG] mod_sofia.c:198 sofia/default/0879445198@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:328 sofia/default/0879445198@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(effective_destination_number=0183814605) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [effective_destination_number]=[0183814605] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(callstart=2024-03-19 14:48:44) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:44] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(origination_rates_did=ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [origination_rates_did]=[ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(original_caller_id_name=0879445198) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [original_caller_id_name]=[0879445198] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(effective_caller_id_name=27879445198) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [effective_caller_id_name]=[27879445198] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(receiver_accid=109) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [receiver_accid]=[109] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(domain_name=legalaidsa.nebular.co.za) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(sip_to_host=legalaidsa.nebular.co.za) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(call_type=5) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(calltype=SIP-DID) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0879445198@41.160.32.115:5060 db(insert/pickup_any_group_/1945384195/c8dc4af8-e5ff-11ee-80c8-d17fbcf33421) EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(dialed_extension=transfer_call) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(dialed_extension=transfer_call) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0879445198@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:48:44.524167 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0879445198@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:48:44.524167 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(did_user_domain=legalaidsa.nebular.co.za) 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/0879445198@41.160.32.115:5060 sleep(1000) 2024-03-19 14:48:44.824180 [DEBUG] switch_scheduler.c:144 Deleting task 216737 switch_ivr_schedule_hangup (c821b9e0-e5ff-11ee-80c2-d17fbcf33421) EXECUTE sofia/default/0879445198@41.160.32.115:5060 ring_ready() 2024-03-19 14:48:45.524177 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0879445198@41.160.32.115:5060! 2024-03-19 14:48:45.524177 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [early][180] 2024-03-19 14:48:45.524177 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0879445198@41.160.32.115:5060! EXECUTE sofia/default/0879445198@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/1945384195@legalaidsa.nebular.co.za^0183814605) 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:48:45.524177 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1945384195@legalaidsa.nebular.co.za [c9844c80-e5ff-11ee-80f0-d17fbcf33421] 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:4819 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_INIT (Cur 39 Tot 535914) 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1945384195@legalaidsa.nebular.co.za) State INIT 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:90 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA INIT 2024-03-19 14:48:45.524177 [DEBUG] sofia_glue.c:1295 sofia/default/1945384195@legalaidsa.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710830977 1710830978 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 28748 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:40 sofia/default/1945384195@legalaidsa.nebular.co.za Standard INIT 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1945384195@legalaidsa.nebular.co.za) State INIT going to sleep 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_ROUTING (Cur 39 Tot 535914) 2024-03-19 14:48:45.524177 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [calling][0] 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1945384195@legalaidsa.nebular.co.za) State ROUTING 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:143 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA ROUTING 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1945384195@legalaidsa.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 39 Tot 535914) 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:662 (sofia/default/1945384195@legalaidsa.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:662 (sofia/default/1945384195@legalaidsa.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:45.644189 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:45.644189 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/1945384195@legalaidsa.nebular.co.za! 2024-03-19 14:48:45.644189 [DEBUG] switch_channel.c:3346 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:48:45.644189 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0879445198@41.160.32.115:5060! 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completing][200] 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 93449093120 500833452033 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9654 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/1945384195@legalaidsa.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:45.684171 [DEBUG] switch_core_codec.c:111 sofia/default/1945384195@legalaidsa.nebular.co.za Original read codec set to G729:18 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1945384195@legalaidsa.nebular.co.za] 156.38.231.107 port 28748 -> 156.38.150.6 port 9654 codec: 18 ms: 20 2024-03-19 14:48:45.684171 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7180 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7187 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7210 sofia/default/1945384195@legalaidsa.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:48:45.684171 [NOTICE] sofia.c:8218 Channel [sofia/default/1945384195@legalaidsa.nebular.co.za] has been answered 2024-03-19 14:48:45.684171 [DEBUG] switch_channel.c:3773 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0879445198@41.160.32.115:5060] 156.38.231.107 port 24378 -> 41.160.32.115 port 22140 codec: 18 ms: 20 2024-03-19 14:48:45.684171 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7180 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7187 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7210 sofia/default/0879445198@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:45.684171 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0879445198@41.160.32.115:5060: v=0 o=FreeSWITCH 1710835347 1710835348 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24378 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:45.684171 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0879445198@41.160.32.115:5060] has been answered 2024-03-19 14:48:45.684171 [DEBUG] switch_channel.c:3773 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:48:45.684171 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/1945384195@legalaidsa.nebular.co.za] 2024-03-19 14:48:45.704182 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:45.704182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 39 Tot 535914) 2024-03-19 14:48:45.704182 [DEBUG] switch_core_state_machine.c:653 (sofia/default/1945384195@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:48:45.704182 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:45.744163 [NOTICE] sofia.c:1012 Hangup sofia/default/27124315100@saqa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:45.744163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124315100@saqa.nebular.co.za:5060] 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124315100@saqa.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0614005014] 2024-03-19 14:48:45.764167 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0614005014 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0614005014) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0614005014) Running State Change CS_HANGUP (Cur 39 Tot 535914) 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0614005014) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0614005014) State HANGUP 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:432 sofia/default/0614005014 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0614005014 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124315100@saqa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:438 Channel sofia/default/0614005014 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_session.c:2815 sofia/default/27124315100@saqa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124315100@saqa.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535914) 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0614005014 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124315100@saqa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:60 sofia/default/0614005014 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0614005014) State HANGUP going to sleep 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124315100@saqa.nebular.co.za:5060) State HANGUP 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124315100@saqa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0614005014) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0614005014) Running State Change CS_REPORTING (Cur 39 Tot 535914) 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0614005014) State REPORTING 2024-03-19 14:48:45.764167 [INFO] mod_json_cdr.c:271 Process [ac7f9770-e5ff-11ee-bf3d-d17fbcf33421.cdr.json] 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124315100@saqa.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124315100@saqa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535914) 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124315100@saqa.nebular.co.za:5060) State REPORTING 2024-03-19 14:48:45.764167 [INFO] mod_json_cdr.c:271 Process [ac729d90-e5ff-11ee-bf1a-d17fbcf33421.cdr.json] 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:174 sofia/default/0614005014 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0614005014) State REPORTING going to sleep 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0614005014) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:45.784157 [DEBUG] switch_core_session.c:1665 Session 535895 (sofia/default/0614005014) Locked, Waiting on external entities 2024-03-19 14:48:45.784157 [NOTICE] switch_core_session.c:1683 Session 535895 (sofia/default/0614005014) Ended 2024-03-19 14:48:45.784157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0614005014 [CS_DESTROY] 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0614005014) Running State Change CS_DESTROY (Cur 38 Tot 535914) 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0614005014) State DESTROY 2024-03-19 14:48:45.784157 [DEBUG] mod_sofia.c:343 sofia/default/0614005014 SOFIA DESTROY 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:181 sofia/default/0614005014 Standard DESTROY 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0614005014) State DESTROY going to sleep 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124315100@saqa.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124315100@saqa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:45.804157 [DEBUG] switch_core_session.c:1665 Session 535894 (sofia/default/27124315100@saqa.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:48:45.804157 [NOTICE] switch_core_session.c:1683 Session 535894 (sofia/default/27124315100@saqa.nebular.co.za:5060) Ended 2024-03-19 14:48:45.804157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124315100@saqa.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535914) 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124315100@saqa.nebular.co.za:5060) State DESTROY 2024-03-19 14:48:45.804157 [DEBUG] mod_sofia.c:343 sofia/default/27124315100@saqa.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124315100@saqa.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:48:45.824157 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:45.824157 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:48:45.824157 [DEBUG] switch_scheduler.c:144 Deleting task 216730 switch_ivr_schedule_hangup (ac7f9770-e5ff-11ee-bf3d-d17fbcf33421) 2024-03-19 14:48:45.884162 [DEBUG] switch_ivr_bridge.c:546 sofia/default/1945384195@legalaidsa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:45.904153 [DEBUG] switch_ivr.c:623 sofia/default/1945384195@legalaidsa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/1945384195@legalaidsa.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:45.904153 [DEBUG] switch_scheduler.c:249 Added task 216738 switch_ivr_schedule_hangup (c9844c80-e5ff-11ee-80f0-d17fbcf33421) to run at 1710865725 2024-03-19 14:48:45.944171 [NOTICE] sofia.c:1012 Hangup sofia/default/+27633199717@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:45.944171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27633199717@41.160.32.115:5060] 2024-03-19 14:48:45.964181 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9654 to 156.38.231.105:9654 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:706 sofia/default/+27633199717@41.160.32.115:5060 ending bridge by request from write function 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/7682330505@legalaidsa.nebular.co.za] 2024-03-19 14:48:45.964181 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/7682330505@legalaidsa.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7682330505@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535914) 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/7682330505@legalaidsa.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27633199717@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7682330505@legalaidsa.nebular.co.za) State HANGUP 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:432 sofia/default/7682330505@legalaidsa.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:438 Channel sofia/default/7682330505@legalaidsa.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_session.c:2815 sofia/default/+27633199717@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27633199717@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535914) 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27633199717@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27633199717@41.160.32.115:5060) State HANGUP 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27633199717@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/7682330505@legalaidsa.nebular.co.za 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:60 sofia/default/7682330505@legalaidsa.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7682330505@legalaidsa.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:619 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535914) 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7682330505@legalaidsa.nebular.co.za) State REPORTING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27633199717@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27633199717@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27633199717@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535914) 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27633199717@41.160.32.115:5060) State REPORTING 2024-03-19 14:48:45.964181 [INFO] mod_json_cdr.c:271 Process [85c1db7a-e5ff-11ee-bca2-d17fbcf33421.cdr.json] 2024-03-19 14:48:45.964181 [INFO] mod_json_cdr.c:271 Process [8517d2ba-e5ff-11ee-bc7a-d17fbcf33421.cdr.json] 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:174 sofia/default/7682330505@legalaidsa.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7682330505@legalaidsa.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:610 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_session.c:1665 Session 535863 (sofia/default/7682330505@legalaidsa.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1683 Session 535863 (sofia/default/7682330505@legalaidsa.nebular.co.za) Ended 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/7682330505@legalaidsa.nebular.co.za [CS_DESTROY] 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:741 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535914) 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7682330505@legalaidsa.nebular.co.za) State DESTROY 2024-03-19 14:48:45.984312 [DEBUG] mod_sofia.c:343 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:181 sofia/default/7682330505@legalaidsa.nebular.co.za Standard DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7682330505@legalaidsa.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27633199717@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27633199717@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27633199717@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_session.c:1665 Session 535862 (sofia/default/+27633199717@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1683 Session 535862 (sofia/default/+27633199717@41.160.32.115:5060) Ended 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27633199717@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535914) 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27633199717@41.160.32.115:5060) State DESTROY 2024-03-19 14:48:45.984312 [DEBUG] mod_sofia.c:343 sofia/default/+27633199717@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27633199717@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27633199717@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:48:46.404178 [DEBUG] switch_scheduler.c:144 Deleting task 216713 switch_ivr_schedule_hangup (85c1db7a-e5ff-11ee-bca2-d17fbcf33421) 2024-03-19 14:48:48.424178 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0608899793@41.160.32.115:5060 [cb3d579c-e5ff-11ee-80f6-d17fbcf33421] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_NEW (Cur 36 Tot 535915) 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:9873 sofia/default/0608899793@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 130447790744128 130447790744128 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22142 RTP/AVP 18 8 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0608899793@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:48.424178 [DEBUG] switch_core_codec.c:111 sofia/default/0608899793@41.160.32.115:5060 Original read codec set to G729:18 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4767 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7507 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0608899793@41.160.32.115:5060) State NEW 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_INIT (Cur 36 Tot 535915) 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT 2024-03-19 14:48:48.424178 [DEBUG] mod_sofia.c:90 sofia/default/0608899793@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:40 sofia/default/0608899793@41.160.32.115:5060 Standard INIT 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 36 Tot 535915) 2024-03-19 14:48:48.424178 [DEBUG] switch_channel.c:2249 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING 2024-03-19 14:48:48.424178 [DEBUG] mod_sofia.c:143 sofia/default/0608899793@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:236 sofia/default/0608899793@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:48:48.424178 [INFO] mod_dialplan_xml.c:637 Processing 0608899793 <0608899793>->D9570415810403 in context default 2024-03-19 14:48:48.424178 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570415810403 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570415810403' limit 1 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570415810403' AND status=0 limit 1 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570415810403' and status=0 LIMIT 1 2024-03-19 14:48:48.424178 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0608899793 / 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570415810403" LIMIT 1 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570415810403" AND domains.domain="156.38.231.106" limit 1 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570415810403.*' OR blocked_patterns = '^D957041581040.*' OR blocked_patterns = '^D95704158104.*' OR blocked_patterns = '^D9570415810.*' OR blocked_patterns = '^D957041581.*' OR blocked_patterns = '^D95704158.*' OR blocked_patterns = '^D9570415.*' OR blocked_patterns = '^D957041.*' OR blocked_patterns = '^D95704.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570415810403" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570415810403 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570415810403 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570415810403 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0415810403 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0415810403.*' OR patterns = '^041581040.*' OR patterns = '^04158104.*' OR patterns = '^0415810.*' OR patterns = '^041581.*' OR patterns = '^04158.*' OR patterns = '^0415.*' OR patterns = '^041.*' OR patterns = '^04.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [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 ="0415810403" AND A.accountid = '3' limit 1 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0415810403 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0415810403" LIMIT 1 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0415810403' OR number = '041581040' OR number = '04158104' OR number = '0415810' OR number = '041581' OR number = '04158' OR number = '0415' OR number = '041' OR number = '04' OR number = '0' OR number ='--') OR (number = '0415810403*' OR number = '041581040*' OR number = '04158104*' OR number = '0415810*' OR number = '041581*' OR number = '04158*' OR number = '0415*' OR number = '041*' OR number = '04*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3218565295" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1063 limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3218565295' and uuid = 'cb3d579c-e5ff-11ee-80f6-d17fbcf33421' order by id desc limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3218565295' order by id desc limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3218565295" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1063 limit 1 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:48.464175 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. Dialplan: sofia/default/0608899793@41.160.32.115:5060 parsing [default->0415810403] continue=false Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (PASS) [0415810403] destination_number(D9570415810403) =~ /D9570415810403/ break=on-false Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_destination_number=0415810403) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:48) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates_did=ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(original_caller_id_name=0608899793) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_caller_id_name=27608899793) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(receiver_accid=103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/3218565295/${uuid}) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3218565295@saws.nebular.co.za^0415810403) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(userinfo_id=103) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(sip_destination_number=3218565295) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(destination_number=0415810403) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(did_number=0415810403) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za) Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0415810403_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (FAIL) [0415810403_recur_1] ${cond(${user_data 3218565295@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535915) 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE 2024-03-19 14:48:48.484172 [DEBUG] mod_sofia.c:198 sofia/default/0608899793@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:328 sofia/default/0608899793@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_destination_number=0415810403) 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_destination_number]=[0415810403] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(callstart=2024-03-19 14:48:48) 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:48] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates_did=ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates_did]=[ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(original_caller_id_name=0608899793) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [original_caller_id_name]=[0608899793] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_caller_id_name=27608899793) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_caller_id_name]=[27608899793] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(receiver_accid=103) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [receiver_accid]=[103] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(domain_name=saws.nebular.co.za) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(call_type=5) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(calltype=SIP-DID) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0608899793@41.160.32.115:5060 db(insert/pickup_any_group_/3218565295/cb3d579c-e5ff-11ee-80f6-d17fbcf33421) EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(dialed_extension=transfer_call) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(dialed_extension=transfer_call) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:48:48.504232 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:48:48.504232 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za) 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za] EXECUTE sofia/default/0608899793@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/0608899793@41.160.32.115:5060 ring_ready() 2024-03-19 14:48:49.504182 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0608899793@41.160.32.115:5060! 2024-03-19 14:48:49.504182 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [early][180] 2024-03-19 14:48:49.504182 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0608899793@41.160.32.115:5060! EXECUTE sofia/default/0608899793@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/3218565295@saws.nebular.co.za^0415810403) 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:48:49.504182 [NOTICE] switch_channel.c:1104 New Channel sofia/default/3218565295@saws.nebular.co.za [cbe43972-e5ff-11ee-811e-d17fbcf33421] 2024-03-19 14:48:49.504182 [DEBUG] mod_sofia.c:4819 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2963 sofia/default/3218565295@saws.nebular.co.za Setting leg timeout to 30 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535916) 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3218565295@saws.nebular.co.za) State INIT 2024-03-19 14:48:49.504182 [DEBUG] mod_sofia.c:90 sofia/default/3218565295@saws.nebular.co.za SOFIA INIT 2024-03-19 14:48:49.504182 [DEBUG] sofia_glue.c:1295 sofia/default/3218565295@saws.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710834621 1710834622 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 25108 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:40 sofia/default/3218565295@saws.nebular.co.za Standard INIT 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3218565295@saws.nebular.co.za) State INIT going to sleep 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535916) 2024-03-19 14:48:49.524194 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [calling][0] 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3218565295@saws.nebular.co.za) State ROUTING 2024-03-19 14:48:49.524194 [DEBUG] mod_sofia.c:143 sofia/default/3218565295@saws.nebular.co.za SOFIA ROUTING 2024-03-19 14:48:49.524194 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3218565295@saws.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535916) 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3218565295@saws.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3218565295@saws.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:49.604190 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:49.604190 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/3218565295@saws.nebular.co.za! 2024-03-19 14:48:49.604190 [DEBUG] switch_channel.c:3346 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:48:49.624191 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0608899793@41.160.32.115:5060! 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [completing][200] 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 248017584128 327088603137 IN IP4 156.38.150.5 s=3cxPS Audio call c=IN IP4 156.38.150.5 t=0 0 m=audio 9568 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [ready][200] 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/3218565295@saws.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:48:49.664177 [DEBUG] switch_core_codec.c:111 sofia/default/3218565295@saws.nebular.co.za Original read codec set to G729:18 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4767 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/3218565295@saws.nebular.co.za] 156.38.231.107 port 25108 -> 156.38.150.5 port 9568 codec: 18 ms: 20 2024-03-19 14:48:49.664177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7180 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7187 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7210 sofia/default/3218565295@saws.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:48:49.664177 [NOTICE] sofia.c:8218 Channel [sofia/default/3218565295@saws.nebular.co.za] has been answered 2024-03-19 14:48:49.664177 [DEBUG] switch_channel.c:3773 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0608899793@41.160.32.115:5060] 156.38.231.107 port 19744 -> 41.160.32.115 port 22142 codec: 18 ms: 20 2024-03-19 14:48:49.684159 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7180 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7187 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7210 sofia/default/0608899793@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:49.684159 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0608899793@41.160.32.115:5060: v=0 o=FreeSWITCH 1710839985 1710839986 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 19744 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:49.684159 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0608899793@41.160.32.115:5060] has been answered 2024-03-19 14:48:49.684159 [DEBUG] switch_channel.c:3773 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:49.684159 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:48:49.684159 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/3218565295@saws.nebular.co.za] 2024-03-19 14:48:49.684159 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:49.684159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 37 Tot 535916) 2024-03-19 14:48:49.684159 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3218565295@saws.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:48:49.684159 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:49.704300 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/ThistreeRe_.wav 2024-03-19 14:48:49.704300 [DEBUG] switch_ivr_menu.c:377 waiting for 20/20 digits t/o 2000 2024-03-19 14:48:49.804189 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:49.864178 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:48:49.864178 [DEBUG] switch_ivr_bridge.c:546 sofia/default/3218565295@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:49.884179 [DEBUG] switch_ivr.c:623 sofia/default/3218565295@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/3218565295@saws.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:49.884179 [DEBUG] switch_scheduler.c:249 Added task 216739 switch_ivr_schedule_hangup (cbe43972-e5ff-11ee-811e-d17fbcf33421) to run at 1710865729 2024-03-19 14:48:49.944179 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.5:9568 to 156.38.231.105:9568 2024-03-19 14:48:52.564177 [NOTICE] sofia.c:1012 Hangup sofia/default/0608899793@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:52.564177 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0608899793@41.160.32.115:5060] 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0608899793@41.160.32.115:5060 ending bridge by request from write function 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/3218565295@saws.nebular.co.za] 2024-03-19 14:48:52.584161 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/3218565295@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3218565295@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535916) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3218565295@saws.nebular.co.za) State HANGUP 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:432 sofia/default/3218565295@saws.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:438 Channel sofia/default/3218565295@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/3218565295@saws.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0608899793@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_session.c:2815 sofia/default/0608899793@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535916) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:438 Channel sofia/default/0608899793@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/3218565295@saws.nebular.co.za 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:60 sofia/default/3218565295@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3218565295@saws.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:619 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535916) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3218565295@saws.nebular.co.za) State REPORTING 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:60 sofia/default/0608899793@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535916) 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING 2024-03-19 14:48:52.584161 [INFO] mod_json_cdr.c:271 Process [cbe43972-e5ff-11ee-811e-d17fbcf33421.cdr.json] 2024-03-19 14:48:52.584161 [INFO] mod_json_cdr.c:271 Process [cb3d579c-e5ff-11ee-80f6-d17fbcf33421.cdr.json] 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:174 sofia/default/3218565295@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3218565295@saws.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:610 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_session.c:1665 Session 535916 (sofia/default/3218565295@saws.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1683 Session 535916 (sofia/default/3218565295@saws.nebular.co.za) Ended 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/3218565295@saws.nebular.co.za [CS_DESTROY] 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:741 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535916) 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3218565295@saws.nebular.co.za) State DESTROY 2024-03-19 14:48:52.604154 [DEBUG] mod_sofia.c:343 sofia/default/3218565295@saws.nebular.co.za SOFIA DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:181 sofia/default/3218565295@saws.nebular.co.za Standard DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3218565295@saws.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:174 sofia/default/0608899793@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_session.c:1665 Session 535915 (sofia/default/0608899793@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1683 Session 535915 (sofia/default/0608899793@41.160.32.115:5060) Ended 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0608899793@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535916) 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY 2024-03-19 14:48:52.604154 [DEBUG] mod_sofia.c:343 sofia/default/0608899793@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:181 sofia/default/0608899793@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:48:52.884175 [DEBUG] switch_scheduler.c:144 Deleting task 216739 switch_ivr_schedule_hangup (cbe43972-e5ff-11ee-811e-d17fbcf33421) 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:424 digits '' 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:513 Maximum timeouts 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)' EXECUTE sofia/default/0734382646@41.160.32.115:5060 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2024-03-19 14:48:53.724157 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected. 2024-03-19 14:48:53.724157 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:53.804157 [WARNING] switch_cpp.cpp:1365 [ASTPP] This is last dispositions no_key_press This is No Answer Number : 145 2024-03-19 14:48:53.804157 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET multidomain] Query :SELECT username FROM sip_devices WHERE id = 145 limit 1 2024-03-19 14:48:53.804157 [WARNING] switch_cpp.cpp:1365 [ASTPP] Bridge no_answer_number : {sip_invite_params=user=LOCAL,ignore_early_media=true,absolute_codec_string=^^:G729:PCMU:PCMA}sofia/${sofia_profile_name}/5805@karlovac.nebular.co.za EXECUTE sofia/default/0734382646@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,absolute_codec_string=^^:G729:PCMU:PCMA}sofia/default/5805@karlovac.nebular.co.za) 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1823 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[karlovac.nebular.co.za] to event 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[karlovac.nebular.co.za] to event 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[10] to event 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[145] to event 2024-03-19 14:48:53.804157 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:53.804157 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5805@karlovac.nebular.co.za [ce730c4a-e5ff-11ee-8129-d17fbcf33421] 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:4819 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_INIT (Cur 36 Tot 535917) 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5805@karlovac.nebular.co.za) State INIT 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:90 sofia/default/5805@karlovac.nebular.co.za SOFIA INIT 2024-03-19 14:48:53.804157 [DEBUG] sofia_glue.c:1295 sofia/default/5805@karlovac.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710833859 1710833860 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 25874 RTP/AVP 18 0 8 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:40 sofia/default/5805@karlovac.nebular.co.za Standard INIT 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5805@karlovac.nebular.co.za) State INIT going to sleep 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_ROUTING (Cur 36 Tot 535917) 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5805@karlovac.nebular.co.za) State ROUTING 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:143 sofia/default/5805@karlovac.nebular.co.za SOFIA ROUTING 2024-03-19 14:48:53.804157 [DEBUG] switch_ivr_originate.c:67 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5805@karlovac.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 36 Tot 535917) 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5805@karlovac.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5805@karlovac.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:53.804157 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [calling][0] 2024-03-19 14:48:53.844159 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:53.844159 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/5805@karlovac.nebular.co.za! 2024-03-19 14:48:53.844159 [DEBUG] switch_channel.c:3346 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:48:53.884165 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2024-03-19 14:48:53.884165 [DEBUG] switch_core_codec.c:223 sofia/default/0734382646@41.160.32.115:5060 Push codec L16:100 2024-03-19 14:48:53.884165 [DEBUG] switch_ivr_originate.c:1305 Play Ringback File [/var/www/html/astpp//upload/pbx/ThistreeRe_.wav] 2024-03-19 14:48:53.884165 [DEBUG] switch_core_file.c:342 File /var/www/html/astpp//upload/pbx/ThistreeRe_.wav sample rate 44100 doesn't match requested rate 8000 2024-03-19 14:48:53.904188 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7feda86f1648 0x7feda86f1650 2024-03-19 14:48:53.904188 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7feda86f1648 0x7feda86f1650 2024-03-19 14:48:54.004189 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:54.884171 [DEBUG] sofia.c:7084 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 entering state [terminated][487] 2024-03-19 14:48:54.884171 [NOTICE] sofia.c:8273 Hangup sofia/default/0103130000@mbvit.nebular.co.za:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:712 sofia/default/0103130000@mbvit.nebular.co.za:5060 ending bridge by request from read function 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0103130000@mbvit.nebular.co.za:5060] 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0103130000@mbvit.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0836750187] 2024-03-19 14:48:54.884171 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/0836750187 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836750187) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_HANGUP (Cur 36 Tot 535917) 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0836750187) Callstate Change RINGING -> HANGUP 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836750187) State HANGUP 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:432 sofia/default/0836750187 Overriding SIP cause 487 with 487 from the other leg 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:438 Channel sofia/default/0836750187 hanging up, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0836750187 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0103130000@mbvit.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:54.884171 [DEBUG] switch_core_session.c:2815 sofia/default/0103130000@mbvit.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 36 Tot 535917) 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/0836750187 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Callstate Change EARLY -> HANGUP 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:60 sofia/default/0836750187 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836750187) State HANGUP going to sleep 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State HANGUP 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:438 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 hanging up, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0836750187) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_REPORTING (Cur 36 Tot 535917) 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836750187) State REPORTING 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:60 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 36 Tot 535917) 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State REPORTING 2024-03-19 14:48:54.884171 [INFO] mod_json_cdr.c:271 Process [c021f2fa-e5ff-11ee-803d-d17fbcf33421.cdr.json] 2024-03-19 14:48:54.905460 [INFO] mod_json_cdr.c:271 Process [c01425a8-e5ff-11ee-801a-d17fbcf33421.cdr.json] 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:174 sofia/default/0836750187 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836750187) State REPORTING going to sleep 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0836750187) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:54.905460 [DEBUG] switch_core_session.c:1665 Session 535907 (sofia/default/0836750187) Locked, Waiting on external entities 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1683 Session 535907 (sofia/default/0836750187) Ended 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0836750187 [CS_DESTROY] 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0836750187) Running State Change CS_DESTROY (Cur 35 Tot 535917) 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836750187) State DESTROY 2024-03-19 14:48:54.905460 [DEBUG] mod_sofia.c:343 sofia/default/0836750187 SOFIA DESTROY 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:181 sofia/default/0836750187 Standard DESTROY 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836750187) State DESTROY going to sleep 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:174 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:54.905460 [DEBUG] switch_core_session.c:1665 Session 535906 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1683 Session 535906 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Ended 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535917) 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State DESTROY 2024-03-19 14:48:54.905460 [DEBUG] mod_sofia.c:343 sofia/default/0103130000@mbvit.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:48:54.924227 [DEBUG] switch_core_state_machine.c:181 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:48:54.924227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:48:55.384189 [DEBUG] switch_scheduler.c:144 Deleting task 216734 switch_ivr_schedule_hangup (c021f2fa-e5ff-11ee-803d-d17fbcf33421) 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [completing][200] 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 41155420644927 41155420644927 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22130 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [ready][200] 2024-03-19 14:48:55.544169 [NOTICE] sofia.c:8159 Channel [sofia/default/0797964625] has been answered 2024-03-19 14:48:55.544169 [DEBUG] switch_channel.c:3773 (sofia/default/0797964625) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:55.544169 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/0333942190@legalaidsa.nebular.co.za:5060. 2024-03-19 14:48:55.544169 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0333942190@legalaidsa.nebular.co.za:5060: v=0 o=FreeSWITCH 1710841953 1710841955 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17760 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:55.544169 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/0333942190@legalaidsa.nebular.co.za:5060] has been answered 2024-03-19 14:48:55.544169 [DEBUG] switch_channel.c:3773 (sofia/default/0333942190@legalaidsa.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [completed][200] 2024-03-19 14:48:55.584179 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:55.604172 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:55.624172 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [ready][200] 2024-03-19 14:48:56.564177 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:800 2024-03-19 14:48:56.564177 [INFO] switch_channel.c:515 RECV DTMF *:800 2024-03-19 14:48:56.584176 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=232926018 dur=160/160/800 seq=37319 lw=232926018 2024-03-19 14:48:56.604183 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=320/320/800 seq=37320 lw=232926178 2024-03-19 14:48:56.624177 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=480/480/800 seq=37321 lw=232926338 2024-03-19 14:48:56.644164 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=640/640/800 seq=37322 lw=232926498 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37323 lw=232926498 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37324 lw=232926498 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37325 lw=232926498 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2024-03-19 14:48:56.864169 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100] 2024-03-19 14:48:56.864169 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 93449093120 500833452034 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9654 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=sendonly 2024-03-19 14:48:56.864169 [DEBUG] switch_channel.c:1844 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HELD 2024-03-19 14:48:57.004196 [DEBUG] switch_ivr.c:623 sofia/default/0879445198@41.160.32.115:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/default/0879445198@41.160.32.115:5060 playback(local_stream://moh) 2024-03-19 14:48:57.004196 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2024-03-19 14:48:57.004196 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2024-03-19 14:48:57.024189 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7feda861f120 0x7feda861f120 2024-03-19 14:48:57.024189 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7feda861f120 0x7feda861f120 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za. 2024-03-19 14:48:57.104189 [DEBUG] sofia.c:7999 Processing updated SDP 2024-03-19 14:48:57.124192 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200] 2024-03-19 14:48:57.144175 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:48:57.324169 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100] 2024-03-19 14:48:57.324169 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 93449093120 500833452035 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9654 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:57.584194 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2024-03-19 14:48:57.584194 [DEBUG] switch_channel.c:2029 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change HELD -> UNHELD 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za. 2024-03-19 14:48:57.584194 [DEBUG] sofia.c:7999 Processing updated SDP 2024-03-19 14:48:57.604181 [DEBUG] switch_core_io.c:941 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change UNHELD -> ACTIVE 2024-03-19 14:48:57.604181 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200] 2024-03-19 14:48:57.624172 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:48:57.664181 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:48:58.284165 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27872504323@41.160.32.115:5060 [d11d9096-e5ff-11ee-812e-d17fbcf33421] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_NEW (Cur 35 Tot 535918) 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:9873 sofia/default/+27872504323@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 51867069106371 51867069106371 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22144 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27872504323@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:58.284165 [DEBUG] switch_core_codec.c:111 sofia/default/+27872504323@41.160.32.115:5060 Original read codec set to PCMA:8 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4767 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7507 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27872504323@41.160.32.115:5060) State NEW 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_INIT (Cur 35 Tot 535918) 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27872504323@41.160.32.115:5060) State INIT 2024-03-19 14:48:58.284165 [DEBUG] mod_sofia.c:90 sofia/default/+27872504323@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27872504323@41.160.32.115:5060 Standard INIT 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27872504323@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 35 Tot 535918) 2024-03-19 14:48:58.284165 [DEBUG] switch_channel.c:2249 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27872504323@41.160.32.115:5060) State ROUTING 2024-03-19 14:48:58.284165 [DEBUG] mod_sofia.c:143 sofia/default/+27872504323@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27872504323@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:48:58.284165 [INFO] mod_dialplan_xml.c:637 Processing +27872504323 <+27872504323>->D9570123676150 in context default 2024-03-19 14:48:58.304312 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570123676150 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570123676150' limit 1 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570123676150' AND status=0 limit 1 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570123676150' and status=0 LIMIT 1 2024-03-19 14:48:58.304312 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +27872504323 / 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570123676150" LIMIT 1 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570123676150" AND domains.domain="156.38.231.106" limit 1 2024-03-19 14:48:58.324161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:48:58.324161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570123676150.*' OR blocked_patterns = '^D957012367615.*' OR blocked_patterns = '^D95701236761.*' OR blocked_patterns = '^D9570123676.*' OR blocked_patterns = '^D957012367.*' OR blocked_patterns = '^D95701236.*' OR blocked_patterns = '^D9570123.*' OR blocked_patterns = '^D957012.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570123676150" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570123676150 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570123676150 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570123676150 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0123676150 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0123676150.*' OR patterns = '^012367615.*' OR patterns = '^01236761.*' OR patterns = '^0123676.*' OR patterns = '^012367.*' OR patterns = '^01236.*' OR patterns = '^0123.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [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 ="0123676150" AND A.accountid = '3' limit 1 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0123676150 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0123676150" LIMIT 1 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0123676150' OR number = '012367615' OR number = '01236761' OR number = '0123676' OR number = '012367' OR number = '01236' OR number = '0123' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0123676150*' OR number = '012367615*' OR number = '01236761*' OR number = '0123676*' OR number = '012367*' OR number = '01236*' OR number = '0123*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3015245154" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1055 limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3015245154' and uuid = 'd11d9096-e5ff-11ee-812e-d17fbcf33421' order by id desc limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3015245154' order by id desc limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3015245154" AND domains.domain="saws.nebular.co.za" limit 1 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1055 limit 1 2024-03-19 14:48:58.384156 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:48:58.384156 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 parsing [default->0123676150] continue=false Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Regex (PASS) [0123676150] destination_number(D9570123676150) =~ /D9570123676150/ break=on-false Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(effective_destination_number=0123676150) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:58) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(origination_rates_did=ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(original_caller_id_name=+27872504323) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(effective_caller_id_name=+27872504323) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(receiver_accid=103) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/3015245154/${uuid}) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3015245154@saws.nebular.co.za^0123676150) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(userinfo_id=103) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(sip_destination_number=3015245154) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(destination_number=0123676150) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(did_number=0123676150) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za) Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0123676150_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Regex (FAIL) [0123676150_recur_1] ${cond(${user_data 3015245154@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/+27872504323@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27872504323@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 35 Tot 535918) 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27872504323@41.160.32.115:5060) State EXECUTE 2024-03-19 14:48:58.404153 [DEBUG] mod_sofia.c:198 sofia/default/+27872504323@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27872504323@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(effective_destination_number=0123676150) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [effective_destination_number]=[0123676150] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(callstart=2024-03-19 14:48:58) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:58] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(origination_rates_did=ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [origination_rates_did]=[ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(original_caller_id_name=+27872504323) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [original_caller_id_name]=[+27872504323] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(effective_caller_id_name=+27872504323) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [effective_caller_id_name]=[+27872504323] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(receiver_accid=103) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [receiver_accid]=[103] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(domain_name=saws.nebular.co.za) 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za) 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(call_type=5) 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(calltype=SIP-DID) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 db(insert/pickup_any_group_/3015245154/d11d9096-e5ff-11ee-812e-d17fbcf33421) EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(dialed_extension=transfer_call) 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(dialed_extension=transfer_call) 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:48:58.404153 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:48:58.404153 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:48:58.424162 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za) 2024-03-19 14:48:58.424162 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za] EXECUTE sofia/default/+27872504323@41.160.32.115:5060 sleep(1000) 2024-03-19 14:48:58.744173 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5810@karlovac.nebular.co.za:5060 [d165d54a-e5ff-11ee-8151-d17fbcf33421] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_NEW (Cur 36 Tot 535919) 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:9873 sofia/default/5810@karlovac.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [received][100] 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20002 20002 IN IP4 102.219.180.81 s=SDP data i=(o=IN IP4 102.219.180.66) c=IN IP4 102.219.180.81 t=0 0 m=audio 12464 RTP/AVP 9 0 8 18 101 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5810@karlovac.nebular.co.za:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:58.744173 [DEBUG] switch_core_codec.c:111 sofia/default/5810@karlovac.nebular.co.za:5060 Original read codec set to PCMU:0 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4767 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7507 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5810@karlovac.nebular.co.za:5060) State NEW 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_INIT (Cur 36 Tot 535919) 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5810@karlovac.nebular.co.za:5060) State INIT 2024-03-19 14:48:58.744173 [DEBUG] mod_sofia.c:90 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA INIT 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:40 sofia/default/5810@karlovac.nebular.co.za:5060 Standard INIT 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5810@karlovac.nebular.co.za:5060) State INIT going to sleep 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 36 Tot 535919) 2024-03-19 14:48:58.744173 [DEBUG] switch_channel.c:2249 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5810@karlovac.nebular.co.za:5060) State ROUTING 2024-03-19 14:48:58.744173 [DEBUG] mod_sofia.c:143 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA ROUTING 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:236 sofia/default/5810@karlovac.nebular.co.za:5060 Standard ROUTING 2024-03-19 14:48:58.744173 [INFO] mod_dialplan_xml.c:637 Processing 5810 <5810>->*100 in context default 2024-03-19 14:48:58.764160 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] TRAN user_domain: karlovac.nebular.co.za 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] hunt_destination_number: *100 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Cod..transfer_blind_value*2 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code blind_value_two_digit*2 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code destination_number_two_digit*1 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code transfer_attended_two_digit*3 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : *100 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '*100' limit 1 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code Action :::: call_pickup_all_group 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] sip_number :5810 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_sip_accountcode] Query :SELECT sip_devices.accountid from sip_devices,domains where sip_devices.accountid=domains.accountid and sip_devices.username = '5810' and domain = 'karlovac.nebular.co.za' limit 1 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5810" AND domains.domain="karlovac.nebular.co.za" limit 1 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] sip_info id :155 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] feature_code_action :call_pickup_all_group 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Generated XML:
2024-03-19 14:48:58.764160 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 parsing [default->\*100] continue=false Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Regex (PASS) [\*100] destination_number(*100) =~ /\*100/ break=on-false Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action export(did_user_domain=karlovac.nebular.co.za) Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action answer() Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action play_and_get_digits(2 15 3 7000 # /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+) Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action intercept(${db(select/pickup_any_group_${callgroup}/${foobar})}) Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action sleep(2000) 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:286 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5810@karlovac.nebular.co.za:5060) State ROUTING going to sleep 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535919) 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5810@karlovac.nebular.co.za:5060) State EXECUTE 2024-03-19 14:48:58.764160 [DEBUG] mod_sofia.c:198 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA EXECUTE 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:328 sofia/default/5810@karlovac.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 export(did_user_domain=karlovac.nebular.co.za) 2024-03-19 14:48:58.764160 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[karlovac.nebular.co.za] EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 answer() 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5810@karlovac.nebular.co.za:5060] 156.38.231.107 port 28268 -> 102.219.180.81 port 12464 codec: 0 ms: 20 2024-03-19 14:48:58.764160 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7180 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7187 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7210 sofia/default/5810@karlovac.nebular.co.za:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:58.764160 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/5810@karlovac.nebular.co.za:5060: v=0 o=FreeSWITCH 1710831470 1710831471 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 28268 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:58.764160 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/5810@karlovac.nebular.co.za:5060] has been answered 2024-03-19 14:48:58.764160 [DEBUG] switch_channel.c:3773 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:58.764160 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [completed][200] EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 play_and_get_digits(2 15 3 7000 # /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+) 2024-03-19 14:48:58.784174 [DEBUG] switch_core_file.c:342 File /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav sample rate 22050 doesn't match requested rate 8000 2024-03-19 14:48:58.784174 [WARNING] switch_core_file.c:360 File has 2 channels, muxing to 1 channel will occur. 2024-03-19 14:48:58.784174 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2024-03-19 14:48:58.804158 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [ready][200] 2024-03-19 14:48:58.904178 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 ring_ready() 2024-03-19 14:48:59.424188 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27872504323@41.160.32.115:5060! 2024-03-19 14:48:59.424188 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [early][180] 2024-03-19 14:48:59.424188 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27872504323@41.160.32.115:5060! EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/3015245154@saws.nebular.co.za^0123676150) 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:48:59.424188 [NOTICE] switch_channel.c:1104 New Channel sofia/default/3015245154@saws.nebular.co.za [d1cce46a-e5ff-11ee-815b-d17fbcf33421] 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:4819 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2963 sofia/default/3015245154@saws.nebular.co.za Setting leg timeout to 30 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535920) 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3015245154@saws.nebular.co.za) State INIT 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:90 sofia/default/3015245154@saws.nebular.co.za SOFIA INIT 2024-03-19 14:48:59.424188 [DEBUG] sofia_glue.c:1295 sofia/default/3015245154@saws.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710838399 1710838400 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 21340 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:40 sofia/default/3015245154@saws.nebular.co.za Standard INIT 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3015245154@saws.nebular.co.za) State INIT going to sleep 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535920) 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3015245154@saws.nebular.co.za) State ROUTING 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:143 sofia/default/3015245154@saws.nebular.co.za SOFIA ROUTING 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3015245154@saws.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535920) 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3015245154@saws.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3015245154@saws.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:48:59.424188 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [calling][0] 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [proceeding][180] 2024-03-19 14:48:59.644177 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/3015245154@saws.nebular.co.za! 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3346 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [completing][200] 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 241474469888 393325051905 IN IP4 156.38.150.5 s=3cxPS Audio call c=IN IP4 156.38.150.5 t=0 0 m=audio 9570 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [ready][200] 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/3015245154@saws.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:48:59.644177 [DEBUG] switch_core_codec.c:111 sofia/default/3015245154@saws.nebular.co.za Original read codec set to PCMA:8 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4767 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/3015245154@saws.nebular.co.za] 156.38.231.107 port 21340 -> 156.38.150.5 port 9570 codec: 8 ms: 20 2024-03-19 14:48:59.644177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7180 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7187 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7210 sofia/default/3015245154@saws.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:48:59.644177 [NOTICE] sofia.c:8218 Channel [sofia/default/3015245154@saws.nebular.co.za] has been answered 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3773 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:59.644177 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27872504323@41.160.32.115:5060! 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27872504323@41.160.32.115:5060] 156.38.231.107 port 20208 -> 41.160.32.115 port 22144 codec: 8 ms: 20 2024-03-19 14:48:59.644177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7180 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7187 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7210 sofia/default/+27872504323@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:48:59.644177 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27872504323@41.160.32.115:5060: v=0 o=FreeSWITCH 1710839531 1710839532 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 20208 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:48:59.644177 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27872504323@41.160.32.115:5060] has been answered 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3773 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:48:59.644177 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/3015245154@saws.nebular.co.za] 2024-03-19 14:48:59.644177 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:48:59.644177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 37 Tot 535920) 2024-03-19 14:48:59.644177 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3015245154@saws.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:48:59.644177 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:48:59.844157 [DEBUG] switch_ivr_bridge.c:546 sofia/default/3015245154@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:59.844157 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:48:59.864307 [DEBUG] switch_ivr.c:623 sofia/default/3015245154@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/3015245154@saws.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:48:59.864307 [DEBUG] switch_scheduler.c:249 Added task 216740 switch_ivr_schedule_hangup (d1cce46a-e5ff-11ee-815b-d17fbcf33421) to run at 1710865739 2024-03-19 14:48:59.864307 [NOTICE] sofia.c:1012 Hangup sofia/default/+27872504323@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:48:59.864307 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27872504323@41.160.32.115:5060] 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/3015245154@saws.nebular.co.za] 2024-03-19 14:48:59.884175 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/3015245154@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3015245154@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535920) 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3015245154@saws.nebular.co.za) State HANGUP 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:432 sofia/default/3015245154@saws.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:438 Channel sofia/default/3015245154@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/3015245154@saws.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27872504323@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/3015245154@saws.nebular.co.za 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:60 sofia/default/3015245154@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3015245154@saws.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:619 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535920) 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3015245154@saws.nebular.co.za) State REPORTING 2024-03-19 14:48:59.884175 [DEBUG] switch_core_session.c:2815 sofia/default/+27872504323@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27872504323@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535920) 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27872504323@41.160.32.115:5060) State HANGUP 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27872504323@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:48:59.884175 [INFO] mod_json_cdr.c:271 Process [d1cce46a-e5ff-11ee-815b-d17fbcf33421.cdr.json] 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27872504323@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27872504323@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535920) 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27872504323@41.160.32.115:5060) State REPORTING 2024-03-19 14:48:59.884175 [INFO] mod_json_cdr.c:271 Process [d11d9096-e5ff-11ee-812e-d17fbcf33421.cdr.json] 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:174 sofia/default/3015245154@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3015245154@saws.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:610 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_session.c:1665 Session 535920 (sofia/default/3015245154@saws.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1683 Session 535920 (sofia/default/3015245154@saws.nebular.co.za) Ended 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/3015245154@saws.nebular.co.za [CS_DESTROY] 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:741 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535920) 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3015245154@saws.nebular.co.za) State DESTROY 2024-03-19 14:48:59.904175 [DEBUG] mod_sofia.c:343 sofia/default/3015245154@saws.nebular.co.za SOFIA DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:181 sofia/default/3015245154@saws.nebular.co.za Standard DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3015245154@saws.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27872504323@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27872504323@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_session.c:1665 Session 535918 (sofia/default/+27872504323@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1683 Session 535918 (sofia/default/+27872504323@41.160.32.115:5060) Ended 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27872504323@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535920) 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27872504323@41.160.32.115:5060) State DESTROY 2024-03-19 14:48:59.904175 [DEBUG] mod_sofia.c:343 sofia/default/+27872504323@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27872504323@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27872504323@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:49:00.364178 [DEBUG] switch_scheduler.c:144 Deleting task 216740 switch_ivr_schedule_hangup (d1cce46a-e5ff-11ee-815b-d17fbcf33421) 2024-03-19 14:49:01.944305 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav 2024-03-19 14:49:02.944170 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 5:800 2024-03-19 14:49:02.944170 [INFO] switch_channel.c:515 RECV DTMF 5:800 2024-03-19 14:49:03.384209 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 8:800 2024-03-19 14:49:03.384209 [INFO] switch_channel.c:515 RECV DTMF 8:800 2024-03-19 14:49:03.764214 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:800 2024-03-19 14:49:03.764214 [INFO] switch_channel.c:515 RECV DTMF 0:800 2024-03-19 14:49:04.164206 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 5:800 2024-03-19 14:49:04.164206 [INFO] switch_channel.c:515 RECV DTMF 5:800 2024-03-19 14:49:04.764173 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF #:800 2024-03-19 14:49:04.764173 [INFO] switch_channel.c:515 RECV DTMF #:800 EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 intercept(6b9d227a-e5ca-11ee-b931-d17fbcf33421) 2024-03-19 14:49:04.764173 [DEBUG] switch_ivr_bridge.c:2093 no uuid 6b9d227a-e5ca-11ee-b931-d17fbcf33421 EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 sleep(2000) 2024-03-19 14:49:05.384174 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:800 2024-03-19 14:49:05.384174 [INFO] switch_channel.c:515 RECV DTMF *:800 2024-03-19 14:49:05.404191 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=232997058 dur=160/160/800 seq=37725 lw=232997058 2024-03-19 14:49:05.424180 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=320/320/800 seq=37726 lw=232997218 2024-03-19 14:49:05.444178 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=480/480/800 seq=37727 lw=232997378 2024-03-19 14:49:05.464166 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=640/640/800 seq=37728 lw=232997538 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37729 lw=232997538 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37730 lw=232997538 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37731 lw=232997538 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2024-03-19 14:49:05.624189 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100] 2024-03-19 14:49:05.624189 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 93449093120 500833452036 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9654 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=sendonly 2024-03-19 14:49:05.624189 [DEBUG] switch_channel.c:1844 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HELD 2024-03-19 14:49:05.744156 [DEBUG] switch_ivr.c:623 sofia/default/0879445198@41.160.32.115:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/default/0879445198@41.160.32.115:5060 playback(local_stream://moh) 2024-03-19 14:49:05.744156 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2024-03-19 14:49:05.744156 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za. 2024-03-19 14:49:05.864185 [DEBUG] sofia.c:7999 Processing updated SDP 2024-03-19 14:49:05.884168 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200] 2024-03-19 14:49:05.924172 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:49:06.164161 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100] 2024-03-19 14:49:06.164161 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 93449093120 500833452037 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9654 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:49:06.424157 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2024-03-19 14:49:06.424157 [DEBUG] switch_channel.c:2029 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change HELD -> UNHELD 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za. 2024-03-19 14:49:06.424157 [DEBUG] sofia.c:7999 Processing updated SDP 2024-03-19 14:49:06.424157 [DEBUG] switch_core_io.c:941 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change UNHELD -> ACTIVE 2024-03-19 14:49:06.424157 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200] 2024-03-19 14:49:06.424157 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:49:06.464180 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:49:06.784160 [NOTICE] switch_core_state_machine.c:385 sofia/default/5810@karlovac.nebular.co.za:5060 has executed the last dialplan instruction, hanging up. 2024-03-19 14:49:06.784160 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/5810@karlovac.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5810@karlovac.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 35 Tot 535920) 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5810@karlovac.nebular.co.za:5060) State HANGUP 2024-03-19 14:49:06.784160 [DEBUG] mod_sofia.c:438 Channel sofia/default/5810@karlovac.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:06.784160 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/5810@karlovac.nebular.co.za:5060 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:60 sofia/default/5810@karlovac.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5810@karlovac.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 35 Tot 535920) 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5810@karlovac.nebular.co.za:5060) State REPORTING 2024-03-19 14:49:06.784160 [INFO] mod_json_cdr.c:271 Process [d165d54a-e5ff-11ee-8151-d17fbcf33421.cdr.json] 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:174 sofia/default/5810@karlovac.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5810@karlovac.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:06.804748 [DEBUG] switch_core_session.c:1665 Session 535919 (sofia/default/5810@karlovac.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:49:06.804748 [NOTICE] switch_core_session.c:1683 Session 535919 (sofia/default/5810@karlovac.nebular.co.za:5060) Ended 2024-03-19 14:49:06.804748 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5810@karlovac.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535920) 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5810@karlovac.nebular.co.za:5060) State DESTROY 2024-03-19 14:49:06.804748 [DEBUG] mod_sofia.c:343 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:181 sofia/default/5810@karlovac.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5810@karlovac.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:49:08.544159 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27124315062@saqa.nebular.co.za:5060 [d73c8004-e5ff-11ee-8164-d17fbcf33421] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_NEW (Cur 35 Tot 535921) 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:9873 sofia/default/27124315062@saqa.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [received][100] 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 89657442304 283853717505 IN IP4 156.38.150.10 s=3cxPS Audio call c=IN IP4 156.38.150.10 t=0 0 m=audio 9524 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27124315062@saqa.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:49:08.544159 [DEBUG] switch_core_codec.c:111 sofia/default/27124315062@saqa.nebular.co.za:5060 Original read codec set to PCMA:8 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4767 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7507 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27124315062@saqa.nebular.co.za:5060) State NEW 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_INIT (Cur 35 Tot 535921) 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124315062@saqa.nebular.co.za:5060) State INIT 2024-03-19 14:49:08.544159 [DEBUG] mod_sofia.c:90 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA INIT 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:40 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard INIT 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124315062@saqa.nebular.co.za:5060) State INIT going to sleep 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 35 Tot 535921) 2024-03-19 14:49:08.544159 [DEBUG] switch_channel.c:2249 (sofia/default/27124315062@saqa.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124315062@saqa.nebular.co.za:5060) State ROUTING 2024-03-19 14:49:08.544159 [DEBUG] mod_sofia.c:143 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA ROUTING 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:236 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard ROUTING 2024-03-19 14:49:08.544159 [INFO] mod_dialplan_xml.c:637 Processing 27124315062 <27124315062>->27124315224 in context default 2024-03-19 14:49:08.544159 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected. 2024-03-19 14:49:08.544159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:49:08.544159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 27124315224 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '27124315224' limit 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27124315224' AND status=0 limit 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '27124315224' and status=0 LIMIT 1 2024-03-19 14:49:08.564176 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 27124315062 / 27124315062 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27124315224" LIMIT 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27124315224" AND domains.domain="saqa.nebular.co.za" limit 1 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 602496] 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "602496" AND deleted = 0 limit 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27124315224.*' OR blocked_patterns = '^2712431522.*' OR blocked_patterns = '^271243152.*' OR blocked_patterns = '^27124315.*' OR blocked_patterns = '^2712431.*' OR blocked_patterns = '^271243.*' OR blocked_patterns = '^27124.*' OR blocked_patterns = '^2712.*' OR blocked_patterns = '^271.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 111 limit 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27124315224" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0".....27124315224 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 27124315224 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0124315224 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0124315224.*' OR patterns = '^012431522.*' OR patterns = '^01243152.*' OR patterns = '^0124315.*' OR patterns = '^012431.*' OR patterns = '^01243.*' OR patterns = '^0124.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 111 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [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 ="0124315224" AND A.accountid = '111' limit 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0124315224 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0124315224' OR number = '012431522' OR number = '01243152' OR number = '0124315' OR number = '012431' OR number = '01243' OR number = '0124' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0124315224*' OR number = '012431522*' OR number = '01243152*' OR number = '0124315*' OR number = '012431*' OR number = '01243*' OR number = '0124*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '27124315062' OR number = '2712431506' OR number = '271243150' OR number = '27124315' OR number = '2712431' OR number = '271243' OR number = '27124' OR number = '2712' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27124315062*' OR number = '2712431506*' OR number = '271243150*' OR number = '27124315*' OR number = '2712431*' OR number = '271243*' OR number = '27124*' OR number = '2712*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0124315224' OR routing_prefix = '012431522' OR routing_prefix = '01243152' OR routing_prefix = '0124315' OR routing_prefix = '012431' OR routing_prefix = '01243' OR routing_prefix = '0124' OR routing_prefix = '012' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 13 limit 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 111 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 602496 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3882.8 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 67 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 67 AND status = 0 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8935 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0124315224 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 111 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3882.8 balance Accountid 111 !!! 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 13 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 13 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 778509 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10310.6483 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8935 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0124315224 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 13 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10310.6483 balance Accountid 13 !!! 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 111 AND status=0 LIMIT 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++111 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "111" AND deleted = 0 limit 1 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:111 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:111 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 111 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 111 limit 1 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : saqa.nebular.co.za 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 111 limit 1 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saqa.nebular.co.za 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="602496" AND domains.domain="saqa.nebular.co.za" limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1219 limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaqa.nebular.co.za 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='602496' and uuid = 'd73c8004-e5ff-11ee-8164-d17fbcf33421' order by id desc limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='602496' order by id desc limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="602496" AND domains.domain="saqa.nebular.co.za" limit 1 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1219 limit 1 2024-03-19 14:49:08.624166 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:49:08.624166 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 parsing [default->0124315224] continue=false Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Regex (PASS) [0124315224] destination_number(27124315224) =~ /27124315224/ break=on-false Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_destination_number=0124315224) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(callstart=2024-03-19 14:49:08) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(account_id=111) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(parent_id=13) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(call_direction=inbound) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(origination_rates_did=ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(origination_rates=0) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(original_caller_id_name=27124315062) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(original_caller_id_number=27124315062) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action limit(db 602496 user_602496 50 ) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_caller_id_name=27124315062) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_caller_id_number=27124315062) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(receiver_accid=111) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(domain_name=saqa.nebular.co.za) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(sip_to_host=saqa.nebular.co.za) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(presence_data=x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(call_type=5) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action db(insert/pickup_any_group_${callgroup}/602496/${uuid}) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(did_user_domain=saqa.nebular.co.za) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action sleep(1000) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action ring_ready() Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/602496@saqa.nebular.co.za^0124315224) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(on_busy_destination=) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(no_answer_destination=) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(not_register_flag=1) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(not_register_destination=) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(opensips_flag=0) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(variable_sip_to_host=saqa.nebular.co.za) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(leg_timeout=20) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(userinfo_id=111) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(sip_destination_number=602496) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(destination_number=0124315224) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(did_number=0124315224) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(user_domain=saqa.nebular.co.za) Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0124315224_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Regex (FAIL) [0124315224_recur_1] ${cond(${user_data 602496@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124315062@saqa.nebular.co.za:5060) State ROUTING going to sleep 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 35 Tot 535921) 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124315062@saqa.nebular.co.za:5060) State EXECUTE 2024-03-19 14:49:08.644164 [DEBUG] mod_sofia.c:198 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA EXECUTE 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:328 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_destination_number=0124315224) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_destination_number]=[0124315224] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(callstart=2024-03-19 14:49:08) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [callstart]=[2024-03-19 14:49:08] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(hangup_after_bridge=true) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(continue_on_fail=TRUE) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(account_id=111) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [account_id]=[111] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(parent_id=13) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [parent_id]=[13] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(entity_id=0) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(call_processed=internal) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(call_direction=inbound) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [call_direction]=[inbound] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(accountname=default) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(origination_rates_did=ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [origination_rates_did]=[ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(origination_rates=0) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [origination_rates]=[0] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(original_caller_id_name=27124315062) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [original_caller_id_name]=[27124315062] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(original_caller_id_number=27124315062) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [original_caller_id_number]=[27124315062] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 limit(db 602496 user_602496 50 ) 2024-03-19 14:49:08.644164 [DEBUG] switch_limit.c:126 incr called: 602496_user_602496 max:50, interval:0 2024-03-19 14:49:08.644164 [DEBUG] mod_db.c:194 Usage for 602496_user_602496 is now 1/50 EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_caller_id_name=27124315062) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_caller_id_name]=[27124315062] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_caller_id_number=27124315062) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_caller_id_number]=[27124315062] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(receiver_accid=111) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [receiver_accid]=[111] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(domain_name=saqa.nebular.co.za) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saqa.nebular.co.za] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(sip_to_host=saqa.nebular.co.za) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saqa.nebular.co.za] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(presence_data=x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(call_type=5) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(calltype=SIP-DID) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 db(insert/pickup_any_group_/602496/d73c8004-e5ff-11ee-8164-d17fbcf33421) EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(dialed_extension=transfer_call) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(dialed_extension=transfer_call) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:49:08.644164 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:49:08.644164 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(hangup_after_bridge=true) 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(did_user_domain=saqa.nebular.co.za) 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saqa.nebular.co.za] EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 sleep(1000) 2024-03-19 14:49:08.984190 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27628201391@41.160.32.115:5060 [d77e82a6-e5ff-11ee-818a-d17fbcf33421] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_NEW (Cur 36 Tot 535922) 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:9873 sofia/default/+27628201391@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [received][100] 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 50698838012561 50698838012561 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 22146 RTP/AVP 8 0 18 4 2 98 99 97 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=yes a=rtpmap:4 G723/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:98 G726-40/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:97 telephone-event/8000 a=fmtp:97 0-15 a=ptime:20 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27628201391@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:49:08.984190 [DEBUG] switch_core_codec.c:111 sofia/default/+27628201391@41.160.32.115:5060 Original read codec set to PCMA:8 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4767 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7507 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27628201391@41.160.32.115:5060) State NEW 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_INIT (Cur 36 Tot 535922) 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27628201391@41.160.32.115:5060) State INIT 2024-03-19 14:49:08.984190 [DEBUG] mod_sofia.c:90 sofia/default/+27628201391@41.160.32.115:5060 SOFIA INIT 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27628201391@41.160.32.115:5060 Standard INIT 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27628201391@41.160.32.115:5060) State INIT going to sleep 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 36 Tot 535922) 2024-03-19 14:49:08.984190 [DEBUG] switch_channel.c:2249 (sofia/default/+27628201391@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27628201391@41.160.32.115:5060) State ROUTING 2024-03-19 14:49:08.984190 [DEBUG] mod_sofia.c:143 sofia/default/+27628201391@41.160.32.115:5060 SOFIA ROUTING 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27628201391@41.160.32.115:5060 Standard ROUTING 2024-03-19 14:49:08.984190 [INFO] mod_dialplan_xml.c:637 Processing +27628201391 <+27628201391>->D9570117030000 in context default 2024-03-19 14:49:08.984190 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-19 14:49:08.984190 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2024-03-19 14:49:08.984190 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570117030000 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570117030000' limit 1 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570117030000' AND status=0 limit 1 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570117030000' and status=0 LIMIT 1 2024-03-19 14:49:09.004172 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +27628201391 / 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570117030000" LIMIT 1 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570117030000" AND domains.domain="156.38.231.106" limit 1 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570117030000.*' OR blocked_patterns = '^D957011703000.*' OR blocked_patterns = '^D95701170300.*' OR blocked_patterns = '^D9570117030.*' OR blocked_patterns = '^D957011703.*' OR blocked_patterns = '^D95701170.*' OR blocked_patterns = '^D9570117.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570117030000" AND (accountid = 0 OR status = 1) LIMIT 1 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570117030000 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570117030000 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570117030000 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0117030000 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^0117030000.*' OR patterns = '^011703000.*' OR patterns = '^01170300.*' OR patterns = '^0117030.*' OR patterns = '^011703.*' OR patterns = '^01170.*' OR patterns = '^0117.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [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 ="0117030000" AND A.accountid = '3' limit 1 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0117030000 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0117030000" LIMIT 1 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0117030000' OR number = '011703000' OR number = '01170300' OR number = '0117030' OR number = '011703' OR number = '01170' OR number = '0117' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0117030000*' OR number = '011703000*' OR number = '01170300*' OR number = '0117030*' OR number = '011703*' OR number = '01170*' OR number = '0117*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : legalaidsa.nebular.co.za 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7682330505" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1157 limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforelegalaidsa.nebular.co.za 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='7682330505' and uuid = 'd77e82a6-e5ff-11ee-818a-d17fbcf33421' order by id desc limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='7682330505' order by id desc limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7682330505" AND domains.domain="legalaidsa.nebular.co.za" limit 1 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1157 limit 1 2024-03-19 14:49:09.044187 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2024-03-19 14:49:09.044187 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 parsing [default->0117030000] continue=false Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Regex (PASS) [0117030000] destination_number(D9570117030000) =~ /D9570117030000/ break=on-false Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(effective_destination_number=0117030000) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(callstart=2024-03-19 14:49:09) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(origination_rates_did=ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(original_caller_id_name=+27628201391) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(effective_caller_id_name=+27628201391) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(receiver_accid=109) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(domain_name=legalaidsa.nebular.co.za) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(sip_to_host=legalaidsa.nebular.co.za) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/7682330505/${uuid}) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(did_user_domain=legalaidsa.nebular.co.za) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/7682330505@legalaidsa.nebular.co.za^0117030000) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(variable_sip_to_host=legalaidsa.nebular.co.za) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(userinfo_id=109) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(sip_destination_number=7682330505) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(destination_number=0117030000) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(did_number=0117030000) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(user_domain=legalaidsa.nebular.co.za) Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0117030000_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Regex (FAIL) [0117030000_recur_1] ${cond(${user_data 7682330505@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/+27628201391@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27628201391@41.160.32.115:5060) State ROUTING going to sleep 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535922) 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27628201391@41.160.32.115:5060) State EXECUTE 2024-03-19 14:49:09.064168 [DEBUG] mod_sofia.c:198 sofia/default/+27628201391@41.160.32.115:5060 SOFIA EXECUTE 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27628201391@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(effective_destination_number=0117030000) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [effective_destination_number]=[0117030000] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(callstart=2024-03-19 14:49:09) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [callstart]=[2024-03-19 14:49:09] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(continue_on_fail=TRUE) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(account_id=3) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(parent_id=0) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(entity_id=3) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(call_processed=internal) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(call_direction=inbound) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(accountname=default) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(origination_rates_did=ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [origination_rates_did]=[ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(origination_rates=0) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(original_caller_id_name=+27628201391) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [original_caller_id_name]=[+27628201391] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(effective_caller_id_name=+27628201391) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [effective_caller_id_name]=[+27628201391] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(receiver_accid=109) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [receiver_accid]=[109] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(domain_name=legalaidsa.nebular.co.za) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(sip_to_host=legalaidsa.nebular.co.za) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(call_type=5) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(calltype=SIP-DID) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 db(insert/pickup_any_group_/7682330505/d77e82a6-e5ff-11ee-818a-d17fbcf33421) EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(dialed_extension=transfer_call) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(dialed_extension=transfer_call) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-03-19 14:49:09.064168 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-03-19 14:49:09.064168 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(hangup_after_bridge=true) 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(did_user_domain=legalaidsa.nebular.co.za) 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[legalaidsa.nebular.co.za] EXECUTE sofia/default/+27628201391@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 ring_ready() 2024-03-19 14:49:09.664199 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/27124315062@saqa.nebular.co.za:5060! 2024-03-19 14:49:09.664199 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [early][180] 2024-03-19 14:49:09.664199 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/27124315062@saqa.nebular.co.za:5060! EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/602496@saqa.nebular.co.za^0124315224) 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [domain_name]=[saqa.nebular.co.za] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [sip_to_host]=[saqa.nebular.co.za] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [did_user_domain]=[saqa.nebular.co.za] to event 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:49:09.664199 [NOTICE] switch_channel.c:1104 New Channel sofia/default/602496@saqa.nebular.co.za [d7e6b6f0-e5ff-11ee-81b2-d17fbcf33421] 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:4819 (sofia/default/602496@saqa.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2963 sofia/default/602496@saqa.nebular.co.za Setting leg timeout to 30 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535923) 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:627 (sofia/default/602496@saqa.nebular.co.za) State INIT 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:90 sofia/default/602496@saqa.nebular.co.za SOFIA INIT 2024-03-19 14:49:09.664199 [DEBUG] sofia_glue.c:1295 sofia/default/602496@saqa.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710835061 1710835062 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24688 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:40 sofia/default/602496@saqa.nebular.co.za Standard INIT 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/602496@saqa.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:627 (sofia/default/602496@saqa.nebular.co.za) State INIT going to sleep 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535923) 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:643 (sofia/default/602496@saqa.nebular.co.za) State ROUTING 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:143 sofia/default/602496@saqa.nebular.co.za SOFIA ROUTING 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:67 (sofia/default/602496@saqa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:643 (sofia/default/602496@saqa.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535923) 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:662 (sofia/default/602496@saqa.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:662 (sofia/default/602496@saqa.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:49:09.664199 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [calling][0] 2024-03-19 14:49:09.884161 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [proceeding][180] 2024-03-19 14:49:09.884161 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/602496@saqa.nebular.co.za! 2024-03-19 14:49:09.884161 [DEBUG] switch_channel.c:3346 (sofia/default/602496@saqa.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:49:09.904176 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/27124315062@saqa.nebular.co.za:5060! EXECUTE sofia/default/+27628201391@41.160.32.115:5060 ring_ready() 2024-03-19 14:49:10.084178 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27628201391@41.160.32.115:5060! 2024-03-19 14:49:10.084178 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [early][180] 2024-03-19 14:49:10.084178 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27628201391@41.160.32.115:5060! EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/7682330505@legalaidsa.nebular.co.za^0117030000) 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[legalaidsa.nebular.co.za] to event 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2024-03-19 14:49:10.084178 [NOTICE] switch_channel.c:1104 New Channel sofia/default/7682330505@legalaidsa.nebular.co.za [d8270f34-e5ff-11ee-81bb-d17fbcf33421] 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:4819 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_NEW -> CS_INIT 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2963 sofia/default/7682330505@legalaidsa.nebular.co.za Setting leg timeout to 30 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_INIT (Cur 38 Tot 535924) 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7682330505@legalaidsa.nebular.co.za) State INIT 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:90 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA INIT 2024-03-19 14:49:10.084178 [DEBUG] sofia_glue.c:1295 sofia/default/7682330505@legalaidsa.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1710835766 1710835767 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23984 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:40 sofia/default/7682330505@legalaidsa.nebular.co.za Standard INIT 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7682330505@legalaidsa.nebular.co.za) State INIT going to sleep 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_ROUTING (Cur 38 Tot 535924) 2024-03-19 14:49:10.084178 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [calling][0] 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7682330505@legalaidsa.nebular.co.za) State ROUTING 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:143 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA ROUTING 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:67 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7682330505@legalaidsa.nebular.co.za) State ROUTING going to sleep 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 38 Tot 535924) 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7682330505@legalaidsa.nebular.co.za) State CONSUME_MEDIA 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7682330505@legalaidsa.nebular.co.za) State CONSUME_MEDIA going to sleep 2024-03-19 14:49:10.164208 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [proceeding][180] 2024-03-19 14:49:10.164208 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/7682330505@legalaidsa.nebular.co.za! 2024-03-19 14:49:10.164208 [DEBUG] switch_channel.c:3346 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change DOWN -> RINGING 2024-03-19 14:49:10.164208 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27628201391@41.160.32.115:5060! 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [completing][200] 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 337154932736 38168166401 IN IP4 156.38.150.6 s=3cxPS Audio call c=IN IP4 156.38.150.6 t=0 0 m=audio 9656 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [ready][200] 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/7682330505@legalaidsa.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:49:10.204182 [DEBUG] switch_core_codec.c:111 sofia/default/7682330505@legalaidsa.nebular.co.za Original read codec set to PCMA:8 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4767 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/7682330505@legalaidsa.nebular.co.za] 156.38.231.107 port 23984 -> 156.38.150.6 port 9656 codec: 8 ms: 20 2024-03-19 14:49:10.204182 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7180 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7187 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7210 sofia/default/7682330505@legalaidsa.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:49:10.204182 [NOTICE] sofia.c:8218 Channel [sofia/default/7682330505@legalaidsa.nebular.co.za] has been answered 2024-03-19 14:49:10.204182 [DEBUG] switch_channel.c:3773 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27628201391@41.160.32.115:5060] 156.38.231.107 port 19502 -> 41.160.32.115 port 22146 codec: 8 ms: 20 2024-03-19 14:49:10.204182 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7180 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf send payload to 97 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7187 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf receive payload to 97 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7210 sofia/default/+27628201391@41.160.32.115:5060 Set rtp dtmf delay to 40 2024-03-19 14:49:10.204182 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27628201391@41.160.32.115:5060: v=0 o=FreeSWITCH 1710840248 1710840249 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 19502 RTP/AVP 8 97 a=rtpmap:8 PCMA/8000 a=rtpmap:97 telephone-event/8000 a=fmtp:97 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:49:10.204182 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27628201391@41.160.32.115:5060] has been answered 2024-03-19 14:49:10.204182 [DEBUG] switch_channel.c:3773 (sofia/default/+27628201391@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [completed][200] 2024-03-19 14:49:10.204182 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/7682330505@legalaidsa.nebular.co.za] 2024-03-19 14:49:10.204182 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:49:10.204182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 38 Tot 535924) 2024-03-19 14:49:10.204182 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7682330505@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:49:10.204182 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:49:10.404165 [DEBUG] switch_ivr_bridge.c:546 sofia/default/7682330505@legalaidsa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:10.424160 [DEBUG] switch_ivr.c:623 sofia/default/7682330505@legalaidsa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/7682330505@legalaidsa.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:10.424160 [DEBUG] switch_scheduler.c:249 Added task 216741 switch_ivr_schedule_hangup (d8270f34-e5ff-11ee-81bb-d17fbcf33421) to run at 1710865750 2024-03-19 14:49:10.484164 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9656 to 156.38.231.105:9656 2024-03-19 14:49:10.544190 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2024-03-19 14:49:10.624191 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [ready][200] 2024-03-19 14:49:17.724180 [NOTICE] sofia.c:1012 Hangup sofia/default/0879445198@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:49:17.724180 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0879445198@41.160.32.115:5060] 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0879445198@41.160.32.115:5060 ending bridge by request from write function 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/1945384195@legalaidsa.nebular.co.za] 2024-03-19 14:49:17.744184 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/1945384195@legalaidsa.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:653 (sofia/default/1945384195@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_HANGUP (Cur 38 Tot 535924) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1945384195@legalaidsa.nebular.co.za) State HANGUP 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:432 sofia/default/1945384195@legalaidsa.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:438 Channel sofia/default/1945384195@legalaidsa.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/1945384195@legalaidsa.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0879445198@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_session.c:2815 sofia/default/0879445198@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0879445198@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 38 Tot 535924) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0879445198@41.160.32.115:5060) State HANGUP 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:438 Channel sofia/default/0879445198@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/1945384195@legalaidsa.nebular.co.za 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:60 sofia/default/1945384195@legalaidsa.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1945384195@legalaidsa.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:619 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_REPORTING (Cur 38 Tot 535924) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:60 sofia/default/0879445198@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0879445198@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 38 Tot 535924) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0879445198@41.160.32.115:5060) State REPORTING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1945384195@legalaidsa.nebular.co.za) State REPORTING 2024-03-19 14:49:17.744184 [INFO] mod_json_cdr.c:271 Process [c8dc4af8-e5ff-11ee-80c8-d17fbcf33421.cdr.json] 2024-03-19 14:49:17.744184 [INFO] mod_json_cdr.c:271 Process [c9844c80-e5ff-11ee-80f0-d17fbcf33421.cdr.json] 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:174 sofia/default/1945384195@legalaidsa.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1945384195@legalaidsa.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:610 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:17.744184 [DEBUG] switch_core_session.c:1665 Session 535914 (sofia/default/1945384195@legalaidsa.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:49:17.744184 [NOTICE] switch_core_session.c:1683 Session 535914 (sofia/default/1945384195@legalaidsa.nebular.co.za) Ended 2024-03-19 14:49:17.744184 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/1945384195@legalaidsa.nebular.co.za [CS_DESTROY] 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_DESTROY (Cur 37 Tot 535924) 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1945384195@legalaidsa.nebular.co.za) State DESTROY 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:343 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA DESTROY 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:181 sofia/default/1945384195@legalaidsa.nebular.co.za Standard DESTROY 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1945384195@legalaidsa.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:174 sofia/default/0879445198@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0879445198@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:17.764220 [DEBUG] switch_core_session.c:1665 Session 535913 (sofia/default/0879445198@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:49:17.764220 [NOTICE] switch_core_session.c:1683 Session 535913 (sofia/default/0879445198@41.160.32.115:5060) Ended 2024-03-19 14:49:17.764220 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0879445198@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 36 Tot 535924) 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0879445198@41.160.32.115:5060) State DESTROY 2024-03-19 14:49:17.764220 [DEBUG] mod_sofia.c:343 sofia/default/0879445198@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:49:17.764220 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7feda861f120 0x7feda861f120 2024-03-19 14:49:17.764220 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7feda861f120 0x7feda861f120 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:181 sofia/default/0879445198@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0879445198@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:49:17.924185 [DEBUG] switch_scheduler.c:144 Deleting task 216738 switch_ivr_schedule_hangup (c9844c80-e5ff-11ee-80f0-d17fbcf33421) 2024-03-19 14:49:18.524174 [NOTICE] sofia.c:1012 Hangup sofia/default/0788236240 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0788236240] 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0788236240) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788236240) Running State Change CS_HANGUP (Cur 36 Tot 535924) 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0788236240) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0788236240) State HANGUP 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:438 Channel sofia/default/0788236240 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:60 sofia/default/0788236240 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0788236240) State HANGUP going to sleep 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0788236240) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788236240) Running State Change CS_REPORTING (Cur 36 Tot 535924) 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0788236240) State REPORTING 2024-03-19 14:49:18.524174 [INFO] mod_json_cdr.c:271 Process [ace044bc-e5ff-11ee-bf64-d17fbcf33421.cdr.json] 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0788236240 ending bridge by request from write function 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0392551473@legalaidsa.nebular.co.za:5060] 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0788236240 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:18.524174 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0392551473@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:49:18.524174 [DEBUG] switch_core_session.c:2815 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 36 Tot 535924) 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State HANGUP 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:432 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:438 Channel sofia/default/0392551473@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0392551473@legalaidsa.nebular.co.za:5060 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:60 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 36 Tot 535924) 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State REPORTING 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [completing][200] 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 160004308992 234713251841 IN IP4 156.38.150.10 s=3cxPS Audio call c=IN IP4 156.38.150.10 t=0 0 m=audio 9526 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2024-03-19 14:49:18.524174 [INFO] mod_json_cdr.c:271 Process [acd3a93c-e5ff-11ee-bf41-d17fbcf33421.cdr.json] 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [ready][200] 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/602496@saqa.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-19 14:49:18.524174 [DEBUG] switch_core_codec.c:111 sofia/default/602496@saqa.nebular.co.za Original read codec set to PCMA:8 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4767 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/602496@saqa.nebular.co.za] 156.38.231.107 port 24688 -> 156.38.150.10 port 9526 codec: 8 ms: 20 2024-03-19 14:49:18.524174 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7180 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7187 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7210 sofia/default/602496@saqa.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:49:18.544195 [NOTICE] sofia.c:8218 Channel [sofia/default/602496@saqa.nebular.co.za] has been answered 2024-03-19 14:49:18.544195 [DEBUG] switch_channel.c:3773 (sofia/default/602496@saqa.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:174 sofia/default/0788236240 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0788236240) State REPORTING going to sleep 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0788236240) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_session.c:1665 Session 535897 (sofia/default/0788236240) Locked, Waiting on external entities 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1683 Session 535897 (sofia/default/0788236240) Ended 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0788236240 [CS_DESTROY] 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0788236240) Running State Change CS_DESTROY (Cur 35 Tot 535924) 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0788236240) State DESTROY 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:343 sofia/default/0788236240 SOFIA DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:181 sofia/default/0788236240 Standard DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0788236240) State DESTROY going to sleep 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27124315062@saqa.nebular.co.za:5060] 156.38.231.107 port 31420 -> 156.38.150.10 port 9524 codec: 8 ms: 20 2024-03-19 14:49:18.544195 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7180 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7187 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7210 sofia/default/27124315062@saqa.nebular.co.za:5060 Set rtp dtmf delay to 40 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27124315062@saqa.nebular.co.za:5060: v=0 o=FreeSWITCH 1710828338 1710828339 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 31420 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2024-03-19 14:49:18.544195 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/27124315062@saqa.nebular.co.za:5060] has been answered 2024-03-19 14:49:18.544195 [DEBUG] switch_channel.c:3773 (sofia/default/27124315062@saqa.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE 2024-03-19 14:49:18.544195 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [completed][200] 2024-03-19 14:49:18.544195 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/602496@saqa.nebular.co.za] 2024-03-19 14:49:18.544195 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/602496@saqa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 35 Tot 535924) 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:653 (sofia/default/602496@saqa.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:174 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_session.c:1665 Session 535896 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1683 Session 535896 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Ended 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0392551473@legalaidsa.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535924) 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State DESTROY 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:343 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:181 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:49:18.564304 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [ready][200] 2024-03-19 14:49:18.724173 [DEBUG] switch_ivr_bridge.c:546 sofia/default/602496@saqa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:18.744173 [DEBUG] switch_ivr.c:623 sofia/default/602496@saqa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/602496@saqa.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:18.744173 [DEBUG] switch_scheduler.c:249 Added task 216742 switch_ivr_schedule_hangup (d7e6b6f0-e5ff-11ee-81b2-d17fbcf33421) to run at 1710865758 2024-03-19 14:49:18.744173 [DEBUG] switch_scheduler.c:144 Deleting task 216729 switch_ivr_schedule_hangup (ace044bc-e5ff-11ee-bf64-d17fbcf33421) 2024-03-19 14:49:18.784241 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.10:9524 to 156.38.231.105:9524 2024-03-19 14:49:18.804196 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.10:9526 to 156.38.231.105:9526 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [completing][200] 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20002 20002 IN IP4 102.219.180.81 s=SDP data i=(o=IN IP4 102.219.180.66) c=IN IP4 102.219.180.81 t=0 0 m=audio 12752 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [ready][200] 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5805@karlovac.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-03-19 14:49:19.344175 [DEBUG] switch_core_codec.c:111 sofia/default/5805@karlovac.nebular.co.za Original read codec set to G729:18 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4767 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5805@karlovac.nebular.co.za] 156.38.231.107 port 25874 -> 102.219.180.81 port 12752 codec: 18 ms: 20 2024-03-19 14:49:19.344175 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7180 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7187 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf receive payload to 101 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7210 sofia/default/5805@karlovac.nebular.co.za Set rtp dtmf delay to 40 2024-03-19 14:49:19.344175 [NOTICE] sofia.c:8218 Channel [sofia/default/5805@karlovac.nebular.co.za] has been answered 2024-03-19 14:49:19.344175 [DEBUG] switch_channel.c:3773 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change RINGING -> ACTIVE 2024-03-19 14:49:19.364179 [DEBUG] switch_core_codec.c:248 sofia/default/0734382646@41.160.32.115:5060 Restore previous codec G729:18. 2024-03-19 14:49:19.364179 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/5805@karlovac.nebular.co.za] 2024-03-19 14:49:19.364179 [DEBUG] switch_channel.c:2047 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE 2024-03-19 14:49:19.364179 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-03-19 14:49:19.364179 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 34 Tot 535924) 2024-03-19 14:49:19.364179 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5805@karlovac.nebular.co.za) State EXCHANGE_MEDIA 2024-03-19 14:49:19.364179 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2024-03-19 14:49:19.384156 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [calling][0] 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [ready][200] 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20002 20003 IN IP4 102.219.180.66 s=SDP data c=IN IP4 102.219.180.66 t=0 0 m=audio 12752 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4767 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:8061 Processing updated SDP 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6867 Audio params changed for sofia/default/5805@karlovac.nebular.co.za from 102.219.180.81:12752 to 102.219.180.66:12752 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5805@karlovac.nebular.co.za] 156.38.231.107 port 25874 -> 102.219.180.66 port 12752 codec: 18 ms: 20 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6907 AUDIO RTP CHANGING DEST TO: [102.219.180.66:12752] 2024-03-19 14:49:19.544194 [DEBUG] switch_ivr_bridge.c:546 sofia/default/5805@karlovac.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:19.564175 [DEBUG] switch_ivr.c:623 sofia/default/5805@karlovac.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/5805@karlovac.nebular.co.za sched_hangup(+6000 normal_clearing) 2024-03-19 14:49:19.564175 [DEBUG] switch_scheduler.c:249 Added task 216743 switch_ivr_schedule_hangup (ce730c4a-e5ff-11ee-8129-d17fbcf33421) to run at 1710865759 2024-03-19 14:49:19.704168 [NOTICE] sofia.c:1012 Hangup sofia/default/5805@karlovac.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:49:19.704168 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/5805@karlovac.nebular.co.za] 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5805@karlovac.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_HANGUP (Cur 34 Tot 535924) 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5805@karlovac.nebular.co.za) State HANGUP 2024-03-19 14:49:19.704168 [DEBUG] mod_sofia.c:438 Channel sofia/default/5805@karlovac.nebular.co.za hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:60 sofia/default/5805@karlovac.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5805@karlovac.nebular.co.za) State HANGUP going to sleep 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_REPORTING (Cur 34 Tot 535924) 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5805@karlovac.nebular.co.za) State REPORTING 2024-03-19 14:49:19.704168 [INFO] mod_json_cdr.c:271 Process [ce730c4a-e5ff-11ee-8129-d17fbcf33421.cdr.json] 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:706 sofia/default/5805@karlovac.nebular.co.za ending bridge by request from write function 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0734382646@41.160.32.115:5060] 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/5805@karlovac.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:19.724164 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0734382646@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:2815 sofia/default/0734382646@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:49:19.724164 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released. 2024-03-19 14:49:19.724164 [DEBUG] switch_cpp.cpp:1112 sofia/default/0734382646@41.160.32.115:5060 destroy/unlink session from object 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:2815 sofia/default/0734382646@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0734382646@41.160.32.115:5060) State EXECUTE going to sleep 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 34 Tot 535924) 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0734382646@41.160.32.115:5060) State HANGUP 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:432 sofia/default/0734382646@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:438 Channel sofia/default/0734382646@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0734382646@41.160.32.115:5060 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:60 sofia/default/0734382646@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0734382646@41.160.32.115:5060) State HANGUP going to sleep 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 34 Tot 535924) 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0734382646@41.160.32.115:5060) State REPORTING 2024-03-19 14:49:19.724164 [INFO] mod_json_cdr.c:271 Process [c31ef656-e5ff-11ee-8073-d17fbcf33421.cdr.json] 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:174 sofia/default/5805@karlovac.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5805@karlovac.nebular.co.za) State REPORTING going to sleep 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:1665 Session 535917 (sofia/default/5805@karlovac.nebular.co.za) Locked, Waiting on external entities 2024-03-19 14:49:19.724164 [NOTICE] switch_core_session.c:1683 Session 535917 (sofia/default/5805@karlovac.nebular.co.za) Ended 2024-03-19 14:49:19.724164 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5805@karlovac.nebular.co.za [CS_DESTROY] 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_DESTROY (Cur 33 Tot 535924) 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5805@karlovac.nebular.co.za) State DESTROY 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:343 sofia/default/5805@karlovac.nebular.co.za SOFIA DESTROY 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:181 sofia/default/5805@karlovac.nebular.co.za Standard DESTROY 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5805@karlovac.nebular.co.za) State DESTROY going to sleep 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:174 sofia/default/0734382646@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0734382646@41.160.32.115:5060) State REPORTING going to sleep 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:19.744157 [DEBUG] switch_core_session.c:1665 Session 535910 (sofia/default/0734382646@41.160.32.115:5060) Locked, Waiting on external entities 2024-03-19 14:49:19.744157 [NOTICE] switch_core_session.c:1683 Session 535910 (sofia/default/0734382646@41.160.32.115:5060) Ended 2024-03-19 14:49:19.744157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0734382646@41.160.32.115:5060 [CS_DESTROY] 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 32 Tot 535924) 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0734382646@41.160.32.115:5060) State DESTROY 2024-03-19 14:49:19.744157 [DEBUG] mod_sofia.c:343 sofia/default/0734382646@41.160.32.115:5060 SOFIA DESTROY 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7feda86f1648 0x7feda86f1650 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7feda86f1648 0x7feda86f1650 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7feda86f16c8 0x7feda86f16c8 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7feda86f16c8 0x7feda86f16c8 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:181 sofia/default/0734382646@41.160.32.115:5060 Standard DESTROY 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0734382646@41.160.32.115:5060) State DESTROY going to sleep 2024-03-19 14:49:19.964162 [NOTICE] sofia.c:1012 Hangup sofia/default/0514479915@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0514479915@legalaidsa.nebular.co.za:5060] 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 ending bridge by request from write function 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0627410147] 2024-03-19 14:49:19.964162 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0627410147 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0627410147) State EXCHANGE_MEDIA going to sleep 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0627410147) Running State Change CS_HANGUP (Cur 32 Tot 535924) 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0627410147) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0627410147) State HANGUP 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:432 sofia/default/0627410147 Overriding SIP cause 480 with 200 from the other leg 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:438 Channel sofia/default/0627410147 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0627410147 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0627410147 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:60 sofia/default/0627410147 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0627410147) State HANGUP going to sleep 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0627410147) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0627410147) Running State Change CS_REPORTING (Cur 32 Tot 535924) 2024-03-19 14:49:19.964162 [DEBUG] switch_core_session.c:2815 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0627410147) State REPORTING 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 32 Tot 535924) 2024-03-19 14:49:19.964162 [INFO] mod_json_cdr.c:271 Process [f888877c-e5fe-11ee-b6fe-d17fbcf33421.cdr.json] 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State HANGUP 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:438 Channel sofia/default/0514479915@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:60 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 32 Tot 535924) 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State REPORTING 2024-03-19 14:49:19.984630 [INFO] mod_json_cdr.c:271 Process [f87b5d7c-e5fe-11ee-b6db-d17fbcf33421.cdr.json] 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:174 sofia/default/0627410147 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0627410147) State REPORTING going to sleep 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0627410147) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:19.984630 [DEBUG] switch_core_session.c:1665 Session 535797 (sofia/default/0627410147) Locked, Waiting on external entities 2024-03-19 14:49:19.984630 [NOTICE] switch_core_session.c:1683 Session 535797 (sofia/default/0627410147) Ended 2024-03-19 14:49:19.984630 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0627410147 [CS_DESTROY] 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0627410147) Running State Change CS_DESTROY (Cur 31 Tot 535924) 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0627410147) State DESTROY 2024-03-19 14:49:19.984630 [DEBUG] mod_sofia.c:343 sofia/default/0627410147 SOFIA DESTROY 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:181 sofia/default/0627410147 Standard DESTROY 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0627410147) State DESTROY going to sleep 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:174 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2024-03-19 14:49:20.004341 [DEBUG] switch_core_session.c:1665 Session 535796 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities 2024-03-19 14:49:20.004341 [NOTICE] switch_core_session.c:1683 Session 535796 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Ended 2024-03-19 14:49:20.004341 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0514479915@legalaidsa.nebular.co.za:5060 [CS_DESTROY] 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 30 Tot 535924) 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State DESTROY 2024-03-19 14:49:20.004341 [DEBUG] mod_sofia.c:343 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 SOFIA DESTROY 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:181 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard DESTROY 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep 2024-03-19 14:49:20.064160 [DEBUG] switch_scheduler.c:144 Deleting task 216687 switch_ivr_schedule_hangup (f888877c-e5fe-11ee-b6fe-d17fbcf33421) 2024-03-19 14:49:20.064160 [DEBUG] switch_scheduler.c:144 Deleting task 216743 switch_ivr_schedule_hangup (ce730c4a-e5ff-11ee-8129-d17fbcf33421)