2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4556 Substituting codec G729@40i@8000h@1c 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:4767 sofia/default/100@metrowired.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:18:52.340665 [DEBUG] sofia.c:8061 Processing updated SDP 2022-07-26 07:18:52.340665 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/100@metrowired.nebular.co.za:5060. 2022-07-26 07:19:20.010673 [NOTICE] sofia.c:1012 Hangup sofia/default/0713846780 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:19:20.010673 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0713846780] 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0713846780) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0713846780) Running State Change CS_HANGUP (Cur 2 Tot 118013) 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0713846780) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0713846780) State HANGUP 2022-07-26 07:19:20.010673 [DEBUG] mod_sofia.c:438 Channel sofia/default/0713846780 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:60 sofia/default/0713846780 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0713846780) State HANGUP going to sleep 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0713846780) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0713846780) Running State Change CS_REPORTING (Cur 2 Tot 118013) 2022-07-26 07:19:20.010673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0713846780) State REPORTING 2022-07-26 07:19:20.010673 [INFO] mod_json_cdr.c:271 Process [2e23b2fc-0cb3-11ed-ba8d-d3f1ef10c389.cdr.json] 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0713846780 ending bridge by request from write function 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/100@metrowired.nebular.co.za:5060] 2022-07-26 07:19:20.020956 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0713846780 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:19:20.020956 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/100@metrowired.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:19:20.020956 [DEBUG] switch_core_session.c:2815 sofia/default/100@metrowired.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:650 (sofia/default/100@metrowired.nebular.co.za:5060) State EXECUTE going to sleep 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 2 Tot 118013) 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/100@metrowired.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/100@metrowired.nebular.co.za:5060) State HANGUP 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:432 sofia/default/100@metrowired.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:438 Channel sofia/default/100@metrowired.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:19:20.020956 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/100@metrowired.nebular.co.za:5060 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:60 sofia/default/100@metrowired.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/100@metrowired.nebular.co.za:5060) State HANGUP going to sleep 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:619 (sofia/default/100@metrowired.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 2 Tot 118013) 2022-07-26 07:19:20.020956 [DEBUG] switch_core_state_machine.c:938 (sofia/default/100@metrowired.nebular.co.za:5060) State REPORTING 2022-07-26 07:19:20.020956 [INFO] mod_json_cdr.c:271 Process [2d405a2a-0cb3-11ed-ba6a-d3f1ef10c389.cdr.json] 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:174 sofia/default/0713846780 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0713846780) State REPORTING going to sleep 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0713846780) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:19:20.062642 [DEBUG] switch_core_session.c:1665 Session 118013 (sofia/default/0713846780) Locked, Waiting on external entities 2022-07-26 07:19:20.062642 [NOTICE] switch_core_session.c:1683 Session 118013 (sofia/default/0713846780) Ended 2022-07-26 07:19:20.062642 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0713846780 [CS_DESTROY] 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0713846780) Running State Change CS_DESTROY (Cur 1 Tot 118013) 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0713846780) State DESTROY 2022-07-26 07:19:20.062642 [DEBUG] mod_sofia.c:343 sofia/default/0713846780 SOFIA DESTROY 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3ea42629c8 0x7f3ea42629d0 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3ea42629c8 0x7f3ea42629d0 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3ea4262a48 0x7f3ea4262a48 2022-07-26 07:19:20.062642 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3ea4262a48 0x7f3ea4262a48 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:181 sofia/default/0713846780 Standard DESTROY 2022-07-26 07:19:20.062642 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0713846780) State DESTROY going to sleep 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:174 sofia/default/100@metrowired.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/100@metrowired.nebular.co.za:5060) State REPORTING going to sleep 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/100@metrowired.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:19:20.140666 [DEBUG] switch_core_session.c:1665 Session 118012 (sofia/default/100@metrowired.nebular.co.za:5060) Locked, Waiting on external entities 2022-07-26 07:19:20.140666 [NOTICE] switch_core_session.c:1683 Session 118012 (sofia/default/100@metrowired.nebular.co.za:5060) Ended 2022-07-26 07:19:20.140666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/100@metrowired.nebular.co.za:5060 [CS_DESTROY] 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/100@metrowired.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 0 Tot 118013) 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/100@metrowired.nebular.co.za:5060) State DESTROY 2022-07-26 07:19:20.140666 [DEBUG] mod_sofia.c:343 sofia/default/100@metrowired.nebular.co.za:5060 SOFIA DESTROY 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3f08aaa198 0x7f3f08aaa1a0 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3f08aaa198 0x7f3f08aaa1a0 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3f08aaa218 0x7f3f08aaa218 2022-07-26 07:19:20.140666 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3f08aaa218 0x7f3f08aaa218 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:181 sofia/default/100@metrowired.nebular.co.za:5060 Standard DESTROY 2022-07-26 07:19:20.140666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/100@metrowired.nebular.co.za:5060) State DESTROY going to sleep 2022-07-26 07:19:20.490687 [DEBUG] switch_scheduler.c:144 Deleting task 47229 switch_ivr_schedule_hangup (2e23b2fc-0cb3-11ed-ba8d-d3f1ef10c389) 2022-07-26 07:20:48.620675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27742876360@41.160.32.115:5060 [78f32f7e-0cb3-11ed-ba93-d3f1ef10c389] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_NEW (Cur 1 Tot 118014) 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:9873 sofia/default/+27742876360@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 106395198593476 106395198593476 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20594 RTP/AVP 8 102 102 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:102 AMR/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 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27742876360@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:20:48.620675 [DEBUG] switch_core_codec.c:111 sofia/default/+27742876360@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:20:48.620675 [DEBUG] switch_core_media.c:4767 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:20:48.620675 [DEBUG] sofia.c:7507 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27742876360@41.160.32.115:5060) State NEW 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_INIT (Cur 1 Tot 118014) 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27742876360@41.160.32.115:5060) State INIT 2022-07-26 07:20:48.620675 [DEBUG] mod_sofia.c:90 sofia/default/+27742876360@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27742876360@41.160.32.115:5060 Standard INIT 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27742876360@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 1 Tot 118014) 2022-07-26 07:20:48.620675 [DEBUG] switch_channel.c:2249 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27742876360@41.160.32.115:5060) State ROUTING 2022-07-26 07:20:48.620675 [DEBUG] mod_sofia.c:143 sofia/default/+27742876360@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:20:48.620675 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27742876360@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:20:48.620675 [INFO] mod_dialplan_xml.c:637 Processing +27742876360 <27742876360>->D9570114067300 in context default 2022-07-26 07:20:48.691153 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea40ff300 Connected. 2022-07-26 07:20:48.691153 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:20:48.732806 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:20:48.772792 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:20:48.772792 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300 2022-07-26 07:20:48.772792 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1 2022-07-26 07:20:48.811791 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1 2022-07-26 07:20:48.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1 2022-07-26 07:20:48.885865 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:20:48.885865 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +27742876360 / 2022-07-26 07:20:48.885865 [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 ="D9570114067300" LIMIT 1 2022-07-26 07:20:48.933389 [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="D9570114067300" AND domains.domain="156.38.231.106" limit 1 2022-07-26 07:20:48.970960 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:20:48.970960 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:20:48.970960 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:20:49.021074 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' 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 2022-07-26 07:20:49.060665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:20:49.090666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:20:49.090666 [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 2022-07-26 07:20:49.131904 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:20:49.131904 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:20:49.131904 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300 2022-07-26 07:20:49.131904 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300 2022-07-26 07:20:49.131904 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:20:49.172999 [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 ="0114067300" AND A.accountid = '3' limit 1 2022-07-26 07:20:49.210670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300 2022-07-26 07:20:49.210670 [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 ="0114067300" LIMIT 1 2022-07-26 07:20:49.250659 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:20:49.250659 [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 = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2022-07-26 07:20:49.582020 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1 2022-07-26 07:20:49.630804 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za 2022-07-26 07:20:49.630804 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2022-07-26 07:20:49.630804 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:20:49.660667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:20:49.700658 [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 2022-07-26 07:20:49.731034 [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 2022-07-26 07:20:49.771136 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za 2022-07-26 07:20:49.771136 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:20:49.771136 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '78f32f7e-0cb3-11ed-ba93-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:20:49.820962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1 2022-07-26 07:20:49.860674 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:20:49.890657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:20:49.921241 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:20:49.921241 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea40ff300 released. Dialplan: sofia/default/+27742876360@41.160.32.115:5060 parsing [default->0114067300] continue=false Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(effective_destination_number=0114067300) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(callstart=2022-07-26 07:20:49) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(original_caller_id_name=+27742876360) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(effective_caller_id_name=+27742876360) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(receiver_accid=19) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid}) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(userinfo_id=19) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(sip_destination_number=297534) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(destination_number=0114067300) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(did_number=0114067300) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za) Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/+27742876360@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/+27742876360@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27742876360@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 1 Tot 118014) 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27742876360@41.160.32.115:5060) State EXECUTE 2022-07-26 07:20:50.040662 [DEBUG] mod_sofia.c:198 sofia/default/+27742876360@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:20:50.040662 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27742876360@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(effective_destination_number=0114067300) 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [effective_destination_number]=[0114067300] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(callstart=2022-07-26 07:20:49) 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [callstart]=[2022-07-26 07:20:49] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:20:50.040662 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(original_caller_id_name=+27742876360) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [original_caller_id_name]=[+27742876360] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(effective_caller_id_name=+27742876360) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [effective_caller_id_name]=[+27742876360] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(receiver_accid=19) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [receiver_accid]=[19] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(call_type=5) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(calltype=SIP-DID) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 db(insert/pickup_any_group_/297534/78f32f7e-0cb3-11ed-ba93-d3f1ef10c389) EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:20:50.050656 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:20:50.050656 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/+27742876360@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:20:50.050656 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27742876360@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za) 2022-07-26 07:20:50.050656 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za] EXECUTE sofia/default/+27742876360@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/+27742876360@41.160.32.115:5060 ring_ready() 2022-07-26 07:20:51.070670 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27742876360@41.160.32.115:5060! 2022-07-26 07:20:51.070670 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27742876360@41.160.32.115:5060! EXECUTE sofia/default/+27742876360@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300) 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_channel.c:1250 sofia/default/+27742876360@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:20:51.070670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [7a6924ee-0cb3-11ed-babb-d3f1ef10c389] 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 2 Tot 118015) 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT 2022-07-26 07:20:51.070670 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658799837 1658799838 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 20214 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 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep 2022-07-26 07:20:51.070670 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [early][180] 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 2 Tot 118015) 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING 2022-07-26 07:20:51.070670 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING 2022-07-26 07:20:51.070670 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 118015) 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:20:51.070670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:20:51.070670 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0] 2022-07-26 07:20:51.261468 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180] 2022-07-26 07:20:51.261468 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za! 2022-07-26 07:20:51.271298 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200] 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 34796762648543232 18431770059866113 IN IP4 156.38.249.181 s=3cxPS Audio call c=IN IP4 156.38.249.181 t=0 0 m=audio 9834 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:20:51.271298 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200] 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:20:51.271298 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 20214 -> 156.38.249.181 port 9834 codec: 8 ms: 20 2022-07-26 07:20:51.271298 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:20:51.271298 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:20:51.271298 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered 2022-07-26 07:20:51.281707 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27742876360@41.160.32.115:5060! 2022-07-26 07:20:51.281707 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27742876360@41.160.32.115:5060] 156.38.231.107 port 24204 -> 41.160.32.115 port 20594 codec: 8 ms: 20 2022-07-26 07:20:51.281707 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7180 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7187 sofia/default/+27742876360@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:20:51.281707 [DEBUG] switch_core_media.c:7210 sofia/default/+27742876360@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:20:51.281707 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27742876360@41.160.32.115:5060: v=0 o=FreeSWITCH 1658795847 1658795848 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24204 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 2022-07-26 07:20:51.281707 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27742876360@41.160.32.115:5060] has been answered 2022-07-26 07:20:51.281707 [DEBUG] switch_channel.c:3773 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:20:51.281707 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:20:51.281707 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:20:51.281707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 118015) 2022-07-26 07:20:51.281707 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:20:51.281707 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:20:51.300656 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:20:51.470692 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:20:51.491134 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:20:51.491134 [DEBUG] switch_scheduler.c:249 Added task 47230 switch_ivr_schedule_hangup (7a6924ee-0cb3-11ed-babb-d3f1ef10c389) to run at 1658826051 2022-07-26 07:20:51.550696 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9834 to 156.38.231.105:9834 2022-07-26 07:20:51.660660 [DEBUG] sofia.c:7084 Channel sofia/default/+27742876360@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:20:51.681442 [NOTICE] sofia.c:1012 Hangup sofia/default/+27742876360@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27742876360@41.160.32.115:5060] 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:706 sofia/default/+27742876360@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:20:51.681442 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:20:51.681442 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27742876360@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:20:51.681442 [DEBUG] switch_core_session.c:2815 sofia/default/+27742876360@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27742876360@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 2 Tot 118015) 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27742876360@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27742876360@41.160.32.115:5060) State HANGUP 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27742876360@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 2 Tot 118015) 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:20:51.681442 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:432 sofia/default/297534@joshco.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:20:51.681442 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27742876360@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27742876360@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 2 Tot 118015) 2022-07-26 07:20:51.700668 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/297534@joshco.nebular.co.za 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 2 Tot 118015) 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27742876360@41.160.32.115:5060) State REPORTING 2022-07-26 07:20:51.700668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING 2022-07-26 07:20:51.700668 [INFO] mod_json_cdr.c:271 Process [7a6924ee-0cb3-11ed-babb-d3f1ef10c389.cdr.json] 2022-07-26 07:20:51.700668 [INFO] mod_json_cdr.c:271 Process [78f32f7e-0cb3-11ed-ba93-d3f1ef10c389.cdr.json] 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:20:51.743100 [DEBUG] switch_core_session.c:1665 Session 118015 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:20:51.743100 [NOTICE] switch_core_session.c:1683 Session 118015 (sofia/default/297534@joshco.nebular.co.za) Ended 2022-07-26 07:20:51.743100 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY] 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 1 Tot 118015) 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY 2022-07-26 07:20:51.743100 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY 2022-07-26 07:20:51.743100 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27742876360@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27742876360@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27742876360@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:20:51.812217 [DEBUG] switch_core_session.c:1665 Session 118014 (sofia/default/+27742876360@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:20:51.812217 [NOTICE] switch_core_session.c:1683 Session 118014 (sofia/default/+27742876360@41.160.32.115:5060) Ended 2022-07-26 07:20:51.812217 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27742876360@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27742876360@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 0 Tot 118015) 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27742876360@41.160.32.115:5060) State DESTROY 2022-07-26 07:20:51.812217 [DEBUG] mod_sofia.c:343 sofia/default/+27742876360@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27742876360@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:20:51.812217 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27742876360@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:20:51.990660 [DEBUG] switch_scheduler.c:144 Deleting task 47230 switch_ivr_schedule_hangup (7a6924ee-0cb3-11ed-babb-d3f1ef10c389) 2022-07-26 07:21:40.291156 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0619646866@41.160.32.115:5060 [97bffe50-0cb3-11ed-bac1-d3f1ef10c389] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_NEW (Cur 1 Tot 118016) 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:9873 sofia/default/0619646866@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 4467034776474 4467034776474 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20596 RTP/AVP 102 8 102 102 18 116 a=rtpmap:102 AMR/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-15 a=ptime:20 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0619646866@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:21:40.291156 [DEBUG] switch_core_codec.c:111 sofia/default/0619646866@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000 2022-07-26 07:21:40.291156 [DEBUG] switch_core_media.c:4767 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116 2022-07-26 07:21:40.291156 [DEBUG] sofia.c:7507 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0619646866@41.160.32.115:5060) State NEW 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_INIT (Cur 1 Tot 118016) 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0619646866@41.160.32.115:5060) State INIT 2022-07-26 07:21:40.291156 [DEBUG] mod_sofia.c:90 sofia/default/0619646866@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:40 sofia/default/0619646866@41.160.32.115:5060 Standard INIT 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0619646866@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 1 Tot 118016) 2022-07-26 07:21:40.291156 [DEBUG] switch_channel.c:2249 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0619646866@41.160.32.115:5060) State ROUTING 2022-07-26 07:21:40.291156 [DEBUG] mod_sofia.c:143 sofia/default/0619646866@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:21:40.291156 [DEBUG] switch_core_state_machine.c:236 sofia/default/0619646866@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:21:40.291156 [INFO] mod_dialplan_xml.c:637 Processing 0619646866 <0619646866>->D9570114067300 in context default 2022-07-26 07:21:40.371043 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected. 2022-07-26 07:21:40.371043 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:21:40.410685 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:21:40.441083 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:21:40.441083 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300 2022-07-26 07:21:40.441083 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1 2022-07-26 07:21:40.490673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1 2022-07-26 07:21:40.511232 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1 2022-07-26 07:21:40.560666 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:21:40.560666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0619646866 / 2022-07-26 07:21:40.560666 [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 ="D9570114067300" LIMIT 1 2022-07-26 07:21:40.602834 [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="D9570114067300" AND domains.domain="156.38.231.106" limit 1 2022-07-26 07:21:40.630957 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:21:40.630957 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:21:40.630957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:21:40.683963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' 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 2022-07-26 07:21:40.712077 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:21:40.750667 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:21:40.750667 [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 2022-07-26 07:21:40.793230 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:21:40.793230 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:21:40.793230 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300 2022-07-26 07:21:40.793230 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300 2022-07-26 07:21:40.793230 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:21:40.822048 [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 ="0114067300" AND A.accountid = '3' limit 1 2022-07-26 07:21:40.860661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300 2022-07-26 07:21:40.860661 [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 ="0114067300" LIMIT 1 2022-07-26 07:21:40.893832 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:21:40.893832 [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 = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2022-07-26 07:21:41.240664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1 2022-07-26 07:21:41.270667 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za 2022-07-26 07:21:41.270667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2022-07-26 07:21:41.270667 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:21:41.310658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:21:41.350661 [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 2022-07-26 07:21:41.381394 [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 2022-07-26 07:21:41.420692 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za 2022-07-26 07:21:41.420692 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:21:41.420692 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '97bffe50-0cb3-11ed-bac1-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:21:41.460854 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1 2022-07-26 07:21:41.491020 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:21:41.540677 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:21:41.580674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:21:41.580674 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released. Dialplan: sofia/default/0619646866@41.160.32.115:5060 parsing [default->0114067300] continue=false Dialplan: sofia/default/0619646866@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(effective_destination_number=0114067300) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(callstart=2022-07-26 07:21:41) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(original_caller_id_name=0619646866) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(effective_caller_id_name=27619646866) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(receiver_accid=19) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid}) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(userinfo_id=19) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(sip_destination_number=297534) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(destination_number=0114067300) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(did_number=0114067300) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za) Dialplan: sofia/default/0619646866@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0619646866@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0619646866@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0619646866@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 1 Tot 118016) 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0619646866@41.160.32.115:5060) State EXECUTE 2022-07-26 07:21:41.691676 [DEBUG] mod_sofia.c:198 sofia/default/0619646866@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:21:41.691676 [DEBUG] switch_core_state_machine.c:328 sofia/default/0619646866@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(effective_destination_number=0114067300) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [effective_destination_number]=[0114067300] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(callstart=2022-07-26 07:21:41) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [callstart]=[2022-07-26 07:21:41] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(original_caller_id_name=0619646866) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [original_caller_id_name]=[0619646866] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(effective_caller_id_name=27619646866) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [effective_caller_id_name]=[27619646866] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(receiver_accid=19) 2022-07-26 07:21:41.691676 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [receiver_accid]=[19] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za) 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za) 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:21:41.691676 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(call_type=5) 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(calltype=SIP-DID) 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0619646866@41.160.32.115:5060 db(insert/pickup_any_group_/297534/97bffe50-0cb3-11ed-bac1-d3f1ef10c389) EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0619646866@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:21:41.701175 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0619646866@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:21:41.701175 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0619646866@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:21:41.701175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0619646866@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0619646866@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za) 2022-07-26 07:21:41.701175 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za] EXECUTE sofia/default/0619646866@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/0619646866@41.160.32.115:5060 ring_ready() 2022-07-26 07:21:42.710689 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0619646866@41.160.32.115:5060! 2022-07-26 07:21:42.710689 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0619646866@41.160.32.115:5060! EXECUTE sofia/default/0619646866@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300) 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_channel.c:1250 sofia/default/0619646866@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event 2022-07-26 07:21:42.710689 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:21:42.710689 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:21:42.710689 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [9931e9c4-0cb3-11ed-bae9-d3f1ef10c389] 2022-07-26 07:21:42.710689 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 2 Tot 118017) 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT 2022-07-26 07:21:42.722673 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT 2022-07-26 07:21:42.722673 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658787554 1658787555 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 32548 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 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 2 Tot 118017) 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING 2022-07-26 07:21:42.722673 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING 2022-07-26 07:21:42.722673 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 118017) 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:21:42.722673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:21:42.722673 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0] 2022-07-26 07:21:42.740658 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [early][180] 2022-07-26 07:21:42.880682 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180] 2022-07-26 07:21:42.880682 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za! 2022-07-26 07:21:42.880682 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200] 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 20614805735866368 26221066175119361 IN IP4 156.38.249.181 s=3cxPS Audio call c=IN IP4 156.38.249.181 t=0 0 m=audio 9836 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:21:42.890686 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200] 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:21:42.890686 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:21:42.890686 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 32548 -> 156.38.249.181 port 9836 codec: 8 ms: 20 2022-07-26 07:21:42.890686 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:21:42.900666 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered 2022-07-26 07:21:42.900666 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE 2022-07-26 07:21:42.900666 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0619646866@41.160.32.115:5060! 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0619646866@41.160.32.115:5060] 156.38.231.107 port 22688 -> 41.160.32.115 port 20596 codec: 8 ms: 20 2022-07-26 07:21:42.900666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7180 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf send payload to 116 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7187 sofia/default/0619646866@41.160.32.115:5060 Set 2833 dtmf receive payload to 116 2022-07-26 07:21:42.900666 [DEBUG] switch_core_media.c:7210 sofia/default/0619646866@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:21:42.900666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0619646866@41.160.32.115:5060: v=0 o=FreeSWITCH 1658797414 1658797415 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 22688 RTP/AVP 8 116 a=rtpmap:8 PCMA/8000 a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:21:42.900666 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0619646866@41.160.32.115:5060] has been answered 2022-07-26 07:21:42.900666 [DEBUG] switch_channel.c:3773 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:21:42.900666 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:21:42.911533 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:21:42.911533 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 118017) 2022-07-26 07:21:42.911533 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:21:42.911533 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:21:42.911533 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:21:43.060789 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:21:43.060789 [DEBUG] sofia.c:7084 Channel sofia/default/0619646866@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:21:43.090948 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:21:43.110662 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:21:43.110662 [DEBUG] switch_scheduler.c:249 Added task 47231 switch_ivr_schedule_hangup (9931e9c4-0cb3-11ed-bae9-d3f1ef10c389) to run at 1658826103 2022-07-26 07:21:43.170662 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9836 to 156.38.231.105:9836 2022-07-26 07:21:43.840863 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0113866000@41.160.32.115:5060 [99dcad5a-0cb3-11ed-baef-d3f1ef10c389] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118018) 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:9873 sofia/default/0113866000@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 49800414589295 49800414589295 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20598 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 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0113866000@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:21:43.840863 [DEBUG] switch_core_codec.c:111 sofia/default/0113866000@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000 2022-07-26 07:21:43.840863 [DEBUG] switch_core_media.c:4767 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97 2022-07-26 07:21:43.840863 [DEBUG] sofia.c:7507 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0113866000@41.160.32.115:5060) State NEW 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118018) 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0113866000@41.160.32.115:5060) State INIT 2022-07-26 07:21:43.840863 [DEBUG] mod_sofia.c:90 sofia/default/0113866000@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:40 sofia/default/0113866000@41.160.32.115:5060 Standard INIT 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0113866000@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118018) 2022-07-26 07:21:43.840863 [DEBUG] switch_channel.c:2249 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0113866000@41.160.32.115:5060) State ROUTING 2022-07-26 07:21:43.840863 [DEBUG] mod_sofia.c:143 sofia/default/0113866000@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:21:43.840863 [DEBUG] switch_core_state_machine.c:236 sofia/default/0113866000@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:21:43.840863 [INFO] mod_dialplan_xml.c:637 Processing 0113866000 <0113866000>->D9570114034300 in context default 2022-07-26 07:21:43.840863 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected. 2022-07-26 07:21:43.840863 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:21:43.880681 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:21:43.930963 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:21:43.930963 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114034300 2022-07-26 07:21:43.930963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114034300' limit 1 2022-07-26 07:21:43.961397 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114034300' AND status=0 limit 1 2022-07-26 07:21:43.993462 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114034300' and status=0 LIMIT 1 2022-07-26 07:21:44.040665 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:21:44.040665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0113866000 / 2022-07-26 07:21:44.040665 [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 ="D9570114034300" LIMIT 1 2022-07-26 07:21:44.080665 [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="D9570114034300" AND domains.domain="156.38.231.106" limit 1 2022-07-26 07:21:44.115520 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:21:44.115520 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:21:44.115520 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:21:44.160661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114034300.*' OR blocked_patterns = '^D957011403430.*' OR blocked_patterns = '^D95701140343.*' OR blocked_patterns = '^D9570114034.*' OR blocked_patterns = '^D957011403.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' 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 2022-07-26 07:21:44.202680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114034300" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:21:44.241486 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:21:44.241486 [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 2022-07-26 07:21:44.261023 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114034300 2022-07-26 07:21:44.261023 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114034300 2022-07-26 07:21:44.261023 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114034300 2022-07-26 07:21:44.261023 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114034300 2022-07-26 07:21:44.261023 [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 = '^0114034300.*' OR patterns = '^011403430.*' OR patterns = '^01140343.*' OR patterns = '^0114034.*' OR patterns = '^011403.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:21:44.310662 [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 ="0114034300" AND A.accountid = '3' limit 1 2022-07-26 07:21:44.354744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114034300 2022-07-26 07:21:44.354744 [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 ="0114034300" LIMIT 1 2022-07-26 07:21:44.390664 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:21:44.390664 [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 = '0114034300' OR number = '011403430' OR number = '01140343' OR number = '0114034' OR number = '011403' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114034300*' OR number = '011403430*' OR number = '01140343*' OR number = '0114034*' OR number = '011403*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2022-07-26 07:21:44.750658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 89 limit 1 2022-07-26 07:21:44.790660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : metrobus.nebular.co.za 2022-07-26 07:21:44.790660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2022-07-26 07:21:44.790660 [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="611910" AND domains.domain="metrobus.nebular.co.za" limit 1 2022-07-26 07:21:44.823836 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1 2022-07-26 07:21:44.862698 [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 2022-07-26 07:21:44.902920 [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 2022-07-26 07:21:44.941332 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforemetrobus.nebular.co.za 2022-07-26 07:21:44.941332 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:21:44.941332 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' and uuid = '99dcad5a-0cb3-11ed-baef-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:21:44.980968 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' order by id desc limit 1 2022-07-26 07:21:45.030677 [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="611910" AND domains.domain="metrobus.nebular.co.za" limit 1 2022-07-26 07:21:45.070676 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 951 2022-07-26 07:21:45.070676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1 2022-07-26 07:21:45.114159 [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 2022-07-26 07:21:45.141198 [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 2022-07-26 07:21:45.180668 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1 2022-07-26 07:21:45.180668 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:21:45.180668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' and uuid = '99dcad5a-0cb3-11ed-baef-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:21:45.211095 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='611910' order by id desc limit 1 2022-07-26 07:21:45.260736 [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="611910" AND domains.domain="metrobus.nebular.co.za" limit 1 2022-07-26 07:21:45.301593 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 951 limit 1 2022-07-26 07:21:45.332416 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:21:45.332416 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released. Dialplan: sofia/default/0113866000@41.160.32.115:5060 parsing [default->0114034300] continue=false Dialplan: sofia/default/0113866000@41.160.32.115:5060 Regex (PASS) [0114034300] destination_number(D9570114034300) =~ /D9570114034300/ break=on-false Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(effective_destination_number=0114034300) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(callstart=2022-07-26 07:21:44) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(origination_rates_did=ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(original_caller_id_name=0113866000) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(effective_caller_id_name=27113866000) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(receiver_accid=89) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(domain_name=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(sip_to_host=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(call_type=0) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/611910/${uuid}) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(did_user_domain=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_h_X-call-type=did) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_h_X-did-call-type=DID-LOCAL) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/611910/${uuid}) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=89}[leg_timeout=20 ] sofia/${sofia_profile_name}/611910@metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(variable_sip_to_host=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(userinfo_id=89) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_destination_number=611910) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(did_number=611910) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(user_domain=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(variable_sip_to_host=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(userinfo_id=89) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(sip_destination_number=611910) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(destination_number=0114034300) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(did_number=0114034300) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action set(user_domain=metrobus.nebular.co.za) Dialplan: sofia/default/0113866000@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0114034300_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0113866000@41.160.32.115:5060 Regex (FAIL) [0114034300_recur_1] ${cond(${user_data 611910@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0113866000@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0113866000@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118018) 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0113866000@41.160.32.115:5060) State EXECUTE 2022-07-26 07:21:45.460710 [DEBUG] mod_sofia.c:198 sofia/default/0113866000@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:21:45.460710 [DEBUG] switch_core_state_machine.c:328 sofia/default/0113866000@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(effective_destination_number=0114034300) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [effective_destination_number]=[0114034300] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(callstart=2022-07-26 07:21:44) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [callstart]=[2022-07-26 07:21:44] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(origination_rates_did=ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [origination_rates_did]=[ID:4755|CODE:^0114034300.*|DESTINATION:0114034300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:89] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(original_caller_id_name=0113866000) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [original_caller_id_name]=[0113866000] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(effective_caller_id_name=27113866000) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [effective_caller_id_name]=[27113866000] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(receiver_accid=89) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [receiver_accid]=[89] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(domain_name=metrobus.nebular.co.za) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[metrobus.nebular.co.za] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(sip_to_host=metrobus.nebular.co.za) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[metrobus.nebular.co.za] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(call_type=0) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[0] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(calltype=DID-LOCAL) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [calltype]=[DID-LOCAL] EXECUTE sofia/default/0113866000@41.160.32.115:5060 db(insert/pickup_any_group_/611910/99dcad5a-0cb3-11ed-baef-d3f1ef10c389) EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:21:45.460710 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:21:45.460710 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:21:45.460710 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(did_user_domain=metrobus.nebular.co.za) 2022-07-26 07:21:45.460710 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[metrobus.nebular.co.za] EXECUTE sofia/default/0113866000@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/0113866000@41.160.32.115:5060 ring_ready() 2022-07-26 07:21:46.490675 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0113866000@41.160.32.115:5060! 2022-07-26 07:21:46.490675 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0113866000@41.160.32.115:5060! EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(sip_h_X-call-type=did) 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [sip_h_X-call-type]=[did] EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(sip_h_X-did-call-type=DID-LOCAL) 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [sip_h_X-did-call-type]=[DID-LOCAL] EXECUTE sofia/default/0113866000@41.160.32.115:5060 db(insert/pickup_any_group_/611910/99dcad5a-0cb3-11ed-baef-d3f1ef10c389) EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:21:46.490675 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [early][180] 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0113866000@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:21:46.490675 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0113866000@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:21:46.490675 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0113866000@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:21:46.490675 [DEBUG] mod_dptools.c:1548 SET sofia/default/0113866000@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0113866000@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=89}[leg_timeout=20 ] sofia/default/611910@metrobus.nebular.co.za) 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[metrobus.nebular.co.za] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[metrobus.nebular.co.za] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114034300.* // 0114034300 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[0] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[metrobus.nebular.co.za] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_channel.c:1250 sofia/default/0113866000@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:21:46.490675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/611910@metrobus.nebular.co.za [9b725c50-0cb3-11ed-bb1f-d3f1ef10c389] 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:4819 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:2963 sofia/default/611910@metrobus.nebular.co.za Setting leg timeout to 20 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_INIT (Cur 4 Tot 118019) 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/611910@metrobus.nebular.co.za) State INIT 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:90 sofia/default/611910@metrobus.nebular.co.za SOFIA INIT 2022-07-26 07:21:46.490675 [DEBUG] sofia_glue.c:1295 sofia/default/611910@metrobus.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658801238 1658801239 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 18868 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 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:40 sofia/default/611910@metrobus.nebular.co.za Standard INIT 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/611910@metrobus.nebular.co.za) State INIT going to sleep 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_ROUTING (Cur 4 Tot 118019) 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/611910@metrobus.nebular.co.za) State ROUTING 2022-07-26 07:21:46.490675 [DEBUG] mod_sofia.c:143 sofia/default/611910@metrobus.nebular.co.za SOFIA ROUTING 2022-07-26 07:21:46.490675 [DEBUG] switch_ivr_originate.c:67 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/611910@metrobus.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118019) 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/611910@metrobus.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:21:46.490675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/611910@metrobus.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:21:46.500668 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [calling][0] 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [proceeding][180] 2022-07-26 07:21:46.620675 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/611910@metrobus.nebular.co.za! 2022-07-26 07:21:46.620675 [DEBUG] switch_channel.c:3346 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completing][200] 2022-07-26 07:21:46.620675 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217537 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:21:46.630658 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/611910@metrobus.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:21:46.630658 [DEBUG] switch_core_codec.c:111 sofia/default/611910@metrobus.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/611910@metrobus.nebular.co.za] 156.38.231.107 port 18868 -> 156.38.249.180 port 10102 codec: 8 ms: 20 2022-07-26 07:21:46.630658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7180 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7187 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:21:46.630658 [DEBUG] switch_core_media.c:7210 sofia/default/611910@metrobus.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:21:46.630658 [NOTICE] sofia.c:8218 Channel [sofia/default/611910@metrobus.nebular.co.za] has been answered 2022-07-26 07:21:46.630658 [DEBUG] switch_channel.c:3773 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change RINGING -> ACTIVE 2022-07-26 07:21:46.642608 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0113866000@41.160.32.115:5060! 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0113866000@41.160.32.115:5060] 156.38.231.107 port 24240 -> 41.160.32.115 port 20598 codec: 8 ms: 20 2022-07-26 07:21:46.642608 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7180 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf send payload to 97 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7187 sofia/default/0113866000@41.160.32.115:5060 Set 2833 dtmf receive payload to 97 2022-07-26 07:21:46.642608 [DEBUG] switch_core_media.c:7210 sofia/default/0113866000@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:21:46.642608 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0113866000@41.160.32.115:5060: v=0 o=FreeSWITCH 1658795866 1658795867 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24240 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 2022-07-26 07:21:46.642608 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0113866000@41.160.32.115:5060] has been answered 2022-07-26 07:21:46.642608 [DEBUG] switch_channel.c:3773 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:21:46.642608 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/611910@metrobus.nebular.co.za] 2022-07-26 07:21:46.642608 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:21:46.642608 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118019) 2022-07-26 07:21:46.642608 [DEBUG] switch_core_state_machine.c:653 (sofia/default/611910@metrobus.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:21:46.642608 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:21:46.661947 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:21:46.830794 [DEBUG] switch_ivr_bridge.c:546 sofia/default/611910@metrobus.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:21:46.851149 [DEBUG] switch_ivr.c:623 sofia/default/611910@metrobus.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/611910@metrobus.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:21:46.851149 [DEBUG] switch_scheduler.c:249 Added task 47232 switch_ivr_schedule_hangup (9b725c50-0cb3-11ed-bb1f-d3f1ef10c389) to run at 1658826106 2022-07-26 07:21:46.910687 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.180:10102 to 156.38.231.105:10102 2022-07-26 07:21:46.920680 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:21:47.003293 [DEBUG] sofia.c:7084 Channel sofia/default/0113866000@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:21:54.940690 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2408 2022-07-26 07:21:54.940690 [INFO] switch_channel.c:515 RECV DTMF *:2408 2022-07-26 07:21:54.950683 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918005960 dur=160/160/2408 seq=24710 lw=3918005960 2022-07-26 07:21:54.970679 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=320/320/2408 seq=24711 lw=3918006120 2022-07-26 07:21:54.981054 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=480/480/2408 seq=24712 lw=3918006280 2022-07-26 07:21:55.010740 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=640/640/2408 seq=24713 lw=3918006440 2022-07-26 07:21:55.030771 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=800/800/2408 seq=24714 lw=3918006600 2022-07-26 07:21:55.050682 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=960/960/2408 seq=24715 lw=3918006760 2022-07-26 07:21:55.062847 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1120/1120/2408 seq=24716 lw=3918006920 2022-07-26 07:21:55.081278 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1280/1280/2408 seq=24717 lw=3918007080 2022-07-26 07:21:55.102573 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1440/1440/2408 seq=24718 lw=3918007240 2022-07-26 07:21:55.122710 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1600/1600/2408 seq=24719 lw=3918007400 2022-07-26 07:21:55.142564 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1760/1760/2408 seq=24720 lw=3918007560 2022-07-26 07:21:55.162006 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=1920/1920/2408 seq=24721 lw=3918007720 2022-07-26 07:21:55.191599 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2080/2080/2408 seq=24722 lw=3918007880 2022-07-26 07:21:55.210681 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2240/2240/2408 seq=24723 lw=3918008040 2022-07-26 07:21:55.230676 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918005960 dur=2400/2400/2408 seq=24724 lw=3918008200 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24725 lw=3918008200 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24726 lw=3918008200 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918005960 dur=2560/2560/2408 seq=24727 lw=3918008200 2022-07-26 07:21:55.250677 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2022-07-26 07:21:55.430663 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100] 2022-07-26 07:21:55.430663 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217538 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=sendonly 2022-07-26 07:21:55.430663 [DEBUG] switch_channel.c:1844 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HELD 2022-07-26 07:21:55.560684 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh) 2022-07-26 07:21:55.560684 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2022-07-26 07:21:55.560684 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:21:55.680678 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:21:55.680678 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:21:55.702157 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:21:55.800675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:21:56.100675 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100] 2022-07-26 07:21:56.100675 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217539 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:21:56.360671 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2022-07-26 07:21:56.360671 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:21:56.360671 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:21:56.360671 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:21:56.360671 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE 2022-07-26 07:21:56.370679 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:21:56.390672 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:21:56.470672 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:22:02.973327 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0744086022@41.160.32.115:5060 [a54495a4-0cb3-11ed-bb26-d3f1ef10c389] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_NEW (Cur 5 Tot 118020) 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:9873 sofia/default/0744086022@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 63802007993397 63802007993397 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20600 RTP/AVP 102 8 102 102 18 116 a=rtpmap:102 AMR/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-15 a=ptime:20 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0744086022@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:22:02.973327 [DEBUG] switch_core_codec.c:111 sofia/default/0744086022@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000 2022-07-26 07:22:02.973327 [DEBUG] switch_core_media.c:4767 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116 2022-07-26 07:22:02.973327 [DEBUG] sofia.c:7507 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0744086022@41.160.32.115:5060) State NEW 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_INIT (Cur 5 Tot 118020) 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT 2022-07-26 07:22:02.973327 [DEBUG] mod_sofia.c:90 sofia/default/0744086022@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:40 sofia/default/0744086022@41.160.32.115:5060 Standard INIT 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118020) 2022-07-26 07:22:02.973327 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING 2022-07-26 07:22:02.973327 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:22:02.973327 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:22:02.973327 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001 in context default 2022-07-26 07:22:02.973327 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected. 2022-07-26 07:22:02.973327 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:22:03.016622 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:03.057574 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:22:03.057574 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001 2022-07-26 07:22:03.057574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001' limit 1 2022-07-26 07:22:03.131044 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001' AND status=0 limit 1 2022-07-26 07:22:03.193809 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001' and status=0 LIMIT 1 2022-07-26 07:22:03.243630 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:22:03.243630 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0744086022 / 2022-07-26 07:22:03.243630 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:03.308028 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2022-07-26 07:22:03.308028 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:22:03.317878 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:22:03.376096 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:22:03.410658 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:22:03.410658 [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 2022-07-26 07:22:03.450657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-07-26 07:22:03.450657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2022-07-26 07:22:03.450657 [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 = '^0103130001.*' OR patterns = '^010313000.*' 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 = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:22:03.462298 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2408 2022-07-26 07:22:03.462298 [INFO] switch_channel.c:515 RECV DTMF *:2408 2022-07-26 07:22:03.462298 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918074120 dur=160/160/2408 seq=25089 lw=3918074120 2022-07-26 07:22:03.494672 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=320/320/2408 seq=25090 lw=3918074280 2022-07-26 07:22:03.503030 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=480/480/2408 seq=25091 lw=3918074440 2022-07-26 07:22:03.503030 [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 ="0103130001" AND A.accountid = '3' limit 1 2022-07-26 07:22:03.521705 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=640/640/2408 seq=25092 lw=3918074600 2022-07-26 07:22:03.542975 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=800/800/2408 seq=25093 lw=3918074760 2022-07-26 07:22:03.542975 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001 2022-07-26 07:22:03.542975 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:03.570662 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=960/960/2408 seq=25094 lw=3918074920 2022-07-26 07:22:03.591624 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918074120 dur=1120/1120/2408 seq=25095 lw=3918075080 2022-07-26 07:22:03.591624 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:22:03.591624 [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 = '0103130001' OR number = '010313000' 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 = '0103130001*' OR number = '010313000*' 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 = ' HELD 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3 2022-07-26 07:22:03.971823 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2022-07-26 07:22:03.971823 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:04.041963 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za 2022-07-26 07:22:04.041963 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:22:04.041963 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:04.110790 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:22:04.110790 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0744086022 2022-07-26 07:22:04.110790 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022 2022-07-26 07:22:04.110790 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27"..... 2022-07-26 07:22:04.110790 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:04.123834 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh) 2022-07-26 07:22:04.123834 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2022-07-26 07:22:04.123834 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2022-07-26 07:22:04.145508 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2007 2022-07-26 07:22:04.145508 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10 2022-07-26 07:22:04.145508 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2022-07-26 07:22:04.145508 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2022-07-26 07:22:04.207147 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:04.223910 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:22:04.223910 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:22:04.223910 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:22:04.243881 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here=========================== 2022-07-26 07:22:04.243881 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:22:04.243881 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [default->0103130001] continue=false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001] destination_number(0103130001) =~ /0103130001/ break=on-false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:22:04) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=10) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=10) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=1) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring}) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-Accountcode=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(no_answer_number=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=extension) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(originate_disposition=no_key_press) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action answer() Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action ivr(Office IVR5) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118020) 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE 2022-07-26 07:22:04.243881 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:22:04.243881 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:22:04) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:22:04] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:22:04.243881 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za) 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=10) 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=10) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[10] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=1) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[1] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417)) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-Accountcode=7) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-Accountcode]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_number=103) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_number]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(no_answer_number=103) 2022-07-26 07:22:04.276220 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type=extension) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type]=[extension] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type_value=103) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type_value]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(opensips_flag=0) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [opensips_flag]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(originate_disposition=no_key_press) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [originate_disposition]=[no_key_press] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(userinfo_id=3) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [userinfo_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_did_number=0103130001) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_did_number]=[0103130001] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729) 2022-07-26 07:22:04.276220 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729] EXECUTE sofia/default/0744086022@41.160.32.115:5060 answer() 2022-07-26 07:22:04.276220 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0744086022@41.160.32.115:5060] 156.38.231.107 port 18360 -> 41.160.32.115 port 20600 codec: 8 ms: 20 2022-07-26 07:22:04.281808 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7180 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7187 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf receive payload to 116 2022-07-26 07:22:04.281808 [DEBUG] switch_core_media.c:7210 sofia/default/0744086022@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:22:04.281808 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0744086022@41.160.32.115:5060: v=0 o=FreeSWITCH 1658801764 1658801765 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 18360 RTP/AVP 8 116 a=rtpmap:8 PCMA/8000 a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:04.281808 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0744086022@41.160.32.115:5060] has been answered 2022-07-26 07:22:04.281808 [DEBUG] switch_channel.c:3773 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE EXECUTE sofia/default/0744086022@41.160.32.115:5060 ivr(Office IVR5) 2022-07-26 07:22:04.321341 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:22:04.462442 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100] 2022-07-26 07:22:04.462442 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217541 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:880 building menu 'Office IVR5' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu Office IVR5 2022-07-26 07:22:04.542024 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:22:04.542024 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2022-07-26 07:22:04.571121 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:22:04.590731 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:04.720768 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2022-07-26 07:22:04.720768 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:04.720768 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:22:04.720768 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:22:04.732266 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE 2022-07-26 07:22:04.732266 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:22:04.732266 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:04.804560 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:22:06.520728 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:2248 2022-07-26 07:22:06.520728 [INFO] switch_channel.c:515 RECV DTMF *:2248 2022-07-26 07:22:06.530677 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=3918098440 dur=160/160/2248 seq=25202 lw=3918098440 2022-07-26 07:22:06.541311 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=320/320/2248 seq=25203 lw=3918098600 2022-07-26 07:22:06.570673 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=480/480/2248 seq=25204 lw=3918098760 2022-07-26 07:22:06.583210 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=640/640/2248 seq=25205 lw=3918098920 2022-07-26 07:22:06.613069 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=800/800/2248 seq=25206 lw=3918099080 2022-07-26 07:22:06.622988 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=960/960/2248 seq=25207 lw=3918099240 2022-07-26 07:22:06.650944 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1120/1120/2248 seq=25208 lw=3918099400 2022-07-26 07:22:06.663904 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1280/1280/2248 seq=25209 lw=3918099560 2022-07-26 07:22:06.683020 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1440/1440/2248 seq=25210 lw=3918099720 2022-07-26 07:22:06.711464 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1600/1600/2248 seq=25211 lw=3918099880 2022-07-26 07:22:06.711464 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100] 2022-07-26 07:22:06.711464 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217542 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=sendonly 2022-07-26 07:22:06.711464 [DEBUG] switch_channel.c:1844 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HELD 2022-07-26 07:22:06.860659 [DEBUG] switch_ivr.c:623 sofia/default/0113866000@41.160.32.115:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/default/0113866000@41.160.32.115:5060 playback(local_stream://moh) 2022-07-26 07:22:06.860659 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz 2022-07-26 07:22:06.860659 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:06.960724 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:22:06.960724 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:22:06.960724 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1760/1760/2248 seq=25212 lw=3918100040 2022-07-26 07:22:06.980697 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:22:06.980697 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=1920/1920/2248 seq=25213 lw=3918100200 2022-07-26 07:22:07.000715 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=2080/2080/2248 seq=25214 lw=3918100360 2022-07-26 07:22:07.020685 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=3918098440 dur=2240/2240/2248 seq=25215 lw=3918100520 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25216 lw=3918100520 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25217 lw=3918100520 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=3918098440 dur=2400/2400/2248 seq=25218 lw=3918100520 2022-07-26 07:22:07.040712 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2022-07-26 07:22:07.084613 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:22:07.283002 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [received][100] 2022-07-26 07:22:07.283002 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 547071459328 205873217543 IN IP4 156.38.249.180 s=3cxPS Audio call c=IN IP4 156.38.249.180 t=0 0 m=audio 10102 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:22:07.340691 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:800 2022-07-26 07:22:07.340691 [INFO] switch_channel.c:515 RECV DTMF 1:800 2022-07-26 07:22:07.340691 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/mbvit_.wav 2022-07-26 07:22:07.340691 [DEBUG] switch_ivr_menu.c:377 waiting for 19/20 digits t/o 2000 2022-07-26 07:22:07.560982 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh 2022-07-26 07:22:07.560982 [DEBUG] switch_channel.c:2029 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change HELD -> UNHELD 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:4767 sofia/default/611910@metrobus.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:07.560982 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/611910@metrobus.nebular.co.za. 2022-07-26 07:22:07.560982 [DEBUG] sofia.c:7999 Processing updated SDP 2022-07-26 07:22:07.560982 [DEBUG] switch_core_io.c:941 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change UNHELD -> ACTIVE 2022-07-26 07:22:07.570676 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [completed][200] 2022-07-26 07:22:07.590932 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:07.631981 [DEBUG] sofia.c:7084 Channel sofia/default/611910@metrobus.nebular.co.za entering state [ready][200] 2022-07-26 07:22:08.805616 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27124713846@ecic.nebular.co.za:5060 [a8c05452-0cb3-11ed-bb54-d3f1ef10c389] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_NEW (Cur 6 Tot 118021) 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:9873 sofia/default/27124713846@ecic.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [received][100] 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 359720288256 364820561921 IN IP4 156.38.249.182 s=3cxPS Audio call c=IN IP4 156.38.249.182 t=0 0 m=audio 9430 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 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27124713846@ecic.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:22:08.805616 [DEBUG] switch_core_codec.c:111 sofia/default/27124713846@ecic.nebular.co.za:5060 Original read codec set to PCMA:8 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:08.805616 [DEBUG] switch_core_media.c:4767 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:08.805616 [DEBUG] sofia.c:7507 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27124713846@ecic.nebular.co.za:5060) State NEW 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_INIT (Cur 6 Tot 118021) 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124713846@ecic.nebular.co.za:5060) State INIT 2022-07-26 07:22:08.805616 [DEBUG] mod_sofia.c:90 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA INIT 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:40 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard INIT 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124713846@ecic.nebular.co.za:5060) State INIT going to sleep 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 6 Tot 118021) 2022-07-26 07:22:08.805616 [DEBUG] switch_channel.c:2249 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124713846@ecic.nebular.co.za:5060) State ROUTING 2022-07-26 07:22:08.805616 [DEBUG] mod_sofia.c:143 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA ROUTING 2022-07-26 07:22:08.805616 [DEBUG] switch_core_state_machine.c:236 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard ROUTING 2022-07-26 07:22:08.805616 [INFO] mod_dialplan_xml.c:637 Processing 0124713800 <0124713800>->0119368421 in context default 2022-07-26 07:22:08.805616 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea43083f0 Connected. 2022-07-26 07:22:08.805616 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:22:08.870671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:08.912367 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:22:08.912367 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0119368421 2022-07-26 07:22:08.912367 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0119368421' limit 1 2022-07-26 07:22:08.972179 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0119368421' AND status=0 limit 1 2022-07-26 07:22:09.040660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0119368421' and status=0 LIMIT 1 2022-07-26 07:22:09.110657 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:22:09.110657 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 27124713800 / 27124713800 2022-07-26 07:22:09.110657 [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 ="0119368421" LIMIT 1 2022-07-26 07:22:09.160669 [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="0119368421" AND domains.domain="ecic.nebular.co.za" limit 1 2022-07-26 07:22:09.192303 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:22:09.192303 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 993160] 2022-07-26 07:22:09.192303 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "993160" AND deleted = 0 limit 1 2022-07-26 07:22:09.260666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0119368421.*' OR blocked_patterns = '^011936842.*' OR blocked_patterns = '^01193684.*' OR blocked_patterns = '^0119368.*' OR blocked_patterns = '^011936.*' OR blocked_patterns = '^01193.*' OR blocked_patterns = '^0119.*' OR blocked_patterns = '^011.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 65 limit 1 2022-07-26 07:22:09.320677 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0119368421" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:424 digits '1' 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:577 IVR action on menu 'Office IVR5' matched '1' param 'transfer ${original_did_number}#PBX#7#21 XML ${domain_name}' 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:581 switch_ivr_menu_execute todo=[2] EXECUTE sofia/default/0744086022@41.160.32.115:5060 transfer(0103130001#PBX#7#21 XML mbvit.nebular.co.za) 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr.c:2165 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_EXECUTE -> CS_ROUTING 2022-07-26 07:22:09.360668 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/0744086022@41.160.32.115:5060 to XML[0103130001#PBX#7#21@mbvit.nebular.co.za] 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:559 action regex [1] [/^(\d{2,20})$/] [0] 2022-07-26 07:22:09.360668 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)' 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 6 Tot 118021) 2022-07-26 07:22:09.360668 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RINGING 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING 2022-07-26 07:22:09.360668 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:22:09.360668 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:22:09.360668 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001#PBX#7#21 in context mbvit.nebular.co.za 2022-07-26 07:22:09.370663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 1 2022-07-26 07:22:09.370663 [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 2022-07-26 07:22:09.435644 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3eac16f0d0 Connected. 2022-07-26 07:22:09.435644 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:22:09.471945 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0".....0119368421 2022-07-26 07:22:09.471945 [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 = '^0119368421.*' OR patterns = '^011936842.*' OR patterns = '^01193684.*' OR patterns = '^0119368.*' OR patterns = '^011936.*' OR patterns = '^01193.*' OR patterns = '^0119.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 65 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:22:09.471945 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:09.521240 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:22:09.521240 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001#PBX#7#21 2022-07-26 07:22:09.521240 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001#PBX#7#21' limit 1 2022-07-26 07:22:09.541351 [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 ="0119368421" AND A.accountid = '65' limit 1 2022-07-26 07:22:09.541351 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001#PBX#7#21' AND status=0 limit 1 2022-07-26 07:22:09.581951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0119368421 2022-07-26 07:22:09.581951 [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 ="0119368421" LIMIT 1 2022-07-26 07:22:09.601430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001#PBX#7#21' and status=0 LIMIT 1 2022-07-26 07:22:09.611973 [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="0119368421" AND domains.domain="ecic.nebular.co.za" limit 1 2022-07-26 07:22:09.633246 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:22:09.633246 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0744086022 / 0744086022 2022-07-26 07:22:09.633246 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:09.662744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-26 07:22:09.662744 [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 = '0119368421' OR number = '011936842' OR number = '01193684' OR number = '0119368' OR number = '011936' OR number = '01193' OR number = '0119' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0119368421*' OR number = '011936842*' OR number = '01193684*' OR number = '0119368*' OR number = '011936*' OR number = '01193*' OR number = '0119*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '27124713800' OR number = '2712471380' OR number = '271247138' OR number = '27124713' OR number = '2712471' OR number = '271247' OR number = '27124' OR number = '2712' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27124713800*' OR number = '2712471380*' OR number = '271247138*' OR number = '27124713*' OR number = '2712471*' OR number = '271247*' 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 2022-07-26 07:22:09.662744 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za 2022-07-26 07:22:09.662744 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:09.704491 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2022-07-26 07:22:09.704491 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7] 2022-07-26 07:22:09.704491 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:22:09.721279 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:22:09.721279 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0119368421' OR routing_prefix = '011936842' OR routing_prefix = '01193684' OR routing_prefix = '0119368' OR routing_prefix = '011936' OR routing_prefix = '01193' OR routing_prefix = '0119' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:22:09.761155 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0119368421)!!!! 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27119368421 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27119368421' limit 1 2022-07-26 07:22:09.761155 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001#PBX#7#21" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:22:09.803222 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0119368421)!!!! 2022-07-26 07:22:09.820663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:22:09.820663 [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 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 65 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 993160 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2105.90307 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:22:09.851060 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27124713800 2022-07-26 07:22:09.851060 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:22:09.861038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-07-26 07:22:09.861038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2022-07-26 07:22:09.861038 [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 = '^0103130001#PBX#7#21.*' OR patterns = '^0103130001#PBX#7#2.*' OR patterns = '^0103130001#PBX#7#.*' OR patterns = '^0103130001#PBX#7.*' OR patterns = '^0103130001#PBX#.*' OR patterns = '^0103130001#PBX.*' OR patterns = '^0103130001#PB.*' OR patterns = '^0103130001#P.*' OR patterns = '^0103130001#.*' OR patterns = '^0103130001.*' OR patterns = '^010313000.*' 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 = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:22:09.891775 [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 ="0103130001#PBX#7#21" AND A.accountid = '7' limit 1 2022-07-26 07:22:09.931845 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001#PBX#7#21 2022-07-26 07:22:09.931845 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:09.944664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:22:09.944664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:22:09.965270 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:22:09.965270 [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 = '0103130001#PBX#7#21' OR number = '0103130001#PBX#7#2' OR number = '0103130001#PBX#7#' OR number = '0103130001#PBX#7' OR number = '0103130001#PBX#' OR number = '0103130001#PBX' OR number = '0103130001#PB' OR number = '0103130001#P' OR number = '0103130001#' OR number = '0103130001' OR number = '010313000' 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 = '0103130001#PBX#7#21*' OR number = '0103130001#PBX#7#2*' OR number = '0103130001#PBX#7#*' OR number = '0103130001#PBX#7*' OR number = '0103130001#PBX#*' OR number = '0103130001#PBX*' OR number = '0103130001#PB*' OR number = '0103130001#P*' OR number = '0103130001#*' OR number = '0103130001*' OR number = '010313000*' 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 = '0744086022' OR number = '074408602' OR number = '07440860' OR number = '0744086' OR number = '074408' OR number = '07440' OR number = '0744' OR number = '074' OR number = '07' OR number = '0' OR number ='--') OR (number = '0744086022*' OR number = '074408602*' OR number = '07440860*' OR number = '0744086*' OR number = '074408*' OR number = '07440*' OR number = '0744*' OR number = '074*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:22:10.001429 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:22:10.001429 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001#PBX#7#21' OR routing_prefix = '0103130001#PBX#7#2' OR routing_prefix = '0103130001#PBX#7#' OR routing_prefix = '0103130001#PBX#7' OR routing_prefix = '0103130001#PBX#' OR routing_prefix = '0103130001#PBX' OR routing_prefix = '0103130001#PB' OR routing_prefix = '0103130001#P' OR routing_prefix = '0103130001#' OR routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:22:10.020665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=65) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1792677 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D000-TELKOMGNP 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 65 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:10.060662 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2105.90307 balance Accountid 65 !!! 2022-07-26 07:22:10.060662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:22:10.060662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:22:10.060662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.7794 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:22:10.092986 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:10.092986 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:22:10.104622 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0119368421.*' OR blocked_patterns = '^011936842.*' OR blocked_patterns = '^01193684.*' OR blocked_patterns = '^0119368.*' OR blocked_patterns = '^011936.*' OR blocked_patterns = '^01193.*' OR blocked_patterns = '^0119.*' OR blocked_patterns = '^011.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:22:10.144187 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:22:10.144187 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:10.181574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:22:10.181574 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:10.202949 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2022-07-26 07:22:10.202949 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:10.221840 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1416515 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D000-TELKOMGNP 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!! 2022-07-26 07:22:10.261348 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:22:10.261348 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1792677 2022-07-26 07:22:10.261348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:22:10.261348 [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 2022-07-26 07:22:10.293150 [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 = '^0119368421.*' OR pattern = '^011936842.*' OR pattern = '^01193684.*' OR pattern = '^0119368.*' OR pattern = '^011936.*' OR pattern = '^01193.*' OR pattern = '^0119.*' OR pattern = '^011.*' OR pattern = '^01.*' 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 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:10.311308 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.7794 balance Accountid 7 !!! 2022-07-26 07:22:10.311308 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-07-26 07:22:10.311308 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:22:10.311308 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:22:10.372032 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:22:10.372032 [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 = 65 AND status=0 LIMIT 1 2022-07-26 07:22:10.412587 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:22:10.412587 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:22:10.431637 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:22:10.431637 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:10.444374 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:22:10.444374 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:22:10.444374 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:10.482117 [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 2022-07-26 07:22:10.522469 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0119368421 2022-07-26 07:22:10.522469 [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 2022-07-26 07:22:10.551721 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2022-07-26 07:22:10.551721 [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 ="0103130001" LIMIT 1 2022-07-26 07:22:10.561912 [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 ="0119368421" LIMIT 1 2022-07-26 07:22:10.601953 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:22:10.601953 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea43083f0 released. Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 parsing [default->0119368421] continue=false Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Regex (PASS) [0119368421] destination_number(0119368421) =~ /0119368421/ break=on-false Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_destination_number=0119368421) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(callstart=2022-07-26 07:22:10) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(account_id=65) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(parent_id=5) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(call_direction=outbound) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(origination_rates=ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(original_caller_id_name=27124713800) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(original_caller_id_number=27124713800) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action limit(db 993160 user_993160 10 ) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_caller_id_name=27124713800) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(effective_caller_id_number=27124713800) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/27124713846@ecic.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/27124713846@ecic.nebular.co.za:5060 Action set(trunk_id=5) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(provider_id=3) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(rate_flag=0) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(force_trunk_flag=1792677) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action set(intcall=0) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action export(presence_data=x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP) Dialplan: sofia/default/27124713846@ecic.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0119368421;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124713846@ecic.nebular.co.za:5060) State ROUTING going to sleep 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 6 Tot 118021) 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713846@ecic.nebular.co.za:5060) State EXECUTE 2022-07-26 07:22:10.601953 [DEBUG] mod_sofia.c:198 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA EXECUTE 2022-07-26 07:22:10.601953 [DEBUG] switch_core_state_machine.c:328 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_destination_number=0119368421) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_destination_number]=[0119368421] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(callstart=2022-07-26 07:22:10) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [callstart]=[2022-07-26 07:22:10] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(hangup_after_bridge=true) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(continue_on_fail=TRUE) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(account_id=65) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [account_id]=[65] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(parent_id=5) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [parent_id]=[5] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(entity_id=0) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(call_processed=internal) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(call_direction=outbound) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [call_direction]=[outbound] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(accountname=default) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(origination_rates=ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [origination_rates]=[ID:1792677|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:65||ID:1416515|CODE:^011936.*|DESTINATION:D000-TELKOMGNP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(original_caller_id_name=27124713800) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [original_caller_id_name]=[27124713800] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(original_caller_id_number=27124713800) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [original_caller_id_number]=[27124713800] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 limit(db 993160 user_993160 10 ) 2022-07-26 07:22:10.601953 [DEBUG] switch_limit.c:126 incr called: 993160_user_993160 max:10, interval:0 2022-07-26 07:22:10.601953 [DEBUG] mod_db.c:194 Usage for 993160_user_993160 is now 1/10 EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:22:10.601953 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:22:10.601953 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 1/20 EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_caller_id_name=27124713800) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_caller_id_name]=[27124713800] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(effective_caller_id_number=27124713800) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [effective_caller_id_number]=[27124713800] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(calltype=STANDARD) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [calltype]=[STANDARD] EXECUTE sofia/default/27124713846@ecic.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) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.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/27124713846@ecic.nebular.co.za:5060 set(trunk_id=5) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [trunk_id]=[5] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(provider_id=3) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [provider_id]=[3] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(rate_flag=0) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [rate_flag]=[0] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(force_trunk_flag=1792677) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [force_trunk_flag]=[1792677] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 export(presence_data=trunk_id=5) 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 set(intcall=0) 2022-07-26 07:22:10.601953 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124713846@ecic.nebular.co.za:5060 [intcall]=[0] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 export(presence_data=x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP) 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP] EXECUTE sofia/default/27124713846@ecic.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0119368421;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1250 sofia/default/27124713846@ecic.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP] to event 2022-07-26 07:22:10.601953 [DEBUG] switch_channel.c:1250 sofia/default/27124713846@ecic.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||ECIC(993160)|||^011936.* // D000-TELKOMGNP // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^011936.* // D000-TELKOMGNP] to event 2022-07-26 07:22:10.601953 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:22:10.601953 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:10.601953 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0119368421 [a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389] 2022-07-26 07:22:10.601953 [DEBUG] mod_sofia.c:4819 (sofia/default/0119368421) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_INIT (Cur 7 Tot 118022) 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0119368421) State INIT 2022-07-26 07:22:10.621344 [DEBUG] mod_sofia.c:90 sofia/default/0119368421 SOFIA INIT 2022-07-26 07:22:10.621344 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0119368421 2022-07-26 07:22:10.621344 [DEBUG] sofia_glue.c:1295 sofia/default/0119368421 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658790874 1658790875 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 29256 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:40 sofia/default/0119368421 Standard INIT 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0119368421) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0119368421) State INIT going to sleep 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_ROUTING (Cur 7 Tot 118022) 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0119368421) State ROUTING 2022-07-26 07:22:10.621344 [DEBUG] mod_sofia.c:143 sofia/default/0119368421 SOFIA ROUTING 2022-07-26 07:22:10.621344 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0119368421) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0119368421) State ROUTING going to sleep 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_CONSUME_MEDIA (Cur 7 Tot 118022) 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0119368421) State CONSUME_MEDIA 2022-07-26 07:22:10.621344 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0119368421) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:10.631137 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [calling][0] 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!! 2022-07-26 07:22:10.631137 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2022-07-26 07:22:10.631137 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2022-07-26 07:22:10.631137 [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 = 7 AND status=0 LIMIT 1 2022-07-26 07:22:10.682268 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7 2022-07-26 07:22:10.682268 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:7 2022-07-26 07:22:10.751749 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2022-07-26 07:22:10.751749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:10.810660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za 2022-07-26 07:22:10.810660 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:22:10.810660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:10.870654 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:22:10.870654 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022 2022-07-26 07:22:10.870654 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:22:10.870654 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:10.930658 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za 2022-07-26 07:22:10.930658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-07-26 07:22:10.930658 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 7 2022-07-26 07:22:10.930658 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : Ring group 2022-07-26 07:22:10.930658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 21 and status = 0 LIMIT 1 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"173","delay_1":"0","time_out_1":"15","Promptdropdown_1":"1","destination_2":"171","delay_2":"0","time_out_2":"15","Promptdropdown_2":"1","destination_3":"174","delay_3":"0","time_out_3":"15","Promptdropdown_3":"1","destination_4":"0832663125#","delay_4":"10","time_out_4":"10","Promptdropdown_4":"1"} 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement====Count===============16 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement===================0 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ring_group_recording===================1 2022-07-26 07:22:10.990666 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za, 2022-07-26 07:22:10.990666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1 2022-07-26 07:22:11.005555 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [completing][200] 2022-07-26 07:22:11.005555 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 61791963306917 61791963306917 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20602 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 2022-07-26 07:22:11.021238 [DEBUG] sofia.c:7084 Channel sofia/default/0119368421 entering state [ready][200] 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0119368421 G729/8000 20 ms 160 samples 8000 bits 1 channels 2022-07-26 07:22:11.021238 [DEBUG] switch_core_codec.c:111 sofia/default/0119368421 Original read codec set to G729:18 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:4767 sofia/default/0119368421 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:11.021238 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0119368421] 156.38.231.107 port 29256 -> 41.160.32.115 port 20602 codec: 18 ms: 20 2022-07-26 07:22:11.021238 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7180 sofia/default/0119368421 Set 2833 dtmf send payload to 101 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7187 sofia/default/0119368421 Set 2833 dtmf receive payload to 101 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:7210 sofia/default/0119368421 Set rtp dtmf delay to 40 2022-07-26 07:22:11.031065 [NOTICE] sofia.c:8218 Channel [sofia/default/0119368421] has been answered 2022-07-26 07:22:11.031065 [DEBUG] switch_channel.c:3773 (sofia/default/0119368421) Callstate Change DOWN -> ACTIVE 2022-07-26 07:22:11.031065 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27124713846@ecic.nebular.co.za:5060] 156.38.231.107 port 22966 -> 156.38.249.182 port 9430 codec: 8 ms: 20 2022-07-26 07:22:11.031065 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7180 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7187 sofia/default/27124713846@ecic.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:22:11.041128 [DEBUG] switch_core_media.c:7210 sofia/default/27124713846@ecic.nebular.co.za:5060 Set rtp dtmf delay to 40 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27124713846@ecic.nebular.co.za:5060: v=0 o=FreeSWITCH 1658797165 1658797166 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 22966 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 2022-07-26 07:22:11.041128 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/27124713846@ecic.nebular.co.za:5060] has been answered 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:3773 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0119368421] 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0119368421) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_EXCHANGE_MEDIA (Cur 7 Tot 118022) 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0119368421) State EXCHANGE_MEDIA 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:22:11.041128 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [completed][200] 2022-07-26 07:22:11.041128 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:22:11.041128 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3eac16f0d0 released. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [mbvit.nebular.co.za->0103130001#PBX#7#21] continue=false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001#PBX#7#21] destination_number(0103130001#PBX#7#21) =~ /0103130001#PBX#7#21/ break=on-false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001#PBX#7#21) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:22:10) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=5) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_number=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action limit(db 7 user_7 5 ) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_number=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=21) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_key=exec) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring}) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=pstn_1) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=0613668008) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001#PBX#7#21) 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 7 Tot 118022) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:2251 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:22:11.041128 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001#PBX#7#21) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001#PBX#7#21] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:22:10) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:22:10] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=7) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=5) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[5] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=0) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_number=0744086022) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_number]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 limit(db 7 user_7 5 ) 2022-07-26 07:22:11.041128 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0 2022-07-26 07:22:11.041128 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 1/5 EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_number=27744086022) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_number]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=7) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=7) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=21) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[21] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_key=exec) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_key]=[exec] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417)) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx) 2022-07-26 07:22:11.041128 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx] EXECUTE sofia/default/0744086022@41.160.32.115:5060 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/default/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/default/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/default/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/default/0832663125@mbvit.nebular.co.za,) 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1823 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[103] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:11.041128 [NOTICE] switch_channel.c:1104 New Channel sofia/default/173@mbvit.nebular.co.za [aa165374-0cb3-11ed-bba1-d3f1ef10c389] 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:4819 (sofia/default/173@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2963 sofia/default/173@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:11.041128 [NOTICE] switch_channel.c:1104 New Channel sofia/default/171@mbvit.nebular.co.za [aa1662ba-0cb3-11ed-bba7-d3f1ef10c389] 2022-07-26 07:22:11.041128 [DEBUG] mod_sofia.c:4819 (sofia/default/171@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:11.041128 [DEBUG] switch_ivr_originate.c:2963 sofia/default/171@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:11.063478 [NOTICE] switch_channel.c:1104 New Channel sofia/default/174@mbvit.nebular.co.za [aa1702b0-0cb3-11ed-bbad-d3f1ef10c389] 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:4819 (sofia/default/174@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2963 sofia/default/174@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:11.063478 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125@mbvit.nebular.co.za [aa171570-0cb3-11ed-bbb3-d3f1ef10c389] 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/173@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2963 sofia/default/0832663125@mbvit.nebular.co.za Setting leg timeout to 10 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:2981 sofia/default/0832663125@mbvit.nebular.co.za Setting leg delay start to 10 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/173@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658795713 1658795714 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24418 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/173@mbvit.nebular.co.za Standard INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/173@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/173@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/173@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/171@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/171@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658800421 1658800422 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 19710 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/171@mbvit.nebular.co.za Standard INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/171@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/171@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/171@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:90 sofia/default/174@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:22:11.063478 [DEBUG] sofia_glue.c:1295 sofia/default/174@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658791621 1658791622 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 28510 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:40 sofia/default/174@mbvit.nebular.co.za Standard INIT 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:48 (sofia/default/174@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:22:11.063478 [DEBUG] mod_sofia.c:143 sofia/default/174@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:22:11.063478 [DEBUG] switch_ivr_originate.c:67 (sofia/default/174@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118026) 2022-07-26 07:22:11.063478 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:22:11.063478 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:11.090660 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3eb4323760 0x7f3eb4323760 2022-07-26 07:22:11.090660 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3eb4323760 0x7f3eb4323760 2022-07-26 07:22:11.111589 [DEBUG] sofia.c:7084 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:22:11.140767 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:22:11.140767 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/171@mbvit.nebular.co.za! 2022-07-26 07:22:11.140767 [DEBUG] switch_channel.c:3346 (sofia/default/171@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:22:11.174192 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2022-07-26 07:22:11.174192 [DEBUG] switch_core_codec.c:223 sofia/default/0744086022@41.160.32.115:5060 Push codec L16:100 2022-07-26 07:22:11.174192 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(400,200,383,417);%(400,2000,383,417)] 2022-07-26 07:22:11.200672 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:22:11.200672 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/174@mbvit.nebular.co.za! 2022-07-26 07:22:11.200672 [DEBUG] switch_channel.c:3346 (sofia/default/174@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:22:11.220656 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0119368421 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:11.240667 [DEBUG] switch_ivr.c:623 sofia/default/0119368421 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0119368421 sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:11.240667 [DEBUG] switch_scheduler.c:249 Added task 47233 switch_ivr_schedule_hangup (a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389) to run at 1658826131 2022-07-26 07:22:11.262010 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.182:9430 to 156.38.231.105:9430 2022-07-26 07:22:11.440667 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:22:11.440667 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/173@mbvit.nebular.co.za! 2022-07-26 07:22:11.440667 [DEBUG] switch_channel.c:3346 (sofia/default/173@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:22:11.440667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:11.450877 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3eb43236e0 0x7f3eb43236e8 2022-07-26 07:22:11.450877 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3eb43236e0 0x7f3eb43236e8 2022-07-26 07:22:12.901532 [NOTICE] sofia.c:1012 Hangup sofia/default/0113866000@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0113866000@41.160.32.115:5060] 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0113866000@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/611910@metrobus.nebular.co.za] 2022-07-26 07:22:12.901532 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/611910@metrobus.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/611910@metrobus.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:22:12.901532 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0113866000@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_session.c:2815 sofia/default/0113866000@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:653 (sofia/default/611910@metrobus.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0113866000@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118026) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 11 Tot 118026) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0113866000@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0113866000@41.160.32.115:5060) State HANGUP 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:850 (sofia/default/611910@metrobus.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:438 Channel sofia/default/0113866000@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/611910@metrobus.nebular.co.za) State HANGUP 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:432 sofia/default/611910@metrobus.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:438 Channel sofia/default/611910@metrobus.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:60 sofia/default/0113866000@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0113866000@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 11 Tot 118026) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0113866000@41.160.32.115:5060) State REPORTING 2022-07-26 07:22:12.901532 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/611910@metrobus.nebular.co.za 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:60 sofia/default/611910@metrobus.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:852 (sofia/default/611910@metrobus.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:619 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:584 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118026) 2022-07-26 07:22:12.901532 [DEBUG] switch_core_state_machine.c:938 (sofia/default/611910@metrobus.nebular.co.za) State REPORTING 2022-07-26 07:22:12.901532 [INFO] mod_json_cdr.c:271 Process [9b725c50-0cb3-11ed-bb1f-d3f1ef10c389.cdr.json] 2022-07-26 07:22:12.901532 [INFO] mod_json_cdr.c:271 Process [99dcad5a-0cb3-11ed-baef-d3f1ef10c389.cdr.json] 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:174 sofia/default/611910@metrobus.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:938 (sofia/default/611910@metrobus.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:610 (sofia/default/611910@metrobus.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:22:12.964222 [DEBUG] switch_core_session.c:1665 Session 118019 (sofia/default/611910@metrobus.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:22:12.964222 [NOTICE] switch_core_session.c:1683 Session 118019 (sofia/default/611910@metrobus.nebular.co.za) Ended 2022-07-26 07:22:12.964222 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/611910@metrobus.nebular.co.za [CS_DESTROY] 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:741 (sofia/default/611910@metrobus.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118026) 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/611910@metrobus.nebular.co.za) State DESTROY 2022-07-26 07:22:12.964222 [DEBUG] mod_sofia.c:343 sofia/default/611910@metrobus.nebular.co.za SOFIA DESTROY 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:181 sofia/default/611910@metrobus.nebular.co.za Standard DESTROY 2022-07-26 07:22:12.964222 [DEBUG] switch_core_state_machine.c:751 (sofia/default/611910@metrobus.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:174 sofia/default/0113866000@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0113866000@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0113866000@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:22:13.030670 [DEBUG] switch_core_session.c:1665 Session 118018 (sofia/default/0113866000@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:22:13.030670 [NOTICE] switch_core_session.c:1683 Session 118018 (sofia/default/0113866000@41.160.32.115:5060) Ended 2022-07-26 07:22:13.030670 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0113866000@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0113866000@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 9 Tot 118026) 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0113866000@41.160.32.115:5060) State DESTROY 2022-07-26 07:22:13.030670 [DEBUG] mod_sofia.c:343 sofia/default/0113866000@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:181 sofia/default/0113866000@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:22:13.030670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0113866000@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:22:13.250678 [DEBUG] switch_scheduler.c:144 Deleting task 47232 switch_ivr_schedule_hangup (9b725c50-0cb3-11ed-bb1f-d3f1ef10c389) 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118026) 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT 2022-07-26 07:22:22.000668 [DEBUG] mod_sofia.c:90 sofia/default/0832663125@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:22:22.000668 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658802338 1658802339 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17804 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 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125@mbvit.nebular.co.za Standard INIT 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118026) 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:22:22.000668 [DEBUG] mod_sofia.c:143 sofia/default/0832663125@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:22:22.000668 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118026) 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:22:22.000668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:22.010746 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:22:22.050660 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27744086022@156.38.231.107 [b0a42b44-0cb3-11ed-bbb8-d3f1ef10c389] 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_NEW (Cur 10 Tot 118027) 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:9873 sofia/default/27744086022@156.38.231.107 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [received][100] 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=FreeSWITCH 1658802338 1658802339 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17804 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27744086022@156.38.231.107 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:22:22.050660 [DEBUG] switch_core_codec.c:111 sofia/default/27744086022@156.38.231.107 Original read codec set to PCMA:8 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:22.050660 [DEBUG] switch_core_media.c:4767 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:22.050660 [DEBUG] sofia.c:7507 (sofia/default/27744086022@156.38.231.107) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27744086022@156.38.231.107) State NEW 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_INIT (Cur 10 Tot 118027) 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT 2022-07-26 07:22:22.050660 [DEBUG] mod_sofia.c:90 sofia/default/27744086022@156.38.231.107 SOFIA INIT 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:40 sofia/default/27744086022@156.38.231.107 Standard INIT 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27744086022@156.38.231.107) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT going to sleep 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_ROUTING (Cur 10 Tot 118027) 2022-07-26 07:22:22.050660 [DEBUG] switch_channel.c:2249 (sofia/default/27744086022@156.38.231.107) Callstate Change DOWN -> RINGING 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING 2022-07-26 07:22:22.050660 [DEBUG] mod_sofia.c:143 sofia/default/27744086022@156.38.231.107 SOFIA ROUTING 2022-07-26 07:22:22.050660 [DEBUG] switch_core_state_machine.c:236 sofia/default/27744086022@156.38.231.107 Standard ROUTING 2022-07-26 07:22:22.050660 [INFO] mod_dialplan_xml.c:637 Processing 27744086022 <27744086022>->0832663125 in context default 2022-07-26 07:22:22.050660 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3eac16f0d0 Connected. 2022-07-26 07:22:22.061285 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:22:22.092969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:22.151949 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:22:22.151949 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0832663125 2022-07-26 07:22:22.151949 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0832663125' limit 1 2022-07-26 07:22:22.212974 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0832663125' AND status=0 limit 1 2022-07-26 07:22:22.273957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0832663125' and status=0 LIMIT 1 2022-07-26 07:22:22.330660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:22:22.330660 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 27744086022 / 27744086022 2022-07-26 07:22:22.330660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:22:22.372662 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za 2022-07-26 07:22:22.372662 [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 ="0832663125" LIMIT 1 2022-07-26 07:22:22.411633 [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="0832663125" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:22:22.461022 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:22:22.461022 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7] 2022-07-26 07:22:22.461022 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:22:22.510664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1 2022-07-26 07:22:22.560669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0832663125" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:22:22.592971 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:22:22.592971 [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 2022-07-26 07:22:22.640956 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125 2022-07-26 07:22:22.640956 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125 2022-07-26 07:22:22.640956 [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 = '^0832663125.*' OR patterns = '^083266312.*' OR patterns = '^08326631.*' OR patterns = '^0832663.*' OR patterns = '^083266.*' OR patterns = '^08326.*' OR patterns = '^0832.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:22:22.680659 [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 ="0832663125" AND A.accountid = '7' limit 1 2022-07-26 07:22:22.720661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0832663125 2022-07-26 07:22:22.720661 [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 ="0832663125" LIMIT 1 2022-07-26 07:22:22.752946 [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="0832663125" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:22:22.801478 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-26 07:22:22.801478 [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 = '0832663125' OR number = '083266312' OR number = '08326631' OR number = '0832663' OR number = '083266' OR number = '08326' OR number = '0832' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0832663125*' OR number = '083266312*' OR number = '08326631*' OR number = '0832663*' OR number = '083266*' OR number = '08326*' OR number = '0832*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27744086022' OR number = '2774408602' OR number = '277440860' OR number = '27744086' OR number = '2774408' OR number = '277440' OR number = '27744' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27744086022*' OR number = '2774408602*' OR number = '277440860*' OR number = '27744086*' OR number = '2774408*' OR number = '277440*' OR number = '27744*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:22:22.840908 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:22:22.840908 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0832663125' OR routing_prefix = '083266312' OR routing_prefix = '08326631' OR routing_prefix = '0832663' OR routing_prefix = '083266' OR routing_prefix = '08326' OR routing_prefix = '0832' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:22:22.890669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0832663125)!!!! 2022-07-26 07:22:22.890669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27832663125 2022-07-26 07:22:22.890669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27832663125' limit 1 2022-07-26 07:22:22.970665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0832663125)!!!! 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.7794 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:22:23.030664 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:22:23.030664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:22:23.061833 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:22:23.061833 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:22:23.101016 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802561 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:23.141428 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.7794 balance Accountid 7 !!! 2022-07-26 07:22:23.141428 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:22:23.141428 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:22:23.141428 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:22:23.180779 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3704 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:22:23.231619 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:22:23.231619 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:23.310659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:22:23.310659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:23.370659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3704 balance Accountid 5 !!! 2022-07-26 07:22:23.420663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:22:23.420663 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802561 2022-07-26 07:22:23.420663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:22:23.420663 [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 2022-07-26 07:22:23.450660 [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 = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' 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 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:22:23.561333 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:22:23.561333 [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 = 7 AND status=0 LIMIT 1 2022-07-26 07:22:23.602540 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:22:23.602540 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:22:23.651487 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:22:23.651487 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:22:23.651487 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:22:23.702685 [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 2022-07-26 07:22:23.740729 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0832663125 2022-07-26 07:22:23.740729 [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 2022-07-26 07:22:23.802660 [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 ="0832663125" LIMIT 1 2022-07-26 07:22:23.850660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:22:23.850660 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3eac16f0d0 released. Dialplan: sofia/default/27744086022@156.38.231.107 parsing [default->0832663125] continue=false Dialplan: sofia/default/27744086022@156.38.231.107 Regex (PASS) [0832663125] destination_number(0832663125) =~ /0832663125/ break=on-false Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_destination_number=0832663125) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(callstart=2022-07-26 07:22:23) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(account_id=7) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(parent_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(entity_id=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_processed=internal) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_direction=outbound) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(accountname=default) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_name=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_number=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 7 user_7 5 ) Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_number=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(calltype=STANDARD) Dialplan: sofia/default/27744086022@156.38.231.107 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/27744086022@156.38.231.107 Action set(trunk_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(provider_id=3) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(rate_flag=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(force_trunk_flag=1802561) Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(intcall=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN) Dialplan: sofia/default/27744086022@156.38.231.107 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27744086022@156.38.231.107) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING going to sleep 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_EXECUTE (Cur 10 Tot 118027) 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE 2022-07-26 07:22:23.850660 [DEBUG] mod_sofia.c:198 sofia/default/27744086022@156.38.231.107 SOFIA EXECUTE 2022-07-26 07:22:23.850660 [DEBUG] switch_core_state_machine.c:328 sofia/default/27744086022@156.38.231.107 Standard EXECUTE EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_destination_number=0832663125) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_destination_number]=[0832663125] EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/27744086022@156.38.231.107 set(callstart=2022-07-26 07:22:23) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [callstart]=[2022-07-26 07:22:23] EXECUTE sofia/default/27744086022@156.38.231.107 set(hangup_after_bridge=true) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [hangup_after_bridge]=[true] EXECUTE sofia/default/27744086022@156.38.231.107 set(continue_on_fail=TRUE) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [continue_on_fail]=[TRUE] EXECUTE sofia/default/27744086022@156.38.231.107 set(account_id=7) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [account_id]=[7] EXECUTE sofia/default/27744086022@156.38.231.107 set(parent_id=5) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [parent_id]=[5] EXECUTE sofia/default/27744086022@156.38.231.107 set(entity_id=0) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [entity_id]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 set(call_processed=internal) 2022-07-26 07:22:23.850660 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_processed]=[internal] EXECUTE sofia/default/27744086022@156.38.231.107 set(call_direction=outbound) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_direction]=[outbound] EXECUTE sofia/default/27744086022@156.38.231.107 set(accountname=default) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [accountname]=[default] EXECUTE sofia/default/27744086022@156.38.231.107 set(filename1=astpp.pbx.lua) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/27744086022@156.38.231.107 set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [origination_rates]=[ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_name=27744086022) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_name]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_number=27744086022) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_number]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 7 user_7 5 ) 2022-07-26 07:22:23.860689 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0 2022-07-26 07:22:23.860689 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 2/5 EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:22:23.860689 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:22:23.860689 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20 EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_name=27744086022) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_number=27744086022) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_number]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(calltype=STANDARD) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [calltype]=[STANDARD] EXECUTE sofia/default/27744086022@156.38.231.107 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) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [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/27744086022@156.38.231.107 set(trunk_id=5) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [trunk_id]=[5] EXECUTE sofia/default/27744086022@156.38.231.107 set(provider_id=3) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [provider_id]=[3] EXECUTE sofia/default/27744086022@156.38.231.107 set(rate_flag=0) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [rate_flag]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 set(force_trunk_flag=1802561) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [force_trunk_flag]=[1802561] EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=trunk_id=5) 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/27744086022@156.38.231.107 set(intcall=0) 2022-07-26 07:22:23.860689 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [intcall]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN) 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] EXECUTE sofia/default/27744086022@156.38.231.107 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:22:23.860689 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:22:23.860689 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125 [b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389] 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125) State Change CS_NEW -> CS_INIT 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_INIT (Cur 11 Tot 118028) 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:90 sofia/default/0832663125 SOFIA INIT 2022-07-26 07:22:23.860689 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0832663125 2022-07-26 07:22:23.860689 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658791445 1658791446 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 28698 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125 Standard INIT 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT going to sleep 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_ROUTING (Cur 11 Tot 118028) 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING 2022-07-26 07:22:23.860689 [DEBUG] mod_sofia.c:143 sofia/default/0832663125 SOFIA ROUTING 2022-07-26 07:22:23.860689 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING going to sleep 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118028) 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA 2022-07-26 07:22:23.860689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA going to sleep 2022-07-26 07:22:23.870667 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [calling][0] 2022-07-26 07:22:25.230673 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 2:800 2022-07-26 07:22:25.230673 [INFO] switch_channel.c:515 RECV DTMF 2:800 2022-07-26 07:22:25.240974 [DEBUG] switch_rtp.c:5261 Send start packet for [2] ts=141353 dur=160/160/800 seq=3240 lw=141353 2022-07-26 07:22:25.271587 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=320/320/800 seq=3241 lw=141513 2022-07-26 07:22:25.271587 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=480/480/800 seq=3242 lw=141673 2022-07-26 07:22:25.300657 [DEBUG] switch_rtp.c:5160 Send middle packet for [2] ts=141353 dur=640/640/800 seq=3243 lw=141833 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3244 lw=141833 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3245 lw=141833 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5160 Send end packet for [2] ts=141353 dur=800/800/800 seq=3246 lw=141833 2022-07-26 07:22:25.320853 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2022-07-26 07:22:26.620684 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][183] 2022-07-26 07:22:26.620684 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 135476422252703 135476422252703 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20604 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:22:26.620684 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125 Original read codec set to PCMA:8 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:26.620684 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125] 156.38.231.107 port 28698 -> 41.160.32.115 port 20604 codec: 8 ms: 20 2022-07-26 07:22:26.630704 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125 Set 2833 dtmf send payload to 101 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125 Set 2833 dtmf receive payload to 101 2022-07-26 07:22:26.630704 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125 Set rtp dtmf delay to 40 2022-07-26 07:22:26.630704 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125! 2022-07-26 07:22:26.630704 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125) Callstate Change DOWN -> EARLY 2022-07-26 07:22:26.640658 [INFO] switch_ivr_originate.c:3654 Sending early media 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27744086022@156.38.231.107] 156.38.231.107 port 30950 -> 156.38.231.107 port 17804 codec: 8 ms: 20 2022-07-26 07:22:26.640658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7180 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7187 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf receive payload to 101 2022-07-26 07:22:26.640658 [DEBUG] switch_core_media.c:7210 sofia/default/27744086022@156.38.231.107 Set rtp dtmf delay to 40 2022-07-26 07:22:26.640658 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30950 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 2022-07-26 07:22:26.640658 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27744086022@156.38.231.107! 2022-07-26 07:22:26.640658 [DEBUG] switch_channel.c:3474 (sofia/default/27744086022@156.38.231.107) Callstate Change RINGING -> EARLY 2022-07-26 07:22:26.650661 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125] 2022-07-26 07:22:26.650661 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:22:26.650661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118028) 2022-07-26 07:22:26.650661 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA 2022-07-26 07:22:26.650661 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:22:26.650661 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [proceeding][183] 2022-07-26 07:22:26.650661 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30950 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125@mbvit.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:22:26.650661 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125@mbvit.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:22:26.650661 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125@mbvit.nebular.co.za] 156.38.231.107 port 17804 -> 156.38.231.107 port 30950 codec: 8 ms: 20 2022-07-26 07:22:26.661848 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:22:26.661848 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [early][183] 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:22:26.661848 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125@mbvit.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:22:26.661848 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125@mbvit.nebular.co.za! 2022-07-26 07:22:26.661848 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change DOWN -> EARLY EXECUTE sofia/default/0832663125@mbvit.nebular.co.za lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-07-26 07:22:26.680659 [NOTICE] switch_cpp.cpp:1365 [Astpp_Call-Ring Group] Ring group confirm flag :false 2022-07-26 07:22:26.680659 [DEBUG] switch_cpp.cpp:1112 sofia/default/0832663125@mbvit.nebular.co.za destroy/unlink session from object 2022-07-26 07:22:26.690659 [DEBUG] switch_core_codec.c:248 sofia/default/0744086022@41.160.32.115:5060 Restore previous codec PCMA:8. 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/173@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/171@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:22:26.690659 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/174@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:22:26.690659 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125@mbvit.nebular.co.za] 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/173@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/173@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:22:26.690659 [DEBUG] switch_channel.c:2047 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/173@mbvit.nebular.co.za 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:60 sofia/default/173@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:619 (sofia/default/173@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/174@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/174@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:22:26.690659 [INFO] mod_json_cdr.c:271 Process [aa165374-0cb3-11ed-bba1-d3f1ef10c389.cdr.json] 2022-07-26 07:22:26.690659 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/174@mbvit.nebular.co.za 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:60 sofia/default/174@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:619 (sofia/default/174@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:850 (sofia/default/171@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:22:26.690659 [INFO] mod_json_cdr.c:271 Process [aa1702b0-0cb3-11ed-bbad-d3f1ef10c389.cdr.json] 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:438 Channel sofia/default/171@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118028) 2022-07-26 07:22:26.690659 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:22:26.690659 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:22:26.705203 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/171@mbvit.nebular.co.za 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:60 sofia/default/171@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:619 (sofia/default/171@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118028) 2022-07-26 07:22:26.705203 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:22:26.705203 [INFO] mod_json_cdr.c:271 Process [aa1662ba-0cb3-11ed-bba7-d3f1ef10c389.cdr.json] 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:174 sofia/default/173@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:610 (sofia/default/173@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:22:26.751895 [DEBUG] switch_core_session.c:1665 Session 118023 (sofia/default/173@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:22:26.751895 [NOTICE] switch_core_session.c:1683 Session 118023 (sofia/default/173@mbvit.nebular.co.za) Ended 2022-07-26 07:22:26.751895 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/173@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:741 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118028) 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:22:26.751895 [DEBUG] mod_sofia.c:343 sofia/default/173@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:181 sofia/default/173@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:22:26.751895 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:22:26.761455 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:174 sofia/default/174@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:610 (sofia/default/174@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:22:26.761455 [DEBUG] switch_core_session.c:1665 Session 118025 (sofia/default/174@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:22:26.761455 [NOTICE] switch_core_session.c:1683 Session 118025 (sofia/default/174@mbvit.nebular.co.za) Ended 2022-07-26 07:22:26.761455 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/174@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:741 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 9 Tot 118028) 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:22:26.761455 [DEBUG] mod_sofia.c:343 sofia/default/174@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:181 sofia/default/174@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:22:26.761455 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:174 sofia/default/171@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:610 (sofia/default/171@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:22:26.780942 [DEBUG] switch_core_session.c:1665 Session 118024 (sofia/default/171@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:22:26.780942 [NOTICE] switch_core_session.c:1683 Session 118024 (sofia/default/171@mbvit.nebular.co.za) Ended 2022-07-26 07:22:26.780942 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/171@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:741 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 8 Tot 118028) 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:22:26.780942 [DEBUG] mod_sofia.c:343 sofia/default/171@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:181 sofia/default/171@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:22:26.780942 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:22:26.830657 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:26.840660 [DEBUG] switch_ivr.c:623 sofia/default/0832663125 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0832663125 sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:26.840660 [DEBUG] switch_scheduler.c:249 Added task 47234 switch_ivr_schedule_hangup (b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389) to run at 1658826146 2022-07-26 07:22:26.880678 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125@mbvit.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:26.901119 [DEBUG] switch_ivr.c:623 sofia/default/0832663125@mbvit.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0832663125@mbvit.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:22:26.901119 [DEBUG] switch_scheduler.c:249 Added task 47235 switch_ivr_schedule_hangup (aa171570-0cb3-11ed-bbb3-d3f1ef10c389) to run at 1658826146 2022-07-26 07:22:27.430662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:27.430662 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][180] 2022-07-26 07:22:27.430662 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0832663125! 2022-07-26 07:22:27.430662 [DEBUG] switch_channel.c:3346 (sofia/default/0832663125) Callstate Change EARLY -> RINGING 2022-07-26 07:22:27.480661 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:48.670681 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [completing][200] 2022-07-26 07:22:48.670681 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 135476422252703 135476422252703 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20604 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:22:48.692377 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [ready][200] 2022-07-26 07:22:48.692377 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125] has been answered 2022-07-26 07:22:48.692377 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125) Callstate Change RINGING -> ACTIVE 2022-07-26 07:22:48.692377 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27744086022@156.38.231.107. 2022-07-26 07:22:48.692377 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27744086022@156.38.231.107: v=0 o=FreeSWITCH 1658789196 1658789198 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30950 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 2022-07-26 07:22:48.692377 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27744086022@156.38.231.107] has been answered 2022-07-26 07:22:48.692377 [DEBUG] switch_channel.c:3773 (sofia/default/27744086022@156.38.231.107) Callstate Change EARLY -> ACTIVE 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [completing][200] 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=FreeSWITCH 1658789196 1658789197 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30950 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:22:48.720660 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [completed][200] 2022-07-26 07:22:48.740662 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [ready][200] 2022-07-26 07:22:48.740662 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125@mbvit.nebular.co.za] has been answered 2022-07-26 07:22:48.740662 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change EARLY -> ACTIVE 2022-07-26 07:22:48.740662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:48.740662 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [ready][200] 2022-07-26 07:22:48.750658 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:22:48.803001 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:02.560961 [NOTICE] sofia.c:1012 Hangup sofia/default/0744086022@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0744086022@41.160.32.115:5060] 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0744086022@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:23:02.560961 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125@mbvit.nebular.co.za] 2022-07-26 07:23:02.560961 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125@mbvit.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 8 Tot 118028) 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:432 sofia/default/0832663125@mbvit.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125@mbvit.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:23:02.560961 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125@mbvit.nebular.co.za 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125@mbvit.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 8 Tot 118028) 2022-07-26 07:23:02.560961 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:23:02.560961 [INFO] mod_json_cdr.c:271 Process [aa171570-0cb3-11ed-bbb3-d3f1ef10c389.cdr.json] 2022-07-26 07:23:02.588788 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125@mbvit.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:23:02.588788 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0744086022@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:23:02.588788 [DEBUG] switch_core_session.c:2815 sofia/default/0744086022@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 8 Tot 118028) 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP 2022-07-26 07:23:02.588788 [DEBUG] mod_sofia.c:438 Channel sofia/default/0744086022@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:60 sofia/default/0744086022@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 8 Tot 118028) 2022-07-26 07:23:02.588788 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING 2022-07-26 07:23:02.588788 [INFO] mod_json_cdr.c:271 Process [a54495a4-0cb3-11ed-bb26-d3f1ef10c389.cdr.json] 2022-07-26 07:23:02.616679 [NOTICE] sofia.c:1012 Hangup sofia/default/27744086022@156.38.231.107 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27744086022@156.38.231.107] 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27744086022@156.38.231.107 ending bridge by request from write function 2022-07-26 07:23:02.616679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125] 2022-07-26 07:23:02.616679 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_HANGUP (Cur 8 Tot 118028) 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:432 sofia/default/0832663125 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:23:02.616679 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP going to sleep 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_REPORTING (Cur 8 Tot 118028) 2022-07-26 07:23:02.616679 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING 2022-07-26 07:23:02.616679 [INFO] mod_json_cdr.c:271 Process [b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389.cdr.json] 2022-07-26 07:23:02.681131 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:23:02.681131 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27744086022@156.38.231.107 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:23:02.681131 [DEBUG] switch_core_session.c:2815 sofia/default/27744086022@156.38.231.107 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE going to sleep 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_HANGUP (Cur 8 Tot 118028) 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27744086022@156.38.231.107) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:23:02.681131 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP 2022-07-26 07:23:02.681131 [DEBUG] mod_sofia.c:438 Channel sofia/default/27744086022@156.38.231.107 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:60 sofia/default/27744086022@156.38.231.107 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP going to sleep 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27744086022@156.38.231.107) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_REPORTING (Cur 8 Tot 118028) 2022-07-26 07:23:02.701836 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING 2022-07-26 07:23:02.701836 [INFO] mod_json_cdr.c:271 Process [b0a42b44-0cb3-11ed-bbb8-d3f1ef10c389.cdr.json] 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING going to sleep 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:02.737017 [DEBUG] switch_core_session.c:1665 Session 118028 (sofia/default/0832663125) Locked, Waiting on external entities 2022-07-26 07:23:02.737017 [NOTICE] switch_core_session.c:1683 Session 118028 (sofia/default/0832663125) Ended 2022-07-26 07:23:02.737017 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125 [CS_DESTROY] 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125) Running State Change CS_DESTROY (Cur 7 Tot 118028) 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY 2022-07-26 07:23:02.737017 [DEBUG] mod_sofia.c:343 sofia/default/0832663125 SOFIA DESTROY 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125 Standard DESTROY 2022-07-26 07:23:02.737017 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY going to sleep 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125@mbvit.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:02.750868 [DEBUG] switch_core_session.c:1665 Session 118026 (sofia/default/0832663125@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:23:02.750868 [NOTICE] switch_core_session.c:1683 Session 118026 (sofia/default/0832663125@mbvit.nebular.co.za) Ended 2022-07-26 07:23:02.750868 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 6 Tot 118028) 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:23:02.750868 [DEBUG] mod_sofia.c:343 sofia/default/0832663125@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:23:02.750868 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:23:02.931798 [DEBUG] switch_scheduler.c:144 Deleting task 47234 switch_ivr_schedule_hangup (b1b866ee-0cb3-11ed-bbdb-d3f1ef10c389) 2022-07-26 07:23:02.931798 [DEBUG] switch_scheduler.c:144 Deleting task 47235 switch_ivr_schedule_hangup (aa171570-0cb3-11ed-bbb3-d3f1ef10c389) 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:174 sofia/default/0744086022@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:02.931798 [DEBUG] switch_core_session.c:1665 Session 118020 (sofia/default/0744086022@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:23:02.931798 [NOTICE] switch_core_session.c:1683 Session 118020 (sofia/default/0744086022@41.160.32.115:5060) Ended 2022-07-26 07:23:02.931798 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0744086022@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 5 Tot 118028) 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY 2022-07-26 07:23:02.931798 [DEBUG] mod_sofia.c:343 sofia/default/0744086022@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:181 sofia/default/0744086022@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:23:02.931798 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:174 sofia/default/27744086022@156.38.231.107 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING going to sleep 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27744086022@156.38.231.107) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:02.991313 [DEBUG] switch_core_session.c:1665 Session 118027 (sofia/default/27744086022@156.38.231.107) Locked, Waiting on external entities 2022-07-26 07:23:02.991313 [NOTICE] switch_core_session.c:1683 Session 118027 (sofia/default/27744086022@156.38.231.107) Ended 2022-07-26 07:23:02.991313 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27744086022@156.38.231.107 [CS_DESTROY] 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27744086022@156.38.231.107) Running State Change CS_DESTROY (Cur 4 Tot 118028) 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY 2022-07-26 07:23:02.991313 [DEBUG] mod_sofia.c:343 sofia/default/27744086022@156.38.231.107 SOFIA DESTROY 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:181 sofia/default/27744086022@156.38.231.107 Standard DESTROY 2022-07-26 07:23:02.991313 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY going to sleep 2022-07-26 07:23:15.330673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0744086022@41.160.32.115:5060 [d065f16a-0cb3-11ed-bbe4-d3f1ef10c389] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_NEW (Cur 5 Tot 118029) 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:9873 sofia/default/0744086022@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 12107781691099 12107781691099 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20606 RTP/AVP 102 8 102 102 18 116 a=rtpmap:102 AMR/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-15 a=ptime:20 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [AMR:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [:102:0:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 116@8000 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0744086022@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:23:15.330673 [DEBUG] switch_core_codec.c:111 sofia/default/0744086022@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 116@8000 2022-07-26 07:23:15.330673 [DEBUG] switch_core_media.c:4767 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 recv payload to 116 2022-07-26 07:23:15.330673 [DEBUG] sofia.c:7507 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0744086022@41.160.32.115:5060) State NEW 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_INIT (Cur 5 Tot 118029) 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT 2022-07-26 07:23:15.330673 [DEBUG] mod_sofia.c:90 sofia/default/0744086022@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:40 sofia/default/0744086022@41.160.32.115:5060 Standard INIT 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0744086022@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118029) 2022-07-26 07:23:15.330673 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING 2022-07-26 07:23:15.330673 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:23:15.330673 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:23:15.330673 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001 in context default 2022-07-26 07:23:15.421046 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected. 2022-07-26 07:23:15.431363 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:23:15.471700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:23:15.520658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:23:15.520658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001 2022-07-26 07:23:15.520658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001' limit 1 2022-07-26 07:23:15.570658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001' AND status=0 limit 1 2022-07-26 07:23:15.620661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001' and status=0 LIMIT 1 2022-07-26 07:23:15.670986 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:23:15.670986 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0744086022 / 2022-07-26 07:23:15.670986 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:15.710683 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2022-07-26 07:23:15.710683 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:23:15.710683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:23:15.750659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:23:15.800670 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:23:15.800670 [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 2022-07-26 07:23:15.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-07-26 07:23:15.850661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2022-07-26 07:23:15.850661 [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 = '^0103130001.*' OR patterns = '^010313000.*' 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 = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:23:15.882464 [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 ="0103130001" AND A.accountid = '3' limit 1 2022-07-26 07:23:15.911975 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001 2022-07-26 07:23:15.922283 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:15.960821 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:23:15.960821 [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 = '0103130001' OR number = '010313000' 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 = '0103130001*' OR number = '010313000*' 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 = ' 2022-07-26 07:23:16.380665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:23:16.440664 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2007 2022-07-26 07:23:16.440664 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10 2022-07-26 07:23:16.440664 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2022-07-26 07:23:16.440664 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 1 and status=0 LIMIT 1 2022-07-26 07:23:16.500683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1 2022-07-26 07:23:16.531846 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here=========================== 2022-07-26 07:23:16.531846 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:23:16.531846 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [default->0103130001] continue=false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001] destination_number(0103130001) =~ /0103130001/ break=on-false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:23:16) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=10) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=10) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=1) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring}) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(sip_h_P-Accountcode=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(no_answer_number=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=extension) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=103) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(originate_disposition=no_key_press) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=3) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action answer() Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action ivr(Office IVR5) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118029) 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE 2022-07-26 07:23:16.550659 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:23:16.550659 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:23:16) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:23:16] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001.*|DESTINATION:0103130001|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za) 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130001.* // 0103130001 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=10) 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=10) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[10] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=1) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[1] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417)) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(sip_h_P-Accountcode=7) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [sip_h_P-Accountcode]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_number=103) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_number]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(no_answer_number=103) 2022-07-26 07:23:16.550659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type=extension) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type]=[extension] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(no_answer_call_type_value=103) 2022-07-26 07:23:16.550659 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [no_answer_call_type_value]=[103] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(opensips_flag=0) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [opensips_flag]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(originate_disposition=no_key_press) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [originate_disposition]=[no_key_press] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(userinfo_id=3) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [userinfo_id]=[3] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(variable_sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [variable_sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_did_number=0103130001) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_did_number]=[0103130001] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729) 2022-07-26 07:23:16.560664 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729] EXECUTE sofia/default/0744086022@41.160.32.115:5060 answer() 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0744086022@41.160.32.115:5060] 156.38.231.107 port 20218 -> 41.160.32.115 port 20606 codec: 8 ms: 20 2022-07-26 07:23:16.560664 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7180 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf send payload to 116 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7187 sofia/default/0744086022@41.160.32.115:5060 Set 2833 dtmf receive payload to 116 2022-07-26 07:23:16.560664 [DEBUG] switch_core_media.c:7210 sofia/default/0744086022@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:23:16.560664 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0744086022@41.160.32.115:5060: v=0 o=FreeSWITCH 1658799978 1658799979 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 20218 RTP/AVP 8 116 a=rtpmap:8 PCMA/8000 a=rtpmap:116 telephone-event/8000 a=fmtp:116 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:23:16.570663 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:23:16.570663 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0744086022@41.160.32.115:5060] has been answered 2022-07-26 07:23:16.570663 [DEBUG] switch_channel.c:3773 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE EXECUTE sofia/default/0744086022@41.160.32.115:5060 ivr(Office IVR5) 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:880 building menu 'Office IVR5' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu Office IVR5 2022-07-26 07:23:16.671046 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2022-07-26 07:23:16.840894 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:16.860658 [DEBUG] sofia.c:7084 Channel sofia/default/0744086022@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:23:18.800741 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:800 2022-07-26 07:23:18.800741 [INFO] switch_channel.c:515 RECV DTMF 1:800 2022-07-26 07:23:18.800741 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/mbvit_.wav 2022-07-26 07:23:18.800741 [DEBUG] switch_ivr_menu.c:377 waiting for 19/20 digits t/o 2000 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:424 digits '1' 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:577 IVR action on menu 'Office IVR5' matched '1' param 'transfer ${original_did_number}#PBX#7#21 XML ${domain_name}' 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:581 switch_ivr_menu_execute todo=[2] EXECUTE sofia/default/0744086022@41.160.32.115:5060 transfer(0103130001#PBX#7#21 XML mbvit.nebular.co.za) 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr.c:2165 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_EXECUTE -> CS_ROUTING 2022-07-26 07:23:20.820687 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/0744086022@41.160.32.115:5060 to XML[0103130001#PBX#7#21@mbvit.nebular.co.za] 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:559 action regex [1] [/^(\d{2,20})$/] [0] 2022-07-26 07:23:20.820687 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)' 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 5 Tot 118029) 2022-07-26 07:23:20.820687 [DEBUG] switch_channel.c:2249 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RINGING 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING 2022-07-26 07:23:20.820687 [DEBUG] mod_sofia.c:143 sofia/default/0744086022@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:23:20.820687 [DEBUG] switch_core_state_machine.c:236 sofia/default/0744086022@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:23:20.820687 [INFO] mod_dialplan_xml.c:637 Processing 0744086022 <0744086022>->0103130001#PBX#7#21 in context mbvit.nebular.co.za 2022-07-26 07:23:20.831038 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected. 2022-07-26 07:23:20.831038 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:23:20.861604 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:23:20.894078 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:23:20.894078 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130001#PBX#7#21 2022-07-26 07:23:20.894078 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130001#PBX#7#21' limit 1 2022-07-26 07:23:20.940706 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130001#PBX#7#21' AND status=0 limit 1 2022-07-26 07:23:20.981902 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130001#PBX#7#21' and status=0 LIMIT 1 2022-07-26 07:23:21.002104 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:23:21.002104 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0744086022 / 0744086022 2022-07-26 07:23:21.002104 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:23:21.070659 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za 2022-07-26 07:23:21.070659 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:21.110666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2022-07-26 07:23:21.110666 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7] 2022-07-26 07:23:21.110666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:23:21.150737 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130001#PBX#7#21" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:23:21.190680 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:23:21.190680 [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 2022-07-26 07:23:21.220939 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-07-26 07:23:21.220939 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2022-07-26 07:23:21.220939 [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 = '^0103130001#PBX#7#21.*' OR patterns = '^0103130001#PBX#7#2.*' OR patterns = '^0103130001#PBX#7#.*' OR patterns = '^0103130001#PBX#7.*' OR patterns = '^0103130001#PBX#.*' OR patterns = '^0103130001#PBX.*' OR patterns = '^0103130001#PB.*' OR patterns = '^0103130001#P.*' OR patterns = '^0103130001#.*' OR patterns = '^0103130001.*' OR patterns = '^010313000.*' 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 = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:23:21.280669 [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 ="0103130001#PBX#7#21" AND A.accountid = '7' limit 1 2022-07-26 07:23:21.321327 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130001#PBX#7#21 2022-07-26 07:23:21.321327 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:21.390678 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:23:21.390678 [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 = '0103130001#PBX#7#21' OR number = '0103130001#PBX#7#2' OR number = '0103130001#PBX#7#' OR number = '0103130001#PBX#7' OR number = '0103130001#PBX#' OR number = '0103130001#PBX' OR number = '0103130001#PB' OR number = '0103130001#P' OR number = '0103130001#' OR number = '0103130001' OR number = '010313000' 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 = '0103130001#PBX#7#21*' OR number = '0103130001#PBX#7#2*' OR number = '0103130001#PBX#7#*' OR number = '0103130001#PBX#7*' OR number = '0103130001#PBX#*' OR number = '0103130001#PBX*' OR number = '0103130001#PB*' OR number = '0103130001#P*' OR number = '0103130001#*' OR number = '0103130001*' OR number = '010313000*' 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 = '0744086022' OR number = '074408602' OR number = '07440860' OR number = '0744086' OR number = '074408' OR number = '07440' OR number = '0744' OR number = '074' OR number = '07' OR number = '0' OR number ='--') OR (number = '0744086022*' OR number = '074408602*' OR number = '07440860*' OR number = '0744086*' OR number = '074408*' OR number = '07440*' OR number = '0744*' OR number = '074*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:23:21.430660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:23:21.430660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130001#PBX#7#21' OR routing_prefix = '0103130001#PBX#7#2' OR routing_prefix = '0103130001#PBX#7#' OR routing_prefix = '0103130001#PBX#7' OR routing_prefix = '0103130001#PBX#' OR routing_prefix = '0103130001#PBX' OR routing_prefix = '0103130001#PB' OR routing_prefix = '0103130001#P' OR routing_prefix = '0103130001#' OR routing_prefix = '0103130001' OR routing_prefix = '010313000' OR routing_prefix = '01031300' OR routing_prefix = '0103130' OR routing_prefix = '010313' OR routing_prefix = '01031' OR routing_prefix = '0103' OR routing_prefix = '010' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.6694 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:23:21.520696 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:23:21.520696 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:23:21.580665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2022-07-26 07:23:21.580665 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:23:21.640663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.6694 balance Accountid 7 !!! 2022-07-26 07:23:21.640663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-07-26 07:23:21.640663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:23:21.640663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3004 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:23:21.672031 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:23:21.672031 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:23:21.750666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2022-07-26 07:23:21.750666 [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 ="0103130001" LIMIT 1 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : inbound 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2007 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130001#PBX#7#21 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3004 balance Accountid 5 !!! 2022-07-26 07:23:21.771412 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2022-07-26 07:23:21.771412 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2022-07-26 07:23:21.771412 [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 = 7 AND status=0 LIMIT 1 2022-07-26 07:23:21.821984 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++7 2022-07-26 07:23:21.821984 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:7 2022-07-26 07:23:21.872288 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2022-07-26 07:23:21.872288 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:23:21.914966 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : mbvit.nebular.co.za 2022-07-26 07:23:21.914966 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:23:21.914966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:23:21.971795 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:23:21.971795 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....0744086022 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0744086022 2022-07-26 07:23:21.971795 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D943/,D912/,D890/,D002/,D891/,D007/,D864/".....27744086022 2022-07-26 07:23:21.971795 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:23:22.011962 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : mbvit.nebular.co.za 2022-07-26 07:23:22.011962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-07-26 07:23:22.011962 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 7 2022-07-26 07:23:22.011962 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : Ring group 2022-07-26 07:23:22.011962 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 21 and status = 0 LIMIT 1 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"173","delay_1":"0","time_out_1":"15","Promptdropdown_1":"1","destination_2":"171","delay_2":"0","time_out_2":"15","Promptdropdown_2":"1","destination_3":"174","delay_3":"0","time_out_3":"15","Promptdropdown_3":"1","destination_4":"0832663125#","delay_4":"10","time_out_4":"10","Promptdropdown_4":"1"} 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement====Count===============16 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement===================0 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== final_count========final_count===========0=== 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ring_group_recording===================1 2022-07-26 07:23:22.050822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== ringgroup_dlr_str===================[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za, 2022-07-26 07:23:22.050822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '${au-ring}' LIMIT 1 2022-07-26 07:23:22.080683 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:23:22.080683 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released. Dialplan: sofia/default/0744086022@41.160.32.115:5060 parsing [mbvit.nebular.co.za->0103130001#PBX#7#21] continue=false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Regex (PASS) [0103130001#PBX#7#21] destination_number(0103130001#PBX#7#21) =~ /0103130001#PBX#7#21/ break=on-false Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_destination_number=0103130001#PBX#7#21) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(callstart=2022-07-26 07:23:21) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(account_id=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(parent_id=5) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(entity_id=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_name=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_caller_id_number=0744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action limit(db 7 user_7 5 ) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(effective_caller_id_number=27744086022) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(receiver_accid=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(domain_name=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action export(call_type=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_calltype=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(did_extensions=21) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_key=exec) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(ringback=${au-ring}) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(module_name=pbx) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/${sofia_profile_name}/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/${sofia_profile_name}/0832663125@mbvit.nebular.co.za,) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_number=) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type=pstn_1) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(no_answer_call_type_value=0613668008) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(userinfo_id=7) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(variable_sip_to_host=mbvit.nebular.co.za) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp.ring_group_destination.lua) Dialplan: sofia/default/0744086022@41.160.32.115:5060 Action set(original_did_number=0103130001#PBX#7#21) 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0744086022@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 5 Tot 118029) 2022-07-26 07:23:22.080683 [DEBUG] switch_channel.c:2251 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE 2022-07-26 07:23:22.080683 [DEBUG] mod_sofia.c:198 sofia/default/0744086022@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:23:22.080683 [DEBUG] switch_core_state_machine.c:328 sofia/default/0744086022@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_destination_number=0103130001#PBX#7#21) 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_destination_number]=[0103130001#PBX#7#21] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:23:22.080683 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(callstart=2022-07-26 07:23:21) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [callstart]=[2022-07-26 07:23:21] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(account_id=7) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [account_id]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(parent_id=5) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [parent_id]=[5] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(entity_id=0) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [entity_id]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates_did=ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates_did]=[ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7||ID:2007|CODE:^0103130001#PBX#7#21.*|DESTINATION:0103130001#PBX#7#21|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_name=0744086022) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_name]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(original_caller_id_number=0744086022) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [original_caller_id_number]=[0744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 limit(db 7 user_7 5 ) 2022-07-26 07:23:22.090653 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0 2022-07-26 07:23:22.090653 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 1/5 EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_name=27744086022) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(effective_caller_id_number=27744086022) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [effective_caller_id_number]=[27744086022] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(receiver_accid=7) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [receiver_accid]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(domain_name=mbvit.nebular.co.za) 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(sip_to_host=mbvit.nebular.co.za) 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[mbvit.nebular.co.za] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0744086022@41.160.32.115:5060 export(call_type=7) 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_calltype=7) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_calltype]=[7] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(did_extensions=21) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [did_extensions]=[21] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_key=exec) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_key]=[exec] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(ringback=%(400,200,383,417);%(400,2000,383,417)) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [ringback]=[%(400,200,383,417);%(400,2000,383,417)] EXECUTE sofia/default/0744086022@41.160.32.115:5060 set(module_name=pbx) 2022-07-26 07:23:22.090653 [DEBUG] mod_dptools.c:1548 SET sofia/default/0744086022@41.160.32.115:5060 [module_name]=[pbx] EXECUTE sofia/default/0744086022@41.160.32.115:5060 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=7}[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=173,leg_timeout=15,leg_delay_start=0]sofia/default/173@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=171,leg_timeout=15,leg_delay_start=0]sofia/default/171@mbvit.nebular.co.za,[sip_invite_params=user=local,absolute_codec_string=^^:pcma:pcmu,sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=15,confirm=false,announcement=no_file,dialed_user=174,leg_timeout=15,leg_delay_start=0]sofia/default/174@mbvit.nebular.co.za,[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=7,call_timeout=10,confirm=false,announcement=no_file,dialed_user=0832663125#,leg_timeout=10,leg_delay_start=10]sofia/default/0832663125@mbvit.nebular.co.za,) 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1823 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[103] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[mbvit.nebular.co.za] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[mbvit.nebular.co.za] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0103130001#PBX#7#21.* // 0103130001#PBX#7#21 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_channel.c:1250 sofia/default/0744086022@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[7] to event 2022-07-26 07:23:22.090653 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:23:22.090653 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/173@mbvit.nebular.co.za [d46deccc-0cb3-11ed-bc35-d3f1ef10c389] 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/173@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/173@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 6 Tot 118030) 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/171@mbvit.nebular.co.za [d46dff6e-0cb3-11ed-bc3b-d3f1ef10c389] 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/171@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/173@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/171@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/173@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658789704 1658789705 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30498 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/173@mbvit.nebular.co.za Standard INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/173@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/173@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 8 Tot 118032) 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/174@mbvit.nebular.co.za [d46e1080-0cb3-11ed-bc41-d3f1ef10c389] 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/174@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/173@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/173@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/173@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 118032) 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/173@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/174@mbvit.nebular.co.za Setting leg timeout to 15 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 8 Tot 118032) 2022-07-26 07:23:22.100656 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125@mbvit.nebular.co.za [d46e2110-0cb3-11ed-bc47-d3f1ef10c389] 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/171@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/171@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658795248 1658795249 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24954 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/171@mbvit.nebular.co.za Standard INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/171@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/171@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2963 sofia/default/0832663125@mbvit.nebular.co.za Setting leg timeout to 10 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:2981 sofia/default/0832663125@mbvit.nebular.co.za Setting leg delay start to 10 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033) 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118033) 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/171@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/171@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/171@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033) 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:90 sofia/default/174@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/171@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:23:22.100656 [DEBUG] sofia_glue.c:1295 sofia/default/174@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658791206 1658791207 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 28996 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:40 sofia/default/174@mbvit.nebular.co.za Standard INIT 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:48 (sofia/default/174@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:627 (sofia/default/174@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033) 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:23:22.100656 [DEBUG] mod_sofia.c:143 sofia/default/174@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:23:22.100656 [DEBUG] switch_ivr_originate.c:67 (sofia/default/174@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:643 (sofia/default/174@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033) 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:23:22.100656 [DEBUG] switch_core_state_machine.c:662 (sofia/default/174@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:23:22.100656 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:23:22.140665 [DEBUG] sofia.c:7084 Channel sofia/default/173@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:23:22.140665 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/173@mbvit.nebular.co.za! 2022-07-26 07:23:22.140665 [DEBUG] switch_channel.c:3346 (sofia/default/173@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:23:22.151039 [DEBUG] sofia.c:7084 Channel sofia/default/171@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:23:22.151039 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/171@mbvit.nebular.co.za! 2022-07-26 07:23:22.151039 [DEBUG] switch_channel.c:3346 (sofia/default/171@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:23:22.180664 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2022-07-26 07:23:22.180664 [DEBUG] switch_core_codec.c:223 sofia/default/0744086022@41.160.32.115:5060 Push codec L16:100 2022-07-26 07:23:22.180664 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(400,200,383,417);%(400,2000,383,417)] 2022-07-26 07:23:22.241654 [DEBUG] sofia.c:7084 Channel sofia/default/174@mbvit.nebular.co.za entering state [proceeding][180] 2022-07-26 07:23:22.241654 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/174@mbvit.nebular.co.za! 2022-07-26 07:23:22.241654 [DEBUG] switch_channel.c:3346 (sofia/default/174@mbvit.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_INIT (Cur 9 Tot 118033) 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT 2022-07-26 07:23:33.000689 [DEBUG] mod_sofia.c:90 sofia/default/0832663125@mbvit.nebular.co.za SOFIA INIT 2022-07-26 07:23:33.000689 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125@mbvit.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658803183 1658803184 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17030 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 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125@mbvit.nebular.co.za Standard INIT 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125@mbvit.nebular.co.za) State INIT going to sleep 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_ROUTING (Cur 9 Tot 118033) 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING 2022-07-26 07:23:33.000689 [DEBUG] mod_sofia.c:143 sofia/default/0832663125@mbvit.nebular.co.za SOFIA ROUTING 2022-07-26 07:23:33.000689 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125@mbvit.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 118033) 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:23:33.000689 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125@mbvit.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:23:33.012062 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [calling][0] 2022-07-26 07:23:33.051414 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27744086022@156.38.231.107 [daf63356-0cb3-11ed-bc4b-d3f1ef10c389] 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_NEW (Cur 10 Tot 118034) 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:9873 sofia/default/27744086022@156.38.231.107 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [received][100] 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=FreeSWITCH 1658803183 1658803184 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17030 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27744086022@156.38.231.107 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:23:33.051414 [DEBUG] switch_core_codec.c:111 sofia/default/27744086022@156.38.231.107 Original read codec set to PCMA:8 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:23:33.051414 [DEBUG] switch_core_media.c:4767 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:23:33.051414 [DEBUG] sofia.c:7507 (sofia/default/27744086022@156.38.231.107) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27744086022@156.38.231.107) State NEW 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_INIT (Cur 10 Tot 118034) 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT 2022-07-26 07:23:33.051414 [DEBUG] mod_sofia.c:90 sofia/default/27744086022@156.38.231.107 SOFIA INIT 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:40 sofia/default/27744086022@156.38.231.107 Standard INIT 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27744086022@156.38.231.107) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27744086022@156.38.231.107) State INIT going to sleep 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_ROUTING (Cur 10 Tot 118034) 2022-07-26 07:23:33.051414 [DEBUG] switch_channel.c:2249 (sofia/default/27744086022@156.38.231.107) Callstate Change DOWN -> RINGING 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING 2022-07-26 07:23:33.051414 [DEBUG] mod_sofia.c:143 sofia/default/27744086022@156.38.231.107 SOFIA ROUTING 2022-07-26 07:23:33.051414 [DEBUG] switch_core_state_machine.c:236 sofia/default/27744086022@156.38.231.107 Standard ROUTING 2022-07-26 07:23:33.051414 [INFO] mod_dialplan_xml.c:637 Processing 27744086022 <27744086022>->0832663125 in context default 2022-07-26 07:23:33.051414 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ed00add20 Connected. 2022-07-26 07:23:33.051414 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:23:33.122085 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:23:33.201826 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:23:33.201826 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0832663125 2022-07-26 07:23:33.201826 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0832663125' limit 1 2022-07-26 07:23:33.235286 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0832663125' AND status=0 limit 1 2022-07-26 07:23:33.310658 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0832663125' and status=0 LIMIT 1 2022-07-26 07:23:33.360703 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:23:33.360703 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 27744086022 / 27744086022 2022-07-26 07:23:33.360703 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 7 limit 1 2022-07-26 07:23:33.404698 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainmbvit.nebular.co.za 2022-07-26 07:23:33.404698 [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 ="0832663125" LIMIT 1 2022-07-26 07:23:33.470668 [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="0832663125" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:23:33.520662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:23:33.520662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7] 2022-07-26 07:23:33.520662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1 2022-07-26 07:23:33.570700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1 2022-07-26 07:23:33.620660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0832663125" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:23:33.660661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:23:33.660661 [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 2022-07-26 07:23:33.700665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125 2022-07-26 07:23:33.700665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0832663125 2022-07-26 07:23:33.700665 [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 = '^0832663125.*' OR patterns = '^083266312.*' OR patterns = '^08326631.*' OR patterns = '^0832663.*' OR patterns = '^083266.*' OR patterns = '^08326.*' OR patterns = '^0832.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:23:33.740658 [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 ="0832663125" AND A.accountid = '7' limit 1 2022-07-26 07:23:33.780689 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0832663125 2022-07-26 07:23:33.780689 [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 ="0832663125" LIMIT 1 2022-07-26 07:23:33.831181 [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="0832663125" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:23:33.880658 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-26 07:23:33.880658 [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 = '0832663125' OR number = '083266312' OR number = '08326631' OR number = '0832663' OR number = '083266' OR number = '08326' OR number = '0832' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0832663125*' OR number = '083266312*' OR number = '08326631*' OR number = '0832663*' OR number = '083266*' OR number = '08326*' OR number = '0832*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27744086022' OR number = '2774408602' OR number = '277440860' OR number = '27744086' OR number = '2774408' OR number = '277440' OR number = '27744' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27744086022*' OR number = '2774408602*' OR number = '277440860*' OR number = '27744086*' OR number = '2774408*' OR number = '277440*' OR number = '27744*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:23:33.950671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:23:33.950671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0832663125' OR routing_prefix = '083266312' OR routing_prefix = '08326631' OR routing_prefix = '0832663' OR routing_prefix = '083266' OR routing_prefix = '08326' OR routing_prefix = '0832' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:23:33.990662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0832663125)!!!! 2022-07-26 07:23:33.990662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27832663125 2022-07-26 07:23:33.990662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27832663125' limit 1 2022-07-26 07:23:34.031714 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0832663125)!!!! 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.6694 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:23:34.080663 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27744086022 2022-07-26 07:23:34.080663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:23:34.122547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:23:34.122547 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:23:34.154819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802561 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:23:34.194652 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.6694 balance Accountid 7 !!! 2022-07-26 07:23:34.194652 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:23:34.194652 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:23:34.194652 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:23:34.241798 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0832663125.*' OR blocked_patterns = '^083266312.*' OR blocked_patterns = '^08326631.*' OR blocked_patterns = '^0832663.*' OR blocked_patterns = '^083266.*' OR blocked_patterns = '^08326.*' OR blocked_patterns = '^0832.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.3004 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:23:34.301158 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:23:34.301158 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:23:34.371068 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:23:34.371068 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:23:34.411818 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.3004 balance Accountid 5 !!! 2022-07-26 07:23:34.451059 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:23:34.451059 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802561 2022-07-26 07:23:34.451059 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:23:34.451059 [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 2022-07-26 07:23:34.492199 [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 = '^0832663125.*' OR pattern = '^083266312.*' OR pattern = '^08326631.*' OR pattern = '^0832663.*' OR pattern = '^083266.*' OR pattern = '^08326.*' OR pattern = '^0832.*' OR pattern = '^083.*' OR pattern = '^08.*' 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 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:23:34.620663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:23:34.620663 [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 = 7 AND status=0 LIMIT 1 2022-07-26 07:23:34.671303 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:23:34.671303 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:23:34.700661 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:23:34.700661 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:23:34.700661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:23:34.732020 [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 2022-07-26 07:23:34.761050 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0832663125 2022-07-26 07:23:34.761050 [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 2022-07-26 07:23:34.810660 [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 ="0832663125" LIMIT 1 2022-07-26 07:23:34.850663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:23:34.850663 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ed00add20 released. Dialplan: sofia/default/27744086022@156.38.231.107 parsing [default->0832663125] continue=false Dialplan: sofia/default/27744086022@156.38.231.107 Regex (PASS) [0832663125] destination_number(0832663125) =~ /0832663125/ break=on-false Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_destination_number=0832663125) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(callstart=2022-07-26 07:23:34) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(account_id=7) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(parent_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(entity_id=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_processed=internal) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(call_direction=outbound) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(accountname=default) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_name=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(original_caller_id_number=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 7 user_7 5 ) Dialplan: sofia/default/27744086022@156.38.231.107 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_name=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(effective_caller_id_number=27744086022) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(calltype=STANDARD) Dialplan: sofia/default/27744086022@156.38.231.107 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/27744086022@156.38.231.107 Action set(trunk_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(provider_id=3) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(rate_flag=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(force_trunk_flag=1802561) Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/27744086022@156.38.231.107 Action set(intcall=0) Dialplan: sofia/default/27744086022@156.38.231.107 Action export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN) Dialplan: sofia/default/27744086022@156.38.231.107 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27744086022@156.38.231.107) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27744086022@156.38.231.107) State ROUTING going to sleep 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_EXECUTE (Cur 10 Tot 118034) 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE 2022-07-26 07:23:34.850663 [DEBUG] mod_sofia.c:198 sofia/default/27744086022@156.38.231.107 SOFIA EXECUTE 2022-07-26 07:23:34.850663 [DEBUG] switch_core_state_machine.c:328 sofia/default/27744086022@156.38.231.107 Standard EXECUTE EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_destination_number=0832663125) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_destination_number]=[0832663125] EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/27744086022@156.38.231.107 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/27744086022@156.38.231.107 set(callstart=2022-07-26 07:23:34) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [callstart]=[2022-07-26 07:23:34] EXECUTE sofia/default/27744086022@156.38.231.107 set(hangup_after_bridge=true) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [hangup_after_bridge]=[true] EXECUTE sofia/default/27744086022@156.38.231.107 set(continue_on_fail=TRUE) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [continue_on_fail]=[TRUE] EXECUTE sofia/default/27744086022@156.38.231.107 set(account_id=7) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [account_id]=[7] EXECUTE sofia/default/27744086022@156.38.231.107 set(parent_id=5) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [parent_id]=[5] EXECUTE sofia/default/27744086022@156.38.231.107 set(entity_id=0) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [entity_id]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 set(call_processed=internal) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_processed]=[internal] EXECUTE sofia/default/27744086022@156.38.231.107 set(call_direction=outbound) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [call_direction]=[outbound] EXECUTE sofia/default/27744086022@156.38.231.107 set(accountname=default) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [accountname]=[default] EXECUTE sofia/default/27744086022@156.38.231.107 set(filename1=astpp.pbx.lua) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/27744086022@156.38.231.107 set(origination_rates=ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [origination_rates]=[ID:1802561|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_name=27744086022) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_name]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(original_caller_id_number=27744086022) 2022-07-26 07:23:34.850663 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [original_caller_id_number]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 7 user_7 5 ) 2022-07-26 07:23:34.850663 [DEBUG] switch_limit.c:126 incr called: 7_user_7 max:5, interval:0 2022-07-26 07:23:34.850663 [DEBUG] mod_db.c:194 Usage for 7_user_7 is now 2/5 EXECUTE sofia/default/27744086022@156.38.231.107 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:23:34.860669 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:23:34.860669 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20 EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_name=27744086022) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_name]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(effective_caller_id_number=27744086022) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [effective_caller_id_number]=[27744086022] EXECUTE sofia/default/27744086022@156.38.231.107 set(calltype=STANDARD) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [calltype]=[STANDARD] EXECUTE sofia/default/27744086022@156.38.231.107 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) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [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/27744086022@156.38.231.107 set(trunk_id=5) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [trunk_id]=[5] EXECUTE sofia/default/27744086022@156.38.231.107 set(provider_id=3) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [provider_id]=[3] EXECUTE sofia/default/27744086022@156.38.231.107 set(rate_flag=0) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [rate_flag]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 set(force_trunk_flag=1802561) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [force_trunk_flag]=[1802561] EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=trunk_id=5) 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/27744086022@156.38.231.107 set(intcall=0) 2022-07-26 07:23:34.860669 [DEBUG] mod_dptools.c:1548 SET sofia/default/27744086022@156.38.231.107 [intcall]=[0] EXECUTE sofia/default/27744086022@156.38.231.107 export(presence_data=x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN) 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] EXECUTE sofia/default/27744086022@156.38.231.107 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0832663125;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:23:34.860669 [DEBUG] switch_channel.c:1250 sofia/default/27744086022@156.38.231.107 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^083.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.106|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:23:34.860669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0832663125 [dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389] 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:4819 (sofia/default/0832663125) State Change CS_NEW -> CS_INIT 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_INIT (Cur 11 Tot 118035) 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:90 sofia/default/0832663125 SOFIA INIT 2022-07-26 07:23:34.860669 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0832663125 2022-07-26 07:23:34.860669 [DEBUG] sofia_glue.c:1295 sofia/default/0832663125 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658787836 1658787837 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 32378 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:40 sofia/default/0832663125 Standard INIT 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0832663125) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0832663125) State INIT going to sleep 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_ROUTING (Cur 11 Tot 118035) 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING 2022-07-26 07:23:34.860669 [DEBUG] mod_sofia.c:143 sofia/default/0832663125 SOFIA ROUTING 2022-07-26 07:23:34.860669 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0832663125) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0832663125) State ROUTING going to sleep 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 118035) 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA 2022-07-26 07:23:34.860669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0832663125) State CONSUME_MEDIA going to sleep 2022-07-26 07:23:34.871317 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [calling][0] 2022-07-26 07:23:37.000671 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][183] 2022-07-26 07:23:37.000671 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 136631768525699 136631768525699 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20608 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:23:37.000671 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125 Original read codec set to PCMA:8 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125] 156.38.231.107 port 32378 -> 41.160.32.115 port 20608 codec: 8 ms: 20 2022-07-26 07:23:37.000671 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125 Set 2833 dtmf send payload to 101 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125 Set 2833 dtmf receive payload to 101 2022-07-26 07:23:37.000671 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125 Set rtp dtmf delay to 40 2022-07-26 07:23:37.000671 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125! 2022-07-26 07:23:37.000671 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125) Callstate Change DOWN -> EARLY 2022-07-26 07:23:37.020666 [INFO] switch_ivr_originate.c:3654 Sending early media 2022-07-26 07:23:37.020666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27744086022@156.38.231.107] 156.38.231.107 port 30556 -> 156.38.231.107 port 17030 codec: 8 ms: 20 2022-07-26 07:23:37.020666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7180 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf send payload to 101 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7187 sofia/default/27744086022@156.38.231.107 Set 2833 dtmf receive payload to 101 2022-07-26 07:23:37.030674 [DEBUG] switch_core_media.c:7210 sofia/default/27744086022@156.38.231.107 Set rtp dtmf delay to 40 2022-07-26 07:23:37.030674 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30556 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 2022-07-26 07:23:37.030674 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27744086022@156.38.231.107! 2022-07-26 07:23:37.030674 [DEBUG] switch_channel.c:3474 (sofia/default/27744086022@156.38.231.107) Callstate Change RINGING -> EARLY 2022-07-26 07:23:37.030674 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125] 2022-07-26 07:23:37.030674 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:23:37.030674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118035) 2022-07-26 07:23:37.030674 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA 2022-07-26 07:23:37.030674 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:23:37.030674 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [early][183] 2022-07-26 07:23:37.040789 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [proceeding][183] 2022-07-26 07:23:37.040789 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30556 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0832663125@mbvit.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:23:37.040789 [DEBUG] switch_core_codec.c:111 sofia/default/0832663125@mbvit.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:4767 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0832663125@mbvit.nebular.co.za] 156.38.231.107 port 17030 -> 156.38.231.107 port 30556 codec: 8 ms: 20 2022-07-26 07:23:37.040789 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7180 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7187 sofia/default/0832663125@mbvit.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:23:37.040789 [DEBUG] switch_core_media.c:7210 sofia/default/0832663125@mbvit.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:23:37.040789 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0832663125@mbvit.nebular.co.za! 2022-07-26 07:23:37.040789 [DEBUG] switch_channel.c:3474 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change DOWN -> EARLY EXECUTE sofia/default/0832663125@mbvit.nebular.co.za lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-07-26 07:23:37.061335 [NOTICE] switch_cpp.cpp:1365 [Astpp_Call-Ring Group] Ring group confirm flag :false 2022-07-26 07:23:37.061335 [DEBUG] switch_cpp.cpp:1112 sofia/default/0832663125@mbvit.nebular.co.za destroy/unlink session from object 2022-07-26 07:23:37.071956 [DEBUG] switch_core_codec.c:248 sofia/default/0744086022@41.160.32.115:5060 Restore previous codec PCMA:8. 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/173@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/171@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:23:37.071956 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/174@mbvit.nebular.co.za [CS_CONSUME_MEDIA] [LOSE_RACE] 2022-07-26 07:23:37.071956 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0832663125@mbvit.nebular.co.za] 2022-07-26 07:23:37.071956 [DEBUG] switch_channel.c:2047 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE 2022-07-26 07:23:37.071956 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035) 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/173@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/173@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035) 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/173@mbvit.nebular.co.za 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:60 sofia/default/173@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/173@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:619 (sofia/default/173@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035) 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/171@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/171@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:23:37.071956 [INFO] mod_json_cdr.c:271 Process [d46deccc-0cb3-11ed-bc35-d3f1ef10c389.cdr.json] 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 11 Tot 118035) 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:850 (sofia/default/174@mbvit.nebular.co.za) Callstate Change RINGING -> HANGUP 2022-07-26 07:23:37.071956 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:23:37.071956 [DEBUG] mod_sofia.c:438 Channel sofia/default/174@mbvit.nebular.co.za hanging up, cause: LOSE_RACE 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/171@mbvit.nebular.co.za 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:60 sofia/default/171@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:852 (sofia/default/171@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:619 (sofia/default/171@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035) 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/174@mbvit.nebular.co.za 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:60 sofia/default/174@mbvit.nebular.co.za Standard HANGUP, cause: LOSE_RACE 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:852 (sofia/default/174@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:619 (sofia/default/174@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 11 Tot 118035) 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:23:37.091140 [INFO] mod_json_cdr.c:271 Process [d46e1080-0cb3-11ed-bc41-d3f1ef10c389.cdr.json] 2022-07-26 07:23:37.091140 [INFO] mod_json_cdr.c:271 Process [d46dff6e-0cb3-11ed-bc3b-d3f1ef10c389.cdr.json] 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 11 Tot 118035) 2022-07-26 07:23:37.091140 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:23:37.091140 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:23:37.141559 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:174 sofia/default/173@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:938 (sofia/default/173@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:610 (sofia/default/173@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:37.163332 [DEBUG] switch_core_session.c:1665 Session 118030 (sofia/default/173@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:23:37.163332 [NOTICE] switch_core_session.c:1683 Session 118030 (sofia/default/173@mbvit.nebular.co.za) Ended 2022-07-26 07:23:37.163332 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/173@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:741 (sofia/default/173@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 10 Tot 118035) 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:23:37.163332 [DEBUG] mod_sofia.c:343 sofia/default/173@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:181 sofia/default/173@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:23:37.163332 [DEBUG] switch_core_state_machine.c:751 (sofia/default/173@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:174 sofia/default/171@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:938 (sofia/default/171@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:610 (sofia/default/171@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:37.171386 [DEBUG] switch_core_session.c:1665 Session 118031 (sofia/default/171@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:23:37.171386 [NOTICE] switch_core_session.c:1683 Session 118031 (sofia/default/171@mbvit.nebular.co.za) Ended 2022-07-26 07:23:37.171386 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/171@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:741 (sofia/default/171@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 9 Tot 118035) 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:23:37.171386 [DEBUG] mod_sofia.c:343 sofia/default/171@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:181 sofia/default/171@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:23:37.171386 [DEBUG] switch_core_state_machine.c:751 (sofia/default/171@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:23:37.200660 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:174 sofia/default/174@mbvit.nebular.co.za Standard REPORTING, cause: LOSE_RACE 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:938 (sofia/default/174@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:610 (sofia/default/174@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:23:37.215599 [DEBUG] switch_core_session.c:1665 Session 118032 (sofia/default/174@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:23:37.215599 [NOTICE] switch_core_session.c:1683 Session 118032 (sofia/default/174@mbvit.nebular.co.za) Ended 2022-07-26 07:23:37.215599 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/174@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:741 (sofia/default/174@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 8 Tot 118035) 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:23:37.215599 [DEBUG] mod_sofia.c:343 sofia/default/174@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:181 sofia/default/174@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:23:37.215599 [DEBUG] switch_core_state_machine.c:751 (sofia/default/174@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:23:37.215599 [DEBUG] switch_ivr.c:623 sofia/default/0832663125 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0832663125 sched_hangup(+6000 normal_clearing) 2022-07-26 07:23:37.215599 [DEBUG] switch_scheduler.c:249 Added task 47236 switch_ivr_schedule_hangup (dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389) to run at 1658826217 2022-07-26 07:23:37.251581 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0832663125@mbvit.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:23:37.280661 [DEBUG] switch_ivr.c:623 sofia/default/0832663125@mbvit.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0832663125@mbvit.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:23:37.292246 [DEBUG] switch_scheduler.c:249 Added task 47237 switch_ivr_schedule_hangup (d46e2110-0cb3-11ed-bc47-d3f1ef10c389) to run at 1658826217 2022-07-26 07:23:37.921989 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [proceeding][180] 2022-07-26 07:23:37.921989 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0832663125! 2022-07-26 07:23:37.921989 [DEBUG] switch_channel.c:3346 (sofia/default/0832663125) Callstate Change EARLY -> RINGING 2022-07-26 07:23:37.961944 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:38.020710 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:59.620681 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [completing][200] 2022-07-26 07:23:59.620681 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 136631768525699 136631768525699 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20608 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:23:59.631640 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125 entering state [ready][200] 2022-07-26 07:23:59.631640 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125] has been answered 2022-07-26 07:23:59.631640 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125) Callstate Change RINGING -> ACTIVE 2022-07-26 07:23:59.631640 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27744086022@156.38.231.107. 2022-07-26 07:23:59.631640 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27744086022@156.38.231.107: v=0 o=FreeSWITCH 1658789661 1658789663 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30556 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 2022-07-26 07:23:59.631640 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27744086022@156.38.231.107] has been answered 2022-07-26 07:23:59.631640 [DEBUG] switch_channel.c:3773 (sofia/default/27744086022@156.38.231.107) Callstate Change EARLY -> ACTIVE 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [completed][200] 2022-07-26 07:23:59.651014 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [completing][200] 2022-07-26 07:23:59.651014 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=FreeSWITCH 1658789661 1658789662 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30556 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2022-07-26 07:23:59.680658 [DEBUG] sofia.c:7084 Channel sofia/default/0832663125@mbvit.nebular.co.za entering state [ready][200] 2022-07-26 07:23:59.680658 [NOTICE] sofia.c:8159 Channel [sofia/default/0832663125@mbvit.nebular.co.za] has been answered 2022-07-26 07:23:59.680658 [DEBUG] switch_channel.c:3773 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change EARLY -> ACTIVE 2022-07-26 07:23:59.680658 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:23:59.680658 [DEBUG] sofia.c:7084 Channel sofia/default/27744086022@156.38.231.107 entering state [ready][200] 2022-07-26 07:23:59.714844 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:24:08.100679 [NOTICE] sofia.c:1012 Hangup sofia/default/0744086022@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:24:08.110659 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0744086022@41.160.32.115:5060] 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0744086022@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125@mbvit.nebular.co.za] 2022-07-26 07:24:08.121507 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125@mbvit.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125@mbvit.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:24:08.121507 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0744086022@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_session.c:2815 sofia/default/0744086022@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0744086022@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 8 Tot 118035) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0744086022@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:438 Channel sofia/default/0744086022@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:60 sofia/default/0744086022@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0744086022@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 8 Tot 118035) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125@mbvit.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_HANGUP (Cur 8 Tot 118035) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125@mbvit.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:432 sofia/default/0832663125@mbvit.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125@mbvit.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:08.121507 [INFO] mod_json_cdr.c:271 Process [d065f16a-0cb3-11ed-bbe4-d3f1ef10c389.cdr.json] 2022-07-26 07:24:08.121507 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125@mbvit.nebular.co.za 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125@mbvit.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125@mbvit.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_REPORTING (Cur 8 Tot 118035) 2022-07-26 07:24:08.121507 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING 2022-07-26 07:24:08.131752 [INFO] mod_json_cdr.c:271 Process [d46e2110-0cb3-11ed-bc47-d3f1ef10c389.cdr.json] 2022-07-26 07:24:08.180660 [NOTICE] sofia.c:1012 Hangup sofia/default/27744086022@156.38.231.107 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27744086022@156.38.231.107 ending bridge by request from write function 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0832663125] 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:712 sofia/default/27744086022@156.38.231.107 ending bridge by request from read function 2022-07-26 07:24:08.180660 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27744086022@156.38.231.107] 2022-07-26 07:24:08.180660 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0832663125 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0832663125) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_HANGUP (Cur 8 Tot 118035) 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0832663125) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:08.180660 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP 2022-07-26 07:24:08.180660 [DEBUG] mod_sofia.c:432 sofia/default/0832663125 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:24:08.180660 [DEBUG] mod_sofia.c:438 Channel sofia/default/0832663125 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:08.191023 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0832663125 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:24:08.191023 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27744086022@156.38.231.107 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:24:08.191023 [DEBUG] switch_core_session.c:2815 sofia/default/27744086022@156.38.231.107 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27744086022@156.38.231.107) State EXECUTE going to sleep 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_HANGUP (Cur 8 Tot 118035) 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27744086022@156.38.231.107) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP 2022-07-26 07:24:08.191023 [DEBUG] mod_sofia.c:438 Channel sofia/default/27744086022@156.38.231.107 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:08.191023 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0832663125 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:60 sofia/default/0832663125 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0832663125) State HANGUP going to sleep 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0832663125) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0832663125) Running State Change CS_REPORTING (Cur 8 Tot 118035) 2022-07-26 07:24:08.191023 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING 2022-07-26 07:24:08.191023 [INFO] mod_json_cdr.c:271 Process [dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389.cdr.json] 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:60 sofia/default/27744086022@156.38.231.107 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27744086022@156.38.231.107) State HANGUP going to sleep 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27744086022@156.38.231.107) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27744086022@156.38.231.107) Running State Change CS_REPORTING (Cur 8 Tot 118035) 2022-07-26 07:24:08.217615 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING 2022-07-26 07:24:08.217615 [INFO] mod_json_cdr.c:271 Process [daf63356-0cb3-11ed-bc4b-d3f1ef10c389.cdr.json] 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125) State REPORTING going to sleep 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:08.261513 [DEBUG] switch_core_session.c:1665 Session 118035 (sofia/default/0832663125) Locked, Waiting on external entities 2022-07-26 07:24:08.261513 [NOTICE] switch_core_session.c:1683 Session 118035 (sofia/default/0832663125) Ended 2022-07-26 07:24:08.261513 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125 [CS_DESTROY] 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125) Running State Change CS_DESTROY (Cur 7 Tot 118035) 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY 2022-07-26 07:24:08.261513 [DEBUG] mod_sofia.c:343 sofia/default/0832663125 SOFIA DESTROY 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125 Standard DESTROY 2022-07-26 07:24:08.261513 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125) State DESTROY going to sleep 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:174 sofia/default/0832663125@mbvit.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0832663125@mbvit.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0832663125@mbvit.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:08.304265 [DEBUG] switch_core_session.c:1665 Session 118033 (sofia/default/0832663125@mbvit.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:24:08.304265 [NOTICE] switch_core_session.c:1683 Session 118033 (sofia/default/0832663125@mbvit.nebular.co.za) Ended 2022-07-26 07:24:08.304265 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0832663125@mbvit.nebular.co.za [CS_DESTROY] 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0832663125@mbvit.nebular.co.za) Running State Change CS_DESTROY (Cur 6 Tot 118035) 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY 2022-07-26 07:24:08.304265 [DEBUG] mod_sofia.c:343 sofia/default/0832663125@mbvit.nebular.co.za SOFIA DESTROY 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:181 sofia/default/0832663125@mbvit.nebular.co.za Standard DESTROY 2022-07-26 07:24:08.304265 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0832663125@mbvit.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:24:08.304265 [DEBUG] switch_scheduler.c:144 Deleting task 47236 switch_ivr_schedule_hangup (dc098e5a-0cb3-11ed-bc6e-d3f1ef10c389) 2022-07-26 07:24:08.304265 [DEBUG] switch_scheduler.c:144 Deleting task 47237 switch_ivr_schedule_hangup (d46e2110-0cb3-11ed-bc47-d3f1ef10c389) 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:174 sofia/default/0744086022@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0744086022@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0744086022@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:08.391364 [DEBUG] switch_core_session.c:1665 Session 118029 (sofia/default/0744086022@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:24:08.391364 [NOTICE] switch_core_session.c:1683 Session 118029 (sofia/default/0744086022@41.160.32.115:5060) Ended 2022-07-26 07:24:08.391364 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0744086022@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0744086022@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 5 Tot 118035) 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY 2022-07-26 07:24:08.391364 [DEBUG] mod_sofia.c:343 sofia/default/0744086022@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:181 sofia/default/0744086022@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:24:08.391364 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0744086022@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:174 sofia/default/27744086022@156.38.231.107 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27744086022@156.38.231.107) State REPORTING going to sleep 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27744086022@156.38.231.107) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:08.441481 [DEBUG] switch_core_session.c:1665 Session 118034 (sofia/default/27744086022@156.38.231.107) Locked, Waiting on external entities 2022-07-26 07:24:08.441481 [NOTICE] switch_core_session.c:1683 Session 118034 (sofia/default/27744086022@156.38.231.107) Ended 2022-07-26 07:24:08.441481 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27744086022@156.38.231.107 [CS_DESTROY] 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27744086022@156.38.231.107) Running State Change CS_DESTROY (Cur 4 Tot 118035) 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY 2022-07-26 07:24:08.441481 [DEBUG] mod_sofia.c:343 sofia/default/27744086022@156.38.231.107 SOFIA DESTROY 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:181 sofia/default/27744086022@156.38.231.107 Standard DESTROY 2022-07-26 07:24:08.441481 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27744086022@156.38.231.107) State DESTROY going to sleep 2022-07-26 07:24:32.850809 [NOTICE] sofia.c:1012 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 4 Tot 118035) 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP 2022-07-26 07:24:32.860662 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 4 Tot 118035) 2022-07-26 07:24:32.860662 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING 2022-07-26 07:24:32.860662 [INFO] mod_json_cdr.c:271 Process [9931e9c4-0cb3-11ed-bae9-d3f1ef10c389.cdr.json] 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:706 sofia/default/297534@joshco.nebular.co.za ending bridge by request from write function 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0619646866@41.160.32.115:5060] 2022-07-26 07:24:32.860662 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:24:32.860662 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0619646866@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:24:32.870792 [DEBUG] switch_core_session.c:2815 sofia/default/0619646866@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0619646866@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 4 Tot 118035) 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0619646866@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0619646866@41.160.32.115:5060) State HANGUP 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:432 sofia/default/0619646866@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:438 Channel sofia/default/0619646866@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:24:32.870792 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0619646866@41.160.32.115:5060 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:60 sofia/default/0619646866@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0619646866@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 4 Tot 118035) 2022-07-26 07:24:32.870792 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0619646866@41.160.32.115:5060) State REPORTING 2022-07-26 07:24:32.870792 [INFO] mod_json_cdr.c:271 Process [97bffe50-0cb3-11ed-bac1-d3f1ef10c389.cdr.json] 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:32.921598 [DEBUG] switch_core_session.c:1665 Session 118017 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:24:32.921598 [NOTICE] switch_core_session.c:1683 Session 118017 (sofia/default/297534@joshco.nebular.co.za) Ended 2022-07-26 07:24:32.921598 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY] 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 3 Tot 118035) 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY 2022-07-26 07:24:32.921598 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY 2022-07-26 07:24:32.921598 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:174 sofia/default/0619646866@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0619646866@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0619646866@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:24:32.971070 [DEBUG] switch_core_session.c:1665 Session 118016 (sofia/default/0619646866@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:24:32.971070 [NOTICE] switch_core_session.c:1683 Session 118016 (sofia/default/0619646866@41.160.32.115:5060) Ended 2022-07-26 07:24:32.971070 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0619646866@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0619646866@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 2 Tot 118035) 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0619646866@41.160.32.115:5060) State DESTROY 2022-07-26 07:24:32.971070 [DEBUG] mod_sofia.c:343 sofia/default/0619646866@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:181 sofia/default/0619646866@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:24:32.971070 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0619646866@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:24:33.310677 [DEBUG] switch_scheduler.c:144 Deleting task 47231 switch_ivr_schedule_hangup (9931e9c4-0cb3-11ed-bae9-d3f1ef10c389) 2022-07-26 07:25:38.620949 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0100653427@41.160.32.115:5060 [25ce79ba-0cb4-11ed-bc77-d3f1ef10c389] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118036) 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:9873 sofia/default/0100653427@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 43834705249941 43834705249941 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20610 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 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0100653427@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:25:38.620949 [DEBUG] switch_core_codec.c:111 sofia/default/0100653427@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:25:38.620949 [DEBUG] switch_core_media.c:4767 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:25:38.620949 [DEBUG] sofia.c:7507 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0100653427@41.160.32.115:5060) State NEW 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118036) 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0100653427@41.160.32.115:5060) State INIT 2022-07-26 07:25:38.620949 [DEBUG] mod_sofia.c:90 sofia/default/0100653427@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:40 sofia/default/0100653427@41.160.32.115:5060 Standard INIT 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0100653427@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118036) 2022-07-26 07:25:38.620949 [DEBUG] switch_channel.c:2249 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0100653427@41.160.32.115:5060) State ROUTING 2022-07-26 07:25:38.620949 [DEBUG] mod_sofia.c:143 sofia/default/0100653427@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:25:38.620949 [DEBUG] switch_core_state_machine.c:236 sofia/default/0100653427@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:25:38.620949 [INFO] mod_dialplan_xml.c:637 Processing 0100653427 <0100653427>->D9570124713800 in context default 2022-07-26 07:25:38.701521 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42a3570 Connected. 2022-07-26 07:25:38.701521 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:25:38.742268 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:25:38.782338 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:25:38.782338 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570124713800 2022-07-26 07:25:38.782338 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570124713800' limit 1 2022-07-26 07:25:38.820660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570124713800' AND status=0 limit 1 2022-07-26 07:25:38.855373 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570124713800' and status=0 LIMIT 1 2022-07-26 07:25:38.891952 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:25:38.891952 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0100653427 / 2022-07-26 07:25:38.891952 [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 ="D9570124713800" LIMIT 1 2022-07-26 07:25:38.940656 [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="D9570124713800" AND domains.domain="156.38.231.106" limit 1 2022-07-26 07:25:38.980661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:25:38.980661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:25:38.980661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:25:39.013214 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570124713800.*' OR blocked_patterns = '^D957012471380.*' OR blocked_patterns = '^D95701247138.*' OR blocked_patterns = '^D9570124713.*' OR blocked_patterns = '^D957012471.*' OR blocked_patterns = '^D95701247.*' OR blocked_patterns = '^D9570124.*' 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 2022-07-26 07:25:39.060680 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570124713800" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:25:39.100663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:25:39.100663 [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 2022-07-26 07:25:39.141150 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570124713800 2022-07-26 07:25:39.141150 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570124713800 2022-07-26 07:25:39.141150 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570124713800 2022-07-26 07:25:39.141150 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0124713800 2022-07-26 07:25:39.141150 [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 = '^0124713800.*' OR patterns = '^012471380.*' OR patterns = '^01247138.*' OR patterns = '^0124713.*' OR patterns = '^012471.*' OR patterns = '^01247.*' OR patterns = '^0124.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:25:39.184997 [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 ="0124713800" AND A.accountid = '3' limit 1 2022-07-26 07:25:39.230767 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0124713800 2022-07-26 07:25:39.230767 [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 ="0124713800" LIMIT 1 2022-07-26 07:25:39.270664 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:25:39.270664 [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 = '0124713800' OR number = '012471380' OR number = '01247138' OR number = '0124713' OR number = '012471' OR number = '01247' OR number = '0124' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0124713800*' OR number = '012471380*' OR number = '01247138*' OR number = '0124713*' OR number = '012471*' OR number = '01247*' OR number = '0124*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2022-07-26 07:25:39.660957 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 65 limit 1 2022-07-26 07:25:39.693160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : ecic.nebular.co.za 2022-07-26 07:25:39.701856 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2022-07-26 07:25:39.701856 [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="993160" AND domains.domain="ecic.nebular.co.za" limit 1 2022-07-26 07:25:39.722965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 735 limit 1 2022-07-26 07:25:39.771036 [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 2022-07-26 07:25:39.802738 [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 2022-07-26 07:25:39.850656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforeecic.nebular.co.za 2022-07-26 07:25:39.850656 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:25:39.850656 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='993160' and uuid = '25ce79ba-0cb4-11ed-bc77-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:25:39.881476 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='993160' order by id desc limit 1 2022-07-26 07:25:39.922941 [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="993160" AND domains.domain="ecic.nebular.co.za" limit 1 2022-07-26 07:25:39.960661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 735 limit 1 2022-07-26 07:25:40.000667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:25:40.000667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42a3570 released. Dialplan: sofia/default/0100653427@41.160.32.115:5060 parsing [default->0124713800] continue=false Dialplan: sofia/default/0100653427@41.160.32.115:5060 Regex (PASS) [0124713800] destination_number(D9570124713800) =~ /D9570124713800/ break=on-false Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(effective_destination_number=0124713800) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(callstart=2022-07-26 07:25:39) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(origination_rates_did=ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(original_caller_id_name=0100653427) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(effective_caller_id_name=27100653427) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(receiver_accid=65) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(domain_name=ecic.nebular.co.za) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(sip_to_host=ecic.nebular.co.za) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/993160/${uuid}) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action export(did_user_domain=ecic.nebular.co.za) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/993160@ecic.nebular.co.za^0124713800) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(variable_sip_to_host=ecic.nebular.co.za) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(userinfo_id=65) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(sip_destination_number=993160) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(destination_number=0124713800) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(did_number=0124713800) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action set(user_domain=ecic.nebular.co.za) Dialplan: sofia/default/0100653427@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0124713800_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/0100653427@41.160.32.115:5060 Regex (FAIL) [0124713800_recur_1] ${cond(${user_data 993160@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0100653427@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0100653427@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118036) 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0100653427@41.160.32.115:5060) State EXECUTE 2022-07-26 07:25:40.121851 [DEBUG] mod_sofia.c:198 sofia/default/0100653427@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:25:40.121851 [DEBUG] switch_core_state_machine.c:328 sofia/default/0100653427@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(effective_destination_number=0124713800) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [effective_destination_number]=[0124713800] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(callstart=2022-07-26 07:25:39) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [callstart]=[2022-07-26 07:25:39] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(origination_rates_did=ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [origination_rates_did]=[ID:4415|CODE:^0124713800.*|DESTINATION:0124713800|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:65] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(original_caller_id_name=0100653427) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [original_caller_id_name]=[0100653427] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(effective_caller_id_name=27100653427) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [effective_caller_id_name]=[27100653427] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(receiver_accid=65) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [receiver_accid]=[65] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(domain_name=ecic.nebular.co.za) 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[ecic.nebular.co.za] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(sip_to_host=ecic.nebular.co.za) 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[ecic.nebular.co.za] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(call_type=5) 2022-07-26 07:25:40.121851 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(calltype=SIP-DID) 2022-07-26 07:25:40.121851 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0100653427@41.160.32.115:5060 db(insert/pickup_any_group_/993160/25ce79ba-0cb4-11ed-bc77-d3f1ef10c389) EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:25:40.133937 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:25:40.133937 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0100653427@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:25:40.133937 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0100653427@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:25:40.133937 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0100653427@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:25:40.133937 [DEBUG] mod_dptools.c:1548 SET sofia/default/0100653427@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0100653427@41.160.32.115:5060 export(did_user_domain=ecic.nebular.co.za) 2022-07-26 07:25:40.133937 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[ecic.nebular.co.za] EXECUTE sofia/default/0100653427@41.160.32.115:5060 sleep(1000) EXECUTE sofia/default/0100653427@41.160.32.115:5060 ring_ready() 2022-07-26 07:25:41.162667 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0100653427@41.160.32.115:5060! 2022-07-26 07:25:41.162667 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0100653427@41.160.32.115:5060! EXECUTE sofia/default/0100653427@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/993160@ecic.nebular.co.za^0124713800) 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[ecic.nebular.co.za] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[ecic.nebular.co.za] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0124713800.* // 0124713800 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_channel.c:1250 sofia/default/0100653427@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[ecic.nebular.co.za] to event 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:25:41.162667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/993160@ecic.nebular.co.za [27523330-0cb4-11ed-bc9f-d3f1ef10c389] 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:4819 (sofia/default/993160@ecic.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_INIT (Cur 4 Tot 118037) 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/993160@ecic.nebular.co.za) State INIT 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:90 sofia/default/993160@ecic.nebular.co.za SOFIA INIT 2022-07-26 07:25:41.162667 [DEBUG] sofia_glue.c:1295 sofia/default/993160@ecic.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658793883 1658793884 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 26458 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 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:40 sofia/default/993160@ecic.nebular.co.za Standard INIT 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:48 (sofia/default/993160@ecic.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/993160@ecic.nebular.co.za) State INIT going to sleep 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_ROUTING (Cur 4 Tot 118037) 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/993160@ecic.nebular.co.za) State ROUTING 2022-07-26 07:25:41.162667 [DEBUG] mod_sofia.c:143 sofia/default/993160@ecic.nebular.co.za SOFIA ROUTING 2022-07-26 07:25:41.162667 [DEBUG] switch_ivr_originate.c:67 (sofia/default/993160@ecic.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/993160@ecic.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118037) 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:662 (sofia/default/993160@ecic.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:25:41.162667 [DEBUG] switch_core_state_machine.c:662 (sofia/default/993160@ecic.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:25:41.162667 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [calling][0] 2022-07-26 07:25:41.183567 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [early][180] 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [proceeding][180] 2022-07-26 07:25:41.431127 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/993160@ecic.nebular.co.za! 2022-07-26 07:25:41.431127 [DEBUG] switch_channel.c:3346 (sofia/default/993160@ecic.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [completing][200] 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 460601688064 90697629697 IN IP4 156.38.249.182 s=3cxPS Audio call c=IN IP4 156.38.249.182 t=0 0 m=audio 9432 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:25:41.431127 [DEBUG] sofia.c:7084 Channel sofia/default/993160@ecic.nebular.co.za entering state [ready][200] 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/993160@ecic.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:25:41.431127 [DEBUG] switch_core_codec.c:111 sofia/default/993160@ecic.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:4767 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:25:41.431127 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/993160@ecic.nebular.co.za] 156.38.231.107 port 26458 -> 156.38.249.182 port 9432 codec: 8 ms: 20 2022-07-26 07:25:41.431127 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7180 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7187 sofia/default/993160@ecic.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7210 sofia/default/993160@ecic.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:25:41.450666 [NOTICE] sofia.c:8218 Channel [sofia/default/993160@ecic.nebular.co.za] has been answered 2022-07-26 07:25:41.450666 [DEBUG] switch_channel.c:3773 (sofia/default/993160@ecic.nebular.co.za) Callstate Change RINGING -> ACTIVE 2022-07-26 07:25:41.450666 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0100653427@41.160.32.115:5060! 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0100653427@41.160.32.115:5060] 156.38.231.107 port 32266 -> 41.160.32.115 port 20610 codec: 8 ms: 20 2022-07-26 07:25:41.450666 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7180 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7187 sofia/default/0100653427@41.160.32.115:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:25:41.450666 [DEBUG] switch_core_media.c:7210 sofia/default/0100653427@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:25:41.450666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0100653427@41.160.32.115:5060: v=0 o=FreeSWITCH 1658788075 1658788076 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 32266 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 2022-07-26 07:25:41.450666 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0100653427@41.160.32.115:5060] has been answered 2022-07-26 07:25:41.450666 [DEBUG] switch_channel.c:3773 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:25:41.450666 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/993160@ecic.nebular.co.za] 2022-07-26 07:25:41.450666 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/993160@ecic.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:25:41.462746 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:25:41.462746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118037) 2022-07-26 07:25:41.462746 [DEBUG] switch_core_state_machine.c:653 (sofia/default/993160@ecic.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:25:41.462746 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:25:41.640672 [DEBUG] switch_ivr_bridge.c:546 sofia/default/993160@ecic.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:25:41.670940 [DEBUG] switch_ivr.c:623 sofia/default/993160@ecic.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/993160@ecic.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:25:41.670940 [DEBUG] switch_scheduler.c:249 Added task 47238 switch_ivr_schedule_hangup (27523330-0cb4-11ed-bc9f-d3f1ef10c389) to run at 1658826341 2022-07-26 07:25:41.722615 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.182:9432 to 156.38.231.105:9432 2022-07-26 07:25:41.722615 [DEBUG] sofia.c:7084 Channel sofia/default/0100653427@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:25:41.790674 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:26:03.451191 [NOTICE] sofia.c:1012 Hangup sofia/default/0100653427@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:26:03.451191 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0100653427@41.160.32.115:5060] 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0100653427@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/993160@ecic.nebular.co.za] 2022-07-26 07:26:03.461115 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/993160@ecic.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/993160@ecic.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:26:03.461115 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0100653427@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:26:03.461115 [DEBUG] switch_core_session.c:2815 sofia/default/0100653427@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0100653427@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 4 Tot 118037) 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0100653427@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0100653427@41.160.32.115:5060) State HANGUP 2022-07-26 07:26:03.461115 [DEBUG] mod_sofia.c:438 Channel sofia/default/0100653427@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:60 sofia/default/0100653427@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0100653427@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 4 Tot 118037) 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0100653427@41.160.32.115:5060) State REPORTING 2022-07-26 07:26:03.461115 [INFO] mod_json_cdr.c:271 Process [25ce79ba-0cb4-11ed-bc77-d3f1ef10c389.cdr.json] 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:653 (sofia/default/993160@ecic.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:26:03.461115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_HANGUP (Cur 4 Tot 118037) 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:850 (sofia/default/993160@ecic.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:852 (sofia/default/993160@ecic.nebular.co.za) State HANGUP 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:432 sofia/default/993160@ecic.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:438 Channel sofia/default/993160@ecic.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:26:03.471807 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/993160@ecic.nebular.co.za 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:60 sofia/default/993160@ecic.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:852 (sofia/default/993160@ecic.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:619 (sofia/default/993160@ecic.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:584 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_REPORTING (Cur 4 Tot 118037) 2022-07-26 07:26:03.471807 [DEBUG] switch_core_state_machine.c:938 (sofia/default/993160@ecic.nebular.co.za) State REPORTING 2022-07-26 07:26:03.471807 [INFO] mod_json_cdr.c:271 Process [27523330-0cb4-11ed-bc9f-d3f1ef10c389.cdr.json] 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:174 sofia/default/993160@ecic.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:938 (sofia/default/993160@ecic.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:610 (sofia/default/993160@ecic.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:26:03.552841 [DEBUG] switch_core_session.c:1665 Session 118037 (sofia/default/993160@ecic.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:26:03.552841 [NOTICE] switch_core_session.c:1683 Session 118037 (sofia/default/993160@ecic.nebular.co.za) Ended 2022-07-26 07:26:03.552841 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/993160@ecic.nebular.co.za [CS_DESTROY] 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:741 (sofia/default/993160@ecic.nebular.co.za) Running State Change CS_DESTROY (Cur 3 Tot 118037) 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:751 (sofia/default/993160@ecic.nebular.co.za) State DESTROY 2022-07-26 07:26:03.552841 [DEBUG] mod_sofia.c:343 sofia/default/993160@ecic.nebular.co.za SOFIA DESTROY 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:181 sofia/default/993160@ecic.nebular.co.za Standard DESTROY 2022-07-26 07:26:03.552841 [DEBUG] switch_core_state_machine.c:751 (sofia/default/993160@ecic.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:174 sofia/default/0100653427@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0100653427@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0100653427@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:26:03.662763 [DEBUG] switch_core_session.c:1665 Session 118036 (sofia/default/0100653427@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:26:03.662763 [NOTICE] switch_core_session.c:1683 Session 118036 (sofia/default/0100653427@41.160.32.115:5060) Ended 2022-07-26 07:26:03.662763 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0100653427@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0100653427@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 2 Tot 118037) 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0100653427@41.160.32.115:5060) State DESTROY 2022-07-26 07:26:03.662763 [DEBUG] mod_sofia.c:343 sofia/default/0100653427@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:181 sofia/default/0100653427@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:26:03.662763 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0100653427@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:26:03.681196 [DEBUG] switch_scheduler.c:144 Deleting task 47238 switch_ivr_schedule_hangup (27523330-0cb4-11ed-bc9f-d3f1ef10c389) 2022-07-26 07:26:16.650661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27114067300@joshco.nebular.co.za:5060 [3c79892a-0cb4-11ed-bca5-d3f1ef10c389] 2022-07-26 07:26:16.650661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_NEW (Cur 3 Tot 118038) 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:9873 sofia/default/27114067300@joshco.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [received][100] 2022-07-26 07:26:16.650661 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 32034250488283136 14317279521013761 IN IP4 156.38.249.181 s=3cxPS Audio call c=IN IP4 156.38.249.181 t=0 0 m=audio 9838 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 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27114067300@joshco.nebular.co.za:5060 G729/8000 60 ms 480 samples 8000 bits 1 channels 2022-07-26 07:26:16.660905 [DEBUG] switch_core_codec.c:111 sofia/default/27114067300@joshco.nebular.co.za:5060 Original read codec set to G729:18 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:26:16.660905 [DEBUG] switch_core_media.c:4767 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:26:16.660905 [DEBUG] sofia.c:7507 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27114067300@joshco.nebular.co.za:5060) State NEW 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_INIT (Cur 3 Tot 118038) 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27114067300@joshco.nebular.co.za:5060) State INIT 2022-07-26 07:26:16.660905 [DEBUG] mod_sofia.c:90 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA INIT 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:40 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard INIT 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27114067300@joshco.nebular.co.za:5060) State INIT going to sleep 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 3 Tot 118038) 2022-07-26 07:26:16.660905 [DEBUG] switch_channel.c:2249 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27114067300@joshco.nebular.co.za:5060) State ROUTING 2022-07-26 07:26:16.660905 [DEBUG] mod_sofia.c:143 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA ROUTING 2022-07-26 07:26:16.660905 [DEBUG] switch_core_state_machine.c:236 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard ROUTING 2022-07-26 07:26:16.660905 [INFO] mod_dialplan_xml.c:637 Processing 27114067300 <27114067300>->0836345055 in context default 2022-07-26 07:26:16.660905 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42a3570 Connected. 2022-07-26 07:26:16.660905 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:26:16.690668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:26:16.731972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:26:16.731972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0836345055 2022-07-26 07:26:16.731972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0836345055' limit 1 2022-07-26 07:26:16.774501 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0836345055' AND status=0 limit 1 2022-07-26 07:26:16.803077 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0836345055' and status=0 LIMIT 1 2022-07-26 07:26:16.841825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:26:16.841825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 297534 / 27114067300 2022-07-26 07:26:16.841825 [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 ="0836345055" LIMIT 1 2022-07-26 07:26:16.891616 [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="0836345055" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:26:16.942954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:26:16.942954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 297534] 2022-07-26 07:26:16.942954 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "297534" AND deleted = 0 limit 1 2022-07-26 07:26:16.983324 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0836345055.*' OR blocked_patterns = '^083634505.*' OR blocked_patterns = '^08363450.*' OR blocked_patterns = '^0836345.*' OR blocked_patterns = '^083634.*' OR blocked_patterns = '^08363.*' OR blocked_patterns = '^0836.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 19 limit 1 2022-07-26 07:26:17.020738 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0836345055" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:26:17.041780 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:26:17.041780 [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 2022-07-26 07:26:17.091969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0836345055 2022-07-26 07:26:17.091969 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0836345055 2022-07-26 07:26:17.091969 [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 = '^0836345055.*' OR patterns = '^083634505.*' OR patterns = '^08363450.*' OR patterns = '^0836345.*' OR patterns = '^083634.*' OR patterns = '^08363.*' OR patterns = '^0836.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:26:17.121261 [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 ="0836345055" AND A.accountid = '19' limit 1 2022-07-26 07:26:17.164016 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0836345055 2022-07-26 07:26:17.164016 [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 ="0836345055" LIMIT 1 2022-07-26 07:26:17.211994 [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="0836345055" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:26:17.250662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-26 07:26:17.250662 [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 = '0836345055' OR number = '083634505' OR number = '08363450' OR number = '0836345' OR number = '083634' OR number = '08363' OR number = '0836' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0836345055*' OR number = '083634505*' OR number = '08363450*' OR number = '0836345*' OR number = '083634*' OR number = '08363*' OR number = '0836*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27114067300' OR number = '2711406730' OR number = '271140673' OR number = '27114067' OR number = '2711406' OR number = '271140' OR number = '27114' OR number = '2711' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27114067300*' OR number = '2711406730*' OR number = '271140673*' OR number = '27114067*' OR number = '2711406*' OR number = '271140*' OR number = '27114*' OR number = '2711*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:26:17.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:26:17.280666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0836345055' OR routing_prefix = '083634505' OR routing_prefix = '08363450' OR routing_prefix = '0836345' OR routing_prefix = '083634' OR routing_prefix = '08363' OR routing_prefix = '0836' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:26:17.330666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0836345055)!!!! 2022-07-26 07:26:17.330666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27836345055 2022-07-26 07:26:17.330666 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27836345055' limit 1 2022-07-26 07:26:17.400663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0836345055)!!!! 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 19 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 297534 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1092.1355 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 71 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:26:17.540659 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....297534 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....27114067300 2022-07-26 07:26:17.540659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0 2022-07-26 07:26:17.580659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:26:17.580659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 71 AND status = 0 2022-07-26 07:26:17.622947 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 71 OR accountid=19) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1179103 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.69000 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 19 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:26:17.662265 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1092.1355 balance Accountid 19 !!! 2022-07-26 07:26:17.662265 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:26:17.662265 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:26:17.662265 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:26:17.700928 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0836345055.*' OR blocked_patterns = '^083634505.*' OR blocked_patterns = '^08363450.*' OR blocked_patterns = '^0836345.*' OR blocked_patterns = '^083634.*' OR blocked_patterns = '^08363.*' OR blocked_patterns = '^0836.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.2604 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:26:17.741138 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:26:17.741138 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:26:17.781965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:26:17.781965 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:26:17.822483 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426397 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.2604 balance Accountid 5 !!! 2022-07-26 07:26:17.842802 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:26:17.842802 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1179103 2022-07-26 07:26:17.842802 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:26:17.842802 [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 2022-07-26 07:26:17.891327 [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 = '^0836345055.*' OR pattern = '^083634505.*' OR pattern = '^08363450.*' OR pattern = '^0836345.*' OR pattern = '^083634.*' OR pattern = '^08363.*' OR pattern = '^0836.*' OR pattern = '^083.*' OR pattern = '^08.*' 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 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:26:17.964416 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:26:17.964416 [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 = 19 AND status=0 LIMIT 1 2022-07-26 07:26:18.020675 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:26:18.020675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:26:18.062026 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:26:18.062026 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:26:18.062026 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:26:18.110663 [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 2022-07-26 07:26:18.150663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0836345055 2022-07-26 07:26:18.150663 [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 2022-07-26 07:26:18.190663 [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 ="0836345055" LIMIT 1 2022-07-26 07:26:18.230694 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:26:18.230694 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42a3570 released. Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 parsing [default->0836345055] continue=false Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Regex (PASS) [0836345055] destination_number(0836345055) =~ /0836345055/ break=on-false Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_destination_number=0836345055) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(callstart=2022-07-26 07:26:18) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(account_id=19) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(parent_id=5) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(call_direction=outbound) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(origination_rates=ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(original_caller_id_name=297534) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(original_caller_id_number=27114067300) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action limit(db 297534 user_297534 20 ) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_caller_id_name=297534) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(effective_caller_id_number=27114067300) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/27114067300@joshco.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/27114067300@joshco.nebular.co.za:5060 Action set(trunk_id=5) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(provider_id=3) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(rate_flag=0) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(force_trunk_flag=1179103) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action set(intcall=0) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action export(presence_data=x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN) Dialplan: sofia/default/27114067300@joshco.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0836345055;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27114067300@joshco.nebular.co.za:5060) State ROUTING going to sleep 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 3 Tot 118038) 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27114067300@joshco.nebular.co.za:5060) State EXECUTE 2022-07-26 07:26:18.230694 [DEBUG] mod_sofia.c:198 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA EXECUTE 2022-07-26 07:26:18.230694 [DEBUG] switch_core_state_machine.c:328 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_destination_number=0836345055) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_destination_number]=[0836345055] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(callstart=2022-07-26 07:26:18) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [callstart]=[2022-07-26 07:26:18] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(hangup_after_bridge=true) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(continue_on_fail=TRUE) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(account_id=19) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [account_id]=[19] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(parent_id=5) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [parent_id]=[5] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(entity_id=0) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(call_processed=internal) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(call_direction=outbound) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [call_direction]=[outbound] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(accountname=default) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(origination_rates=ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [origination_rates]=[ID:1179103|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.69000|INC:1|INITIALBLOCK:1|RATEGROUP:71|MARKUP:0|CI:0|ACCID:19||ID:1426397|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(original_caller_id_name=297534) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [original_caller_id_name]=[297534] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(original_caller_id_number=27114067300) 2022-07-26 07:26:18.230694 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [original_caller_id_number]=[27114067300] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 limit(db 297534 user_297534 20 ) 2022-07-26 07:26:18.230694 [DEBUG] switch_limit.c:126 incr called: 297534_user_297534 max:20, interval:0 2022-07-26 07:26:18.230694 [DEBUG] mod_db.c:194 Usage for 297534_user_297534 is now 1/20 EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:26:18.230694 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:26:18.230694 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20 EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_caller_id_name=297534) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_caller_id_name]=[297534] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(effective_caller_id_number=27114067300) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [effective_caller_id_number]=[27114067300] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(calltype=STANDARD) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [calltype]=[STANDARD] EXECUTE sofia/default/27114067300@joshco.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) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.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/27114067300@joshco.nebular.co.za:5060 set(trunk_id=5) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [trunk_id]=[5] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(provider_id=3) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [provider_id]=[3] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(rate_flag=0) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [rate_flag]=[0] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(force_trunk_flag=1179103) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [force_trunk_flag]=[1179103] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 export(presence_data=trunk_id=5) 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 set(intcall=0) 2022-07-26 07:26:18.240658 [DEBUG] mod_dptools.c:1548 SET sofia/default/27114067300@joshco.nebular.co.za:5060 [intcall]=[0] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 export(presence_data=x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN) 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN] EXECUTE sofia/default/27114067300@joshco.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0836345055;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1250 sofia/default/27114067300@joshco.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:26:18.240658 [DEBUG] switch_channel.c:1250 sofia/default/27114067300@joshco.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Joscho(297534)|||^083.* // D083-MTN // 0.69000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^083.* // D083-MTN] to event 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:26:18.240658 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0836345055 [3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389] 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:4819 (sofia/default/0836345055) State Change CS_NEW -> CS_INIT 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_INIT (Cur 4 Tot 118039) 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0836345055) State INIT 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:90 sofia/default/0836345055 SOFIA INIT 2022-07-26 07:26:18.240658 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0836345055 2022-07-26 07:26:18.240658 [DEBUG] sofia_glue.c:1295 sofia/default/0836345055 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658796794 1658796795 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23584 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:40 sofia/default/0836345055 Standard INIT 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0836345055) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0836345055) State INIT going to sleep 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_ROUTING (Cur 4 Tot 118039) 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0836345055) State ROUTING 2022-07-26 07:26:18.240658 [DEBUG] mod_sofia.c:143 sofia/default/0836345055 SOFIA ROUTING 2022-07-26 07:26:18.240658 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0836345055) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0836345055) State ROUTING going to sleep 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 118039) 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0836345055) State CONSUME_MEDIA 2022-07-26 07:26:18.240658 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0836345055) State CONSUME_MEDIA going to sleep 2022-07-26 07:26:18.240658 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [calling][0] 2022-07-26 07:26:20.290675 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [proceeding][183] 2022-07-26 07:26:20.290675 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 134832177391974 134832177391974 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20612 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0836345055 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:26:20.290675 [DEBUG] switch_core_codec.c:111 sofia/default/0836345055 Original read codec set to PCMA:8 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:4767 sofia/default/0836345055 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:26:20.290675 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0836345055] 156.38.231.107 port 23584 -> 41.160.32.115 port 20612 codec: 8 ms: 20 2022-07-26 07:26:20.300678 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7180 sofia/default/0836345055 Set 2833 dtmf send payload to 101 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7187 sofia/default/0836345055 Set 2833 dtmf receive payload to 101 2022-07-26 07:26:20.300678 [DEBUG] switch_core_media.c:7210 sofia/default/0836345055 Set rtp dtmf delay to 40 2022-07-26 07:26:20.300678 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0836345055! 2022-07-26 07:26:20.300678 [DEBUG] switch_channel.c:3474 (sofia/default/0836345055) Callstate Change DOWN -> EARLY 2022-07-26 07:26:20.320692 [INFO] switch_ivr_originate.c:3654 Sending early media 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27114067300@joshco.nebular.co.za:5060] 156.38.231.107 port 24762 -> 156.38.249.181 port 9838 codec: 18 ms: 60 2022-07-26 07:26:20.320692 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 480 bytes per 60ms 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7180 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7187 sofia/default/27114067300@joshco.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:26:20.320692 [DEBUG] switch_core_media.c:7210 sofia/default/27114067300@joshco.nebular.co.za:5060 Set rtp dtmf delay to 40 2022-07-26 07:26:20.320692 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1658795618 1658795619 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24762 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:60 a=sendrecv 2022-07-26 07:26:20.320692 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/27114067300@joshco.nebular.co.za:5060! 2022-07-26 07:26:20.320692 [DEBUG] switch_channel.c:3474 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2022-07-26 07:26:20.320692 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0836345055] 2022-07-26 07:26:20.330852 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0836345055) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:26:20.330852 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 118039) 2022-07-26 07:26:20.330852 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836345055) State EXCHANGE_MEDIA 2022-07-26 07:26:20.330852 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:26:20.330852 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [early][183] 2022-07-26 07:26:20.492826 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0836345055 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:26:20.492826 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3f089318c8 0x7f3f089318d0 2022-07-26 07:26:20.492826 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3f089318c8 0x7f3f089318d0 2022-07-26 07:26:20.492826 [DEBUG] switch_core_io.c:1448 Engaging Write Buffer at 320 bytes to accommodate 960->320 2022-07-26 07:26:20.510661 [DEBUG] switch_ivr.c:623 sofia/default/0836345055 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0836345055 sched_hangup(+6000 normal_clearing) 2022-07-26 07:26:20.510661 [DEBUG] switch_scheduler.c:249 Added task 47239 switch_ivr_schedule_hangup (3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389) to run at 1658826380 2022-07-26 07:26:21.040717 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9838 to 156.38.231.105:9838 2022-07-26 07:26:21.300972 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [proceeding][180] 2022-07-26 07:26:21.300972 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0836345055! 2022-07-26 07:26:21.300972 [DEBUG] switch_channel.c:3346 (sofia/default/0836345055) Callstate Change EARLY -> RINGING 2022-07-26 07:26:21.380667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:26:21.380667 [DEBUG] switch_core_io.c:1448 Engaging Write Buffer at 960 bytes to accommodate 320->960 2022-07-26 07:26:21.420674 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3f08931948 0x7f3f08931948 2022-07-26 07:26:21.420674 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3f08931948 0x7f3f08931948 2022-07-26 07:26:34.000671 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [completing][200] 2022-07-26 07:26:34.000671 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 134832177391974 134832177391974 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20612 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:26:34.022137 [DEBUG] sofia.c:7084 Channel sofia/default/0836345055 entering state [ready][200] 2022-07-26 07:26:34.022137 [NOTICE] sofia.c:8159 Channel [sofia/default/0836345055] has been answered 2022-07-26 07:26:34.022137 [DEBUG] switch_channel.c:3773 (sofia/default/0836345055) Callstate Change RINGING -> ACTIVE 2022-07-26 07:26:34.060736 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/27114067300@joshco.nebular.co.za:5060. 2022-07-26 07:26:34.060736 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27114067300@joshco.nebular.co.za:5060: v=0 o=FreeSWITCH 1658795618 1658795620 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 24762 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:60 a=sendrecv 2022-07-26 07:26:34.060736 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/27114067300@joshco.nebular.co.za:5060] has been answered 2022-07-26 07:26:34.060736 [DEBUG] switch_channel.c:3773 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE 2022-07-26 07:26:34.080659 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:26:34.120672 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [completed][200] 2022-07-26 07:26:34.180670 [DEBUG] sofia.c:7084 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:26:34.240675 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:10.430658 [NOTICE] sofia.c:1012 Hangup sofia/default/0836345055 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:27:10.444089 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0836345055] 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836345055) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_HANGUP (Cur 4 Tot 118039) 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0836345055) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836345055) State HANGUP 2022-07-26 07:27:10.444089 [DEBUG] mod_sofia.c:438 Channel sofia/default/0836345055 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:60 sofia/default/0836345055 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836345055) State HANGUP going to sleep 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0836345055) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836345055) Running State Change CS_REPORTING (Cur 4 Tot 118039) 2022-07-26 07:27:10.444089 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836345055) State REPORTING 2022-07-26 07:27:10.444089 [INFO] mod_json_cdr.c:271 Process [3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389.cdr.json] 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0836345055 ending bridge by request from write function 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27114067300@joshco.nebular.co.za:5060] 2022-07-26 07:27:10.461459 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0836345055 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:27:10.461459 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/27114067300@joshco.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:27:10.486808 [DEBUG] switch_core_session.c:2815 sofia/default/27114067300@joshco.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27114067300@joshco.nebular.co.za:5060) State EXECUTE going to sleep 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 4 Tot 118039) 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27114067300@joshco.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27114067300@joshco.nebular.co.za:5060) State HANGUP 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:432 sofia/default/27114067300@joshco.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:438 Channel sofia/default/27114067300@joshco.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/27114067300@joshco.nebular.co.za:5060 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:60 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27114067300@joshco.nebular.co.za:5060) State HANGUP going to sleep 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 4 Tot 118039) 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27114067300@joshco.nebular.co.za:5060) State REPORTING 2022-07-26 07:27:10.486808 [INFO] mod_json_cdr.c:271 Process [3c79892a-0cb4-11ed-bca5-d3f1ef10c389.cdr.json] 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:174 sofia/default/0836345055 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836345055) State REPORTING going to sleep 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0836345055) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:27:10.486808 [DEBUG] switch_core_session.c:1665 Session 118039 (sofia/default/0836345055) Locked, Waiting on external entities 2022-07-26 07:27:10.486808 [NOTICE] switch_core_session.c:1683 Session 118039 (sofia/default/0836345055) Ended 2022-07-26 07:27:10.486808 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0836345055 [CS_DESTROY] 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0836345055) Running State Change CS_DESTROY (Cur 3 Tot 118039) 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836345055) State DESTROY 2022-07-26 07:27:10.486808 [DEBUG] mod_sofia.c:343 sofia/default/0836345055 SOFIA DESTROY 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:181 sofia/default/0836345055 Standard DESTROY 2022-07-26 07:27:10.486808 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836345055) State DESTROY going to sleep 2022-07-26 07:27:10.551818 [DEBUG] switch_scheduler.c:144 Deleting task 47239 switch_ivr_schedule_hangup (3d6b6d80-0cb4-11ed-bcc8-d3f1ef10c389) 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:174 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27114067300@joshco.nebular.co.za:5060) State REPORTING going to sleep 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27114067300@joshco.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:27:10.637732 [DEBUG] switch_core_session.c:1665 Session 118038 (sofia/default/27114067300@joshco.nebular.co.za:5060) Locked, Waiting on external entities 2022-07-26 07:27:10.637732 [NOTICE] switch_core_session.c:1683 Session 118038 (sofia/default/27114067300@joshco.nebular.co.za:5060) Ended 2022-07-26 07:27:10.637732 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27114067300@joshco.nebular.co.za:5060 [CS_DESTROY] 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27114067300@joshco.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 2 Tot 118039) 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27114067300@joshco.nebular.co.za:5060) State DESTROY 2022-07-26 07:27:10.637732 [DEBUG] mod_sofia.c:343 sofia/default/27114067300@joshco.nebular.co.za:5060 SOFIA DESTROY 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3f089318c8 0x7f3f089318d0 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3f089318c8 0x7f3f089318d0 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3f08931948 0x7f3f08931948 2022-07-26 07:27:10.637732 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3f08931948 0x7f3f08931948 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:181 sofia/default/27114067300@joshco.nebular.co.za:5060 Standard DESTROY 2022-07-26 07:27:10.637732 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27114067300@joshco.nebular.co.za:5060) State DESTROY going to sleep 2022-07-26 07:27:25.900660 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0160040462@41.160.32.115:5060 [65bff0c6-0cb4-11ed-bcce-d3f1ef10c389] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_NEW (Cur 3 Tot 118040) 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:9873 sofia/default/0160040462@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [received][100] 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 121247195900325 121247195900325 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20614 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 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0160040462@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:27:25.900660 [DEBUG] switch_core_codec.c:111 sofia/default/0160040462@41.160.32.115:5060 Original read codec set to PCMA:8 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000 2022-07-26 07:27:25.900660 [DEBUG] switch_core_media.c:4767 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97 2022-07-26 07:27:25.900660 [DEBUG] sofia.c:7507 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0160040462@41.160.32.115:5060) State NEW 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_INIT (Cur 3 Tot 118040) 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0160040462@41.160.32.115:5060) State INIT 2022-07-26 07:27:25.900660 [DEBUG] mod_sofia.c:90 sofia/default/0160040462@41.160.32.115:5060 SOFIA INIT 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:40 sofia/default/0160040462@41.160.32.115:5060 Standard INIT 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0160040462@41.160.32.115:5060) State INIT going to sleep 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 3 Tot 118040) 2022-07-26 07:27:25.900660 [DEBUG] switch_channel.c:2249 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0160040462@41.160.32.115:5060) State ROUTING 2022-07-26 07:27:25.900660 [DEBUG] mod_sofia.c:143 sofia/default/0160040462@41.160.32.115:5060 SOFIA ROUTING 2022-07-26 07:27:25.900660 [DEBUG] switch_core_state_machine.c:236 sofia/default/0160040462@41.160.32.115:5060 Standard ROUTING 2022-07-26 07:27:25.900660 [INFO] mod_dialplan_xml.c:637 Processing 0160040462 <0160040462>->D9570114067300 in context default 2022-07-26 07:27:25.971314 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 [65ca1b82-0cb4-11ed-bcd0-d3f1ef10c389] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_NEW (Cur 4 Tot 118041) 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:9873 sofia/default/1000@wowtailssalon.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [received][100] 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20006 20006 IN IP4 102.219.180.66 s=SDP data c=IN IP4 102.219.180.66 t=0 0 m=audio 12542 RTP/AVP 18 0 8 9 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/1000@wowtailssalon.nebular.co.za:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2022-07-26 07:27:25.971314 [DEBUG] switch_core_codec.c:111 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Original read codec set to G729:18 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:25.971314 [DEBUG] switch_core_media.c:4767 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:25.971314 [DEBUG] sofia.c:7507 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:603 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State NEW 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_INIT (Cur 4 Tot 118041) 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State INIT 2022-07-26 07:27:25.971314 [DEBUG] mod_sofia.c:90 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA INIT 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:40 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard INIT 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State INIT going to sleep 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 4 Tot 118041) 2022-07-26 07:27:25.971314 [DEBUG] switch_channel.c:2249 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State ROUTING 2022-07-26 07:27:25.971314 [DEBUG] mod_sofia.c:143 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA ROUTING 2022-07-26 07:27:25.971314 [DEBUG] switch_core_state_machine.c:236 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard ROUTING 2022-07-26 07:27:25.971314 [INFO] mod_dialplan_xml.c:637 Processing WowTailsSalon | 1000 <1000>->0788049704 in context default 2022-07-26 07:27:25.971314 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ea42362f0 Connected. 2022-07-26 07:27:25.971314 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:27:26.020799 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:27:26.052576 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ec81d1530 Connected. 2022-07-26 07:27:26.052576 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:27:26.073653 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:27:26.073653 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570114067300 2022-07-26 07:27:26.073653 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570114067300' limit 1 2022-07-26 07:27:26.111066 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570114067300' AND status=0 limit 1 2022-07-26 07:27:26.127243 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:27:26.135403 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570114067300' and status=0 LIMIT 1 2022-07-26 07:27:26.181209 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 0160040462 / 2022-07-26 07:27:26.181209 [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 ="D9570114067300" LIMIT 1 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:27:26.181209 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0788049704 2022-07-26 07:27:26.181209 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0788049704' limit 1 2022-07-26 07:27:26.213188 [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="D9570114067300" AND domains.domain="156.38.231.106" limit 1 2022-07-26 07:27:26.232107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0788049704' AND status=0 limit 1 2022-07-26 07:27:26.261479 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:27:26.261479 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894] 2022-07-26 07:27:26.261479 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1 2022-07-26 07:27:26.286274 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0788049704' and status=0 LIMIT 1 2022-07-26 07:27:26.301391 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570114067300.*' OR blocked_patterns = '^D957011406730.*' OR blocked_patterns = '^D95701140673.*' OR blocked_patterns = '^D9570114067.*' OR blocked_patterns = '^D957011406.*' OR blocked_patterns = '^D95701140.*' OR blocked_patterns = '^D9570114.*' 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 2022-07-26 07:27:26.321168 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:27:26.321168 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : WowTailsSalon / 0103130040 2022-07-26 07:27:26.321168 [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 ="0788049704" LIMIT 1 2022-07-26 07:27:26.344857 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570114067300" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:27:26.383323 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5 2022-07-26 07:27:26.383323 [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 2022-07-26 07:27:26.383323 [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="0788049704" AND domains.domain="wowtailssalon.nebular.co.za" limit 1 2022-07-26 07:27:26.421110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:27:26.421110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570114067300 2022-07-26 07:27:26.421110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570114067300 2022-07-26 07:27:26.421110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0114067300 2022-07-26 07:27:26.421110 [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 = '^0114067300.*' OR patterns = '^011406730.*' OR patterns = '^01140673.*' OR patterns = '^0114067.*' OR patterns = '^011406.*' OR patterns = '^01140.*' OR patterns = '^0114.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:27:26.431972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:27:26.431972 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 200456] 2022-07-26 07:27:26.431972 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "200456" AND deleted = 0 limit 1 2022-07-26 07:27:26.444046 [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 ="0114067300" AND A.accountid = '3' limit 1 2022-07-26 07:27:26.487325 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0788049704.*' OR blocked_patterns = '^078804970.*' OR blocked_patterns = '^07880497.*' OR blocked_patterns = '^0788049.*' OR blocked_patterns = '^078804.*' OR blocked_patterns = '^07880.*' OR blocked_patterns = '^0788.*' OR blocked_patterns = '^078.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 95 limit 1 2022-07-26 07:27:26.498008 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0114067300 2022-07-26 07:27:26.498008 [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 ="0114067300" LIMIT 1 2022-07-26 07:27:26.535748 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound 2022-07-26 07:27:26.535748 [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 = '0114067300' OR number = '011406730' OR number = '01140673' OR number = '0114067' OR number = '011406' OR number = '01140' OR number = '0114' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0114067300*' OR number = '011406730*' OR number = '01140673*' OR number = '0114067*' OR number = '011406*' OR number = '01140*' OR number = '0114*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '' OR number = ' 2022-07-26 07:27:26.885552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 19 limit 1 2022-07-26 07:27:26.901486 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:27:26.901486 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0788049704' OR routing_prefix = '078804970' OR routing_prefix = '07880497' OR routing_prefix = '0788049' OR routing_prefix = '078804' OR routing_prefix = '07880' OR routing_prefix = '0788' OR routing_prefix = '078' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:27:26.922910 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : joshco.nebular.co.za 2022-07-26 07:27:26.922910 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2022-07-26 07:27:26.922910 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:27:26.955049 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0788049704)!!!! 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27788049704 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27788049704' limit 1 2022-07-26 07:27:26.955049 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:27:26.992785 [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 2022-07-26 07:27:27.022285 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0788049704)!!!! 2022-07-26 07:27:27.033193 [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 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 95 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 200456 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 83.65 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:27:27.065515 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:27:27.065515 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforejoshco.nebular.co.za 2022-07-26 07:27:27.065515 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START: 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/ 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' and uuid = '65bff0c6-0cb4-11ed-bcce-d3f1ef10c389' order by id desc limit 1 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....WowTailsSalon 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130040 2022-07-26 07:27:27.065515 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='297534' order by id desc limit 1 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:27:27.111430 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:27:27.151244 [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="297534" AND domains.domain="joshco.nebular.co.za" limit 1 2022-07-26 07:27:27.163415 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=95) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:27:27.184492 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 165 limit 1 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802529 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 95 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:27:27.195076 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your83.65 balance Accountid 95 !!! 2022-07-26 07:27:27.195076 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:27:27.195076 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:27:27.195076 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:27:27.231615 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:27:27.231615 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ea42362f0 released. Dialplan: sofia/default/0160040462@41.160.32.115:5060 parsing [default->0114067300] continue=false Dialplan: sofia/default/0160040462@41.160.32.115:5060 Regex (PASS) [0114067300] destination_number(D9570114067300) =~ /D9570114067300/ break=on-false Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(effective_destination_number=0114067300) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(callstart=2022-07-26 07:27:26) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(account_id=3) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(parent_id=0) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(entity_id=3) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(call_processed=internal) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(call_direction=inbound) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(accountname=default) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(origination_rates=0) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(original_caller_id_name=0160040462) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(effective_caller_id_name=27160040462) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(receiver_accid=19) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(domain_name=joshco.nebular.co.za) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(call_type=5) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(calltype=SIP-DID) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/297534/${uuid}) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action export(did_user_domain=joshco.nebular.co.za) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action sleep(1000) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action ring_ready() Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/297534@joshco.nebular.co.za^0114067300) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(on_busy_flag=1) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(on_busy_destination=) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(no_answer_flag=1) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(no_answer_destination=) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(not_register_flag=1) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(not_register_destination=) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(opensips_flag=0) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(variable_sip_to_host=joshco.nebular.co.za) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(leg_timeout=20) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(userinfo_id=19) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(sip_destination_number=297534) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(destination_number=0114067300) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(did_number=0114067300) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action set(user_domain=joshco.nebular.co.za) Dialplan: sofia/default/0160040462@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) |--- Dialplan: Processing recursive conditions level:1 [0114067300_recur_1] require-nested=TRUE 2022-07-26 07:27:27.231615 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0788049704.*' OR blocked_patterns = '^078804970.*' OR blocked_patterns = '^07880497.*' OR blocked_patterns = '^0788049.*' OR blocked_patterns = '^078804.*' OR blocked_patterns = '^07880.*' OR blocked_patterns = '^0788.*' OR blocked_patterns = '^078.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.0904 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:27:27.282516 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:27:27.282516 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:27:27.321774 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:27:27.321774 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 |--- Dialplan: sofia/default/0160040462@41.160.32.115:5060 Regex (FAIL) [0114067300_recur_1] ${cond(${user_data 297534@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/0160040462@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition}) 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0160040462@41.160.32.115:5060) State ROUTING going to sleep 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 4 Tot 118041) 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0160040462@41.160.32.115:5060) State EXECUTE 2022-07-26 07:27:27.364254 [DEBUG] mod_sofia.c:198 sofia/default/0160040462@41.160.32.115:5060 SOFIA EXECUTE 2022-07-26 07:27:27.364254 [DEBUG] switch_core_state_machine.c:328 sofia/default/0160040462@41.160.32.115:5060 Standard EXECUTE EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(effective_destination_number=0114067300) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [effective_destination_number]=[0114067300] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(callstart=2022-07-26 07:27:26) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [callstart]=[2022-07-26 07:27:26] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(continue_on_fail=TRUE) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(account_id=3) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [account_id]=[3] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(parent_id=0) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [parent_id]=[0] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(entity_id=3) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [entity_id]=[3] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(call_processed=internal) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [call_processed]=[internal] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(call_direction=inbound) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [call_direction]=[inbound] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(accountname=default) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [accountname]=[default] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(origination_rates_did=ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [origination_rates_did]=[ID:4657|CODE:^0114067300.*|DESTINATION:0114067300|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:19] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(origination_rates=0) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [origination_rates]=[0] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(original_caller_id_name=0160040462) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [original_caller_id_name]=[0160040462] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(effective_caller_id_name=27160040462) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [effective_caller_id_name]=[27160040462] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(receiver_accid=19) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [receiver_accid]=[19] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(domain_name=joshco.nebular.co.za) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[joshco.nebular.co.za] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(sip_to_host=joshco.nebular.co.za) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[joshco.nebular.co.za] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(call_type=5) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5] EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(calltype=SIP-DID) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [calltype]=[SIP-DID] EXECUTE sofia/default/0160040462@41.160.32.115:5060 db(insert/pickup_any_group_/297534/65bff0c6-0cb4-11ed-bcce-d3f1ef10c389) EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(dialed_extension=transfer_call) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [dialed_extension]=[transfer_call] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(dialed_extension=transfer_call) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE sofia/default/0160040462@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-07-26 07:27:27.364254 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE sofia/default/0160040462@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-07-26 07:27:27.364254 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE sofia/default/0160040462@41.160.32.115:5060 set(hangup_after_bridge=true) 2022-07-26 07:27:27.364254 [DEBUG] mod_dptools.c:1548 SET sofia/default/0160040462@41.160.32.115:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/0160040462@41.160.32.115:5060 export(did_user_domain=joshco.nebular.co.za) 2022-07-26 07:27:27.364254 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[joshco.nebular.co.za] EXECUTE sofia/default/0160040462@41.160.32.115:5060 sleep(1000) 2022-07-26 07:27:27.364254 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426365 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D083-MTN 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.0904 balance Accountid 5 !!! 2022-07-26 07:27:27.410657 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:27:27.410657 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802529 2022-07-26 07:27:27.410657 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:27:27.410657 [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 2022-07-26 07:27:27.440657 [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 = '^0788049704.*' OR pattern = '^078804970.*' OR pattern = '^07880497.*' OR pattern = '^0788049.*' OR pattern = '^078804.*' OR pattern = '^07880.*' OR pattern = '^0788.*' OR pattern = '^078.*' 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 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:27:27.520937 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:27:27.520937 [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 = 95 AND status=0 LIMIT 1 2022-07-26 07:27:27.541980 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:27:27.541980 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:27:27.594214 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:27:27.594214 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:27:27.594214 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:27:27.630662 [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 2022-07-26 07:27:27.670804 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0788049704 2022-07-26 07:27:27.670804 [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 2022-07-26 07:27:27.712447 [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 ="0788049704" LIMIT 1 2022-07-26 07:27:27.751509 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:27:27.751509 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ec81d1530 released. Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 parsing [default->0788049704] continue=false Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Regex (PASS) [0788049704] destination_number(0788049704) =~ /0788049704/ break=on-false Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_destination_number=0788049704) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(callstart=2022-07-26 07:27:27) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(account_id=95) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(parent_id=5) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(call_direction=outbound) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(origination_rates=ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(original_caller_id_name=WowTailsSalon) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(original_caller_id_number=0103130040) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action limit(db 200456 user_200456 5 ) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_caller_id_name=WowTailsSalon) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(effective_caller_id_number=0103130040) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/1000@wowtailssalon.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/1000@wowtailssalon.nebular.co.za:5060 Action set(trunk_id=5) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(provider_id=3) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(rate_flag=0) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(force_trunk_flag=1802529) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action set(intcall=0) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action export(presence_data=x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN) Dialplan: sofia/default/1000@wowtailssalon.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0788049704;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:286 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State ROUTING going to sleep 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 4 Tot 118041) 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) State EXECUTE 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:198 sofia/default/1000@wowtailssalon.nebular.co.za:5060 SOFIA EXECUTE 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:328 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_destination_number=0788049704) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_destination_number]=[0788049704] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(callstart=2022-07-26 07:27:27) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [callstart]=[2022-07-26 07:27:27] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(hangup_after_bridge=true) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(continue_on_fail=TRUE) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(account_id=95) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [account_id]=[95] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(parent_id=5) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [parent_id]=[5] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(entity_id=0) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(call_processed=internal) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(call_direction=outbound) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [call_direction]=[outbound] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(accountname=default) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(origination_rates=ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [origination_rates]=[ID:1802529|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:95||ID:1426365|CODE:^078.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(original_caller_id_name=WowTailsSalon) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [original_caller_id_name]=[WowTailsSalon] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(original_caller_id_number=0103130040) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [original_caller_id_number]=[0103130040] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 limit(db 200456 user_200456 5 ) 2022-07-26 07:27:27.751509 [DEBUG] switch_limit.c:126 incr called: 200456_user_200456 max:5, interval:0 2022-07-26 07:27:27.751509 [DEBUG] mod_db.c:194 Usage for 200456_user_200456 is now 1/5 EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:27:27.751509 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:27:27.751509 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 2/20 EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_caller_id_name=WowTailsSalon) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_caller_id_name]=[WowTailsSalon] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(effective_caller_id_number=0103130040) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [effective_caller_id_number]=[0103130040] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(calltype=STANDARD) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [calltype]=[STANDARD] EXECUTE sofia/default/1000@wowtailssalon.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) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.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/1000@wowtailssalon.nebular.co.za:5060 set(trunk_id=5) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [trunk_id]=[5] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(provider_id=3) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [provider_id]=[3] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(rate_flag=0) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [rate_flag]=[0] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(force_trunk_flag=1802529) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [force_trunk_flag]=[1802529] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 export(presence_data=trunk_id=5) 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 set(intcall=0) 2022-07-26 07:27:27.751509 [DEBUG] mod_dptools.c:1548 SET sofia/default/1000@wowtailssalon.nebular.co.za:5060 [intcall]=[0] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 export(presence_data=x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN) 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN] EXECUTE sofia/default/1000@wowtailssalon.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0788049704;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1250 sofia/default/1000@wowtailssalon.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN] to event 2022-07-26 07:27:27.751509 [DEBUG] switch_channel.c:1250 sofia/default/1000@wowtailssalon.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||Wow Tails Salon(200456)|||^078.* // D083-MTN // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^078.* // D083-MTN] to event 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:27:27.751509 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0788049704 [66db1a30-0cb4-11ed-bd14-d3f1ef10c389] 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:4819 (sofia/default/0788049704) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_INIT (Cur 5 Tot 118042) 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0788049704) State INIT 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:90 sofia/default/0788049704 SOFIA INIT 2022-07-26 07:27:27.751509 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0788049704 2022-07-26 07:27:27.751509 [DEBUG] sofia_glue.c:1295 sofia/default/0788049704 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658797279 1658797280 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23168 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:40 sofia/default/0788049704 Standard INIT 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0788049704) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0788049704) State INIT going to sleep 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_ROUTING (Cur 5 Tot 118042) 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0788049704) State ROUTING 2022-07-26 07:27:27.751509 [DEBUG] mod_sofia.c:143 sofia/default/0788049704 SOFIA ROUTING 2022-07-26 07:27:27.751509 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0788049704) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0788049704) State ROUTING going to sleep 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 118042) 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0788049704) State CONSUME_MEDIA 2022-07-26 07:27:27.751509 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0788049704) State CONSUME_MEDIA going to sleep 2022-07-26 07:27:27.772184 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [calling][0] EXECUTE sofia/default/0160040462@41.160.32.115:5060 ring_ready() 2022-07-26 07:27:28.410673 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0160040462@41.160.32.115:5060! 2022-07-26 07:27:28.410673 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0160040462@41.160.32.115:5060! EXECUTE sofia/default/0160040462@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/297534@joshco.nebular.co.za^0114067300) 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[joshco.nebular.co.za] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[joshco.nebular.co.za] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0114067300.* // 0114067300 // 0.00000||||||DID|||41.160.32.115] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_channel.c:1250 sofia/default/0160040462@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[joshco.nebular.co.za] to event 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:27:28.410673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/297534@joshco.nebular.co.za [673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389] 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:4819 (sofia/default/297534@joshco.nebular.co.za) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_INIT (Cur 6 Tot 118043) 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:90 sofia/default/297534@joshco.nebular.co.za SOFIA INIT 2022-07-26 07:27:28.410673 [DEBUG] sofia_glue.c:1295 sofia/default/297534@joshco.nebular.co.za sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658788184 1658788185 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 32264 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 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:40 sofia/default/297534@joshco.nebular.co.za Standard INIT 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/297534@joshco.nebular.co.za) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/297534@joshco.nebular.co.za) State INIT going to sleep 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_ROUTING (Cur 6 Tot 118043) 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING 2022-07-26 07:27:28.410673 [DEBUG] mod_sofia.c:143 sofia/default/297534@joshco.nebular.co.za SOFIA ROUTING 2022-07-26 07:27:28.410673 [DEBUG] switch_ivr_originate.c:67 (sofia/default/297534@joshco.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/297534@joshco.nebular.co.za) State ROUTING going to sleep 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 118043) 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA 2022-07-26 07:27:28.410673 [DEBUG] switch_core_state_machine.c:662 (sofia/default/297534@joshco.nebular.co.za) State CONSUME_MEDIA going to sleep 2022-07-26 07:27:28.422552 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [calling][0] 2022-07-26 07:27:28.422552 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [early][180] 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [proceeding][180] 2022-07-26 07:27:28.624797 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/297534@joshco.nebular.co.za! 2022-07-26 07:27:28.624797 [DEBUG] switch_channel.c:3346 (sofia/default/297534@joshco.nebular.co.za) Callstate Change DOWN -> RINGING 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [completing][200] 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=3cxPS 2812279926030336 20164510392254465 IN IP4 156.38.249.181 s=3cxPS Audio call c=IN IP4 156.38.249.181 t=0 0 m=audio 9840 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 2022-07-26 07:27:28.624797 [DEBUG] sofia.c:7084 Channel sofia/default/297534@joshco.nebular.co.za entering state [ready][200] 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/297534@joshco.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:27:28.624797 [DEBUG] switch_core_codec.c:111 sofia/default/297534@joshco.nebular.co.za Original read codec set to PCMA:8 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:4767 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/297534@joshco.nebular.co.za] 156.38.231.107 port 32264 -> 156.38.249.181 port 9840 codec: 8 ms: 20 2022-07-26 07:27:28.624797 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7180 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf send payload to 101 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7187 sofia/default/297534@joshco.nebular.co.za Set 2833 dtmf receive payload to 101 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:7210 sofia/default/297534@joshco.nebular.co.za Set rtp dtmf delay to 40 2022-07-26 07:27:28.624797 [NOTICE] sofia.c:8218 Channel [sofia/default/297534@joshco.nebular.co.za] has been answered 2022-07-26 07:27:28.624797 [DEBUG] switch_channel.c:3773 (sofia/default/297534@joshco.nebular.co.za) Callstate Change RINGING -> ACTIVE 2022-07-26 07:27:28.624797 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0160040462@41.160.32.115:5060! 2022-07-26 07:27:28.624797 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0160040462@41.160.32.115:5060] 156.38.231.107 port 23920 -> 41.160.32.115 port 20614 codec: 8 ms: 20 2022-07-26 07:27:28.624797 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7180 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf send payload to 97 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7187 sofia/default/0160040462@41.160.32.115:5060 Set 2833 dtmf receive payload to 97 2022-07-26 07:27:28.647700 [DEBUG] switch_core_media.c:7210 sofia/default/0160040462@41.160.32.115:5060 Set rtp dtmf delay to 40 2022-07-26 07:27:28.647700 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0160040462@41.160.32.115:5060: v=0 o=FreeSWITCH 1658796528 1658796529 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23920 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 2022-07-26 07:27:28.647700 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0160040462@41.160.32.115:5060] has been answered 2022-07-26 07:27:28.647700 [DEBUG] switch_channel.c:3773 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE 2022-07-26 07:27:28.647700 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:27:28.647700 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/297534@joshco.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:27:28.647700 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 118043) 2022-07-26 07:27:28.647700 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA 2022-07-26 07:27:28.647700 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:27:28.652719 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [completed][200] 2022-07-26 07:27:28.830681 [DEBUG] switch_ivr_bridge.c:546 sofia/default/297534@joshco.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:28.850670 [DEBUG] switch_ivr.c:623 sofia/default/297534@joshco.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/297534@joshco.nebular.co.za sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:28.850670 [DEBUG] switch_scheduler.c:249 Added task 47240 switch_ivr_schedule_hangup (673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389) to run at 1658826448 2022-07-26 07:27:28.900685 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9840 to 156.38.231.105:9840 2022-07-26 07:27:28.924494 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:28.980659 [DEBUG] sofia.c:7084 Channel sofia/default/0160040462@41.160.32.115:5060 entering state [ready][200] 2022-07-26 07:27:31.000660 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [proceeding][183] 2022-07-26 07:27:31.000660 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 12451379330453 12451379330453 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20616 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0788049704 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-26 07:27:31.000660 [DEBUG] switch_core_codec.c:111 sofia/default/0788049704 Original read codec set to PCMA:8 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:4767 sofia/default/0788049704 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0788049704] 156.38.231.107 port 23168 -> 41.160.32.115 port 20616 codec: 8 ms: 20 2022-07-26 07:27:31.000660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7180 sofia/default/0788049704 Set 2833 dtmf send payload to 101 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7187 sofia/default/0788049704 Set 2833 dtmf receive payload to 101 2022-07-26 07:27:31.000660 [DEBUG] switch_core_media.c:7210 sofia/default/0788049704 Set rtp dtmf delay to 40 2022-07-26 07:27:31.000660 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0788049704! 2022-07-26 07:27:31.000660 [DEBUG] switch_channel.c:3474 (sofia/default/0788049704) Callstate Change DOWN -> EARLY 2022-07-26 07:27:31.000660 [INFO] switch_ivr_originate.c:3654 Sending early media 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1000@wowtailssalon.nebular.co.za:5060] 156.38.231.107 port 23288 -> 102.219.180.66 port 12542 codec: 18 ms: 20 2022-07-26 07:27:31.010661 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7180 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7187 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:27:31.010661 [DEBUG] switch_core_media.c:7210 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set rtp dtmf delay to 40 2022-07-26 07:27:31.010661 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1658797163 1658797164 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23288 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 2022-07-26 07:27:31.010661 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/1000@wowtailssalon.nebular.co.za:5060! 2022-07-26 07:27:31.010661 [DEBUG] switch_channel.c:3474 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2022-07-26 07:27:31.010661 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0788049704] 2022-07-26 07:27:31.010661 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0788049704) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:27:31.010661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788049704) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 118043) 2022-07-26 07:27:31.010661 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0788049704) State EXCHANGE_MEDIA 2022-07-26 07:27:31.010661 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:27:31.020672 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [early][183] 2022-07-26 07:27:31.140684 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:31.152519 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7f3f08a6ee20 0x7f3f08a6ee28 2022-07-26 07:27:31.152519 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7f3f08a6ee20 0x7f3f08a6ee28 2022-07-26 07:27:31.200682 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0788049704 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:31.221980 [DEBUG] switch_ivr.c:623 sofia/default/0788049704 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0788049704 sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:31.221980 [DEBUG] switch_scheduler.c:249 Added task 47241 switch_ivr_schedule_hangup (66db1a30-0cb4-11ed-bd14-d3f1ef10c389) to run at 1658826451 2022-07-26 07:27:33.180674 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [proceeding][180] 2022-07-26 07:27:33.180674 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0788049704! 2022-07-26 07:27:33.180674 [DEBUG] switch_channel.c:3346 (sofia/default/0788049704) Callstate Change EARLY -> RINGING 2022-07-26 07:27:33.300949 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:33.300949 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7f3f08a6eea0 0x7f3f08a6eea0 2022-07-26 07:27:33.300949 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7f3f08a6eea0 0x7f3f08a6eea0 2022-07-26 07:27:36.180994 [NOTICE] switch_channel.c:1104 New Channel sofia/default/172@mbvit.nebular.co.za:5060 [6be09b7c-0cb4-11ed-bd25-d3f1ef10c389] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_NEW (Cur 7 Tot 118044) 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:9873 sofia/default/172@mbvit.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20 64bit 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted. 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [received][100] 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20040 20040 IN IP4 102.219.180.66 s=SDP data c=IN IP4 102.219.180.66 t=0 0 m=audio 12544 RTP/AVP 18 0 8 9 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/172@mbvit.nebular.co.za:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels 2022-07-26 07:27:36.180994 [DEBUG] switch_core_codec.c:111 sofia/default/172@mbvit.nebular.co.za:5060 Original read codec set to G729:18 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:36.180994 [DEBUG] switch_core_media.c:4767 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:36.180994 [DEBUG] sofia.c:7507 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:603 (sofia/default/172@mbvit.nebular.co.za:5060) State NEW 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_INIT (Cur 7 Tot 118044) 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:627 (sofia/default/172@mbvit.nebular.co.za:5060) State INIT 2022-07-26 07:27:36.180994 [DEBUG] mod_sofia.c:90 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA INIT 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:40 sofia/default/172@mbvit.nebular.co.za:5060 Standard INIT 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:48 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:627 (sofia/default/172@mbvit.nebular.co.za:5060) State INIT going to sleep 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 7 Tot 118044) 2022-07-26 07:27:36.180994 [DEBUG] switch_channel.c:2249 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change DOWN -> RINGING 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:643 (sofia/default/172@mbvit.nebular.co.za:5060) State ROUTING 2022-07-26 07:27:36.180994 [DEBUG] mod_sofia.c:143 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA ROUTING 2022-07-26 07:27:36.180994 [DEBUG] switch_core_state_machine.c:236 sofia/default/172@mbvit.nebular.co.za:5060 Standard ROUTING 2022-07-26 07:27:36.180994 [INFO] mod_dialplan_xml.c:637 Processing Bonani | 172 <172>->0815399688 in context default 2022-07-26 07:27:36.180994 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ec81d1530 Connected. 2022-07-26 07:27:36.194914 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-07-26 07:27:36.230661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:27:36.290700 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2022-07-26 07:27:36.290700 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0815399688 2022-07-26 07:27:36.290700 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0815399688' limit 1 2022-07-26 07:27:36.360662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0815399688' AND status=0 limit 1 2022-07-26 07:27:36.441317 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0815399688' and status=0 LIMIT 1 2022-07-26 07:27:36.503898 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID 2022-07-26 07:27:36.503898 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : Bonani / 0103130001 2022-07-26 07:27:36.503898 [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 ="0815399688" LIMIT 1 2022-07-26 07:27:36.560675 [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="0815399688" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:27:36.620670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2022-07-26 07:27:36.620670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 862977] 2022-07-26 07:27:36.620670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "862977" AND deleted = 0 limit 1 2022-07-26 07:27:36.671552 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0815399688.*' OR blocked_patterns = '^081539968.*' OR blocked_patterns = '^08153996.*' OR blocked_patterns = '^0815399.*' OR blocked_patterns = '^081539.*' OR blocked_patterns = '^08153.*' OR blocked_patterns = '^0815.*' OR blocked_patterns = '^081.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 7 limit 1 2022-07-26 07:27:36.702001 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0815399688" AND (accountid = 0 OR status = 1) LIMIT 1 2022-07-26 07:27:36.760666 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2022-07-26 07:27:36.760666 [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 2022-07-26 07:27:36.800659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0815399688 2022-07-26 07:27:36.800659 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0815399688 2022-07-26 07:27:36.800659 [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 = '^0815399688.*' OR patterns = '^081539968.*' OR patterns = '^08153996.*' OR patterns = '^0815399.*' OR patterns = '^081539.*' OR patterns = '^08153.*' OR patterns = '^0815.*' OR patterns = '^081.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-07-26 07:27:36.822352 [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 ="0815399688" AND A.accountid = '7' limit 1 2022-07-26 07:27:36.865065 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0815399688 2022-07-26 07:27:36.865065 [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 ="0815399688" LIMIT 1 2022-07-26 07:27:36.902153 [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="0815399688" AND domains.domain="mbvit.nebular.co.za" limit 1 2022-07-26 07:27:36.943954 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound 2022-07-26 07:27:36.943954 [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 = '0815399688' OR number = '081539968' OR number = '08153996' OR number = '0815399' OR number = '081539' OR number = '08153' OR number = '0815' OR number = '081' OR number = '08' OR number = '0' OR number ='--') OR (number = '0815399688*' OR number = '081539968*' OR number = '08153996*' OR number = '0815399*' OR number = '081539*' OR number = '08153*' OR number = '0815*' OR number = '081*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '0103130001' OR number = '010313000' 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 = '0103130001*' OR number = '010313000*' 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 ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-07-26 07:27:37.000944 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2022-07-26 07:27:37.000944 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0815399688' OR routing_prefix = '081539968' OR routing_prefix = '08153996' OR routing_prefix = '0815399' OR routing_prefix = '081539' OR routing_prefix = '08153' OR routing_prefix = '0815' OR routing_prefix = '081' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2022-07-26 07:27:37.041966 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0815399688)!!!! 2022-07-26 07:27:37.041966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27815399688 2022-07-26 07:27:37.041966 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27815399688' limit 1 2022-07-26 07:27:37.090661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0815399688)!!!! 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 862977 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 2183.5994 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 81 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2022-07-26 07:27:37.121032 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....Bonani 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/".....0103130001 2022-07-26 07:27:37.121032 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:27:37.182369 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:27:37.182369 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 81 AND status = 0 2022-07-26 07:27:37.250655 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 81 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1802551 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.49000 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D004-TELKMOBL 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:27:37.311300 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your2183.5994 balance Accountid 7 !!! 2022-07-26 07:27:37.311300 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:27:37.311300 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2022-07-26 07:27:37.311300 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1 2022-07-26 07:27:37.345124 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0815399688.*' OR blocked_patterns = '^081539968.*' OR blocked_patterns = '^08153996.*' OR blocked_patterns = '^0815399.*' OR blocked_patterns = '^081539.*' OR blocked_patterns = '^08153.*' OR blocked_patterns = '^0815.*' OR blocked_patterns = '^081.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information =================== 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 5 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8566036685 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1985.0904 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-07-26 07:27:37.381894 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83 2022-07-26 07:27:37.381894 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:27:37.460669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2022-07-26 07:27:37.460669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:27:37.521123 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Direction : outbound 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426387 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D004-TELKMOBL 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 5 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your1985.0904 balance Accountid 5 !!! 2022-07-26 07:27:37.570766 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes 2022-07-26 07:27:37.570766 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1802551 2022-07-26 07:27:37.570766 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0 2022-07-26 07:27:37.570766 [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 2022-07-26 07:27:37.633429 [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 = '^0815399688.*' OR pattern = '^081539968.*' OR pattern = '^08153996.*' OR pattern = '^0815399.*' OR pattern = '^081539.*' OR pattern = '^08153.*' OR pattern = '^0815.*' OR pattern = '^081.*' OR pattern = '^08.*' 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 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.* 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.* 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid 2022-07-26 07:27:37.751165 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-07-26 07:27:37.751165 [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 = 7 AND status=0 LIMIT 1 2022-07-26 07:27:37.810661 [INFO] switch_cpp.cpp:1365 [ASTPP] Maxlength : 100 2022-07-26 07:27:37.810661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-26 07:27:37.852651 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1 2022-07-26 07:27:37.852651 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2022-07-26 07:27:37.852651 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0 2022-07-26 07:27:37.930657 [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 2022-07-26 07:27:37.980661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0815399688 2022-07-26 07:27:37.980661 [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 2022-07-26 07:27:38.022904 [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 ="0815399688" LIMIT 1 2022-07-26 07:27:38.080682 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2022-07-26 07:27:38.080682 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ec81d1530 released. Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 parsing [default->0815399688] continue=false Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Regex (PASS) [0815399688] destination_number(0815399688) =~ /0815399688/ break=on-false Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_destination_number=0815399688) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(callstart=2022-07-26 07:27:37) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(account_id=7) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(parent_id=5) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(entity_id=0) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(call_processed=internal) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(call_direction=outbound) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(accountname=default) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(origination_rates=ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(original_caller_id_name=Bonani) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(original_caller_id_number=0103130001) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action limit(db 862977 user_862977 5 ) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action limit(db 8566036685 user_8566036685 20 ) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_caller_id_name=Bonani) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(effective_caller_id_number=0103130001) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(calltype=STANDARD) Dialplan: sofia/default/172@mbvit.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/172@mbvit.nebular.co.za:5060 Action set(trunk_id=5) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(provider_id=3) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(rate_flag=0) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(force_trunk_flag=1802551) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action export(presence_data=trunk_id=5) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action set(intcall=0) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action export(presence_data=x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL) Dialplan: sofia/default/172@mbvit.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0815399688;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:286 (sofia/default/172@mbvit.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:643 (sofia/default/172@mbvit.nebular.co.za:5060) State ROUTING going to sleep 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:584 (sofia/default/172@mbvit.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 7 Tot 118044) 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:650 (sofia/default/172@mbvit.nebular.co.za:5060) State EXECUTE 2022-07-26 07:27:38.080682 [DEBUG] mod_sofia.c:198 sofia/default/172@mbvit.nebular.co.za:5060 SOFIA EXECUTE 2022-07-26 07:27:38.080682 [DEBUG] switch_core_state_machine.c:328 sofia/default/172@mbvit.nebular.co.za:5060 Standard EXECUTE EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_destination_number=0815399688) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_destination_number]=[0815399688] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(callstart=2022-07-26 07:27:37) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [callstart]=[2022-07-26 07:27:37] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(hangup_after_bridge=true) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [hangup_after_bridge]=[true] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(continue_on_fail=TRUE) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [continue_on_fail]=[TRUE] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(account_id=7) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [account_id]=[7] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(parent_id=5) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [parent_id]=[5] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(entity_id=0) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [entity_id]=[0] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(call_processed=internal) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [call_processed]=[internal] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(call_direction=outbound) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [call_direction]=[outbound] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(accountname=default) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [accountname]=[default] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(filename1=astpp.pbx.lua) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(origination_rates=ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [origination_rates]=[ID:1802551|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.49000|INC:1|INITIALBLOCK:1|RATEGROUP:81|MARKUP:0|CI:0|ACCID:7||ID:1426387|CODE:^0815.*|DESTINATION:D004-TELKMOBL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:5] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(original_caller_id_name=Bonani) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [original_caller_id_name]=[Bonani] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(original_caller_id_number=0103130001) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [original_caller_id_number]=[0103130001] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 limit(db 862977 user_862977 5 ) 2022-07-26 07:27:38.080682 [DEBUG] switch_limit.c:126 incr called: 862977_user_862977 max:5, interval:0 2022-07-26 07:27:38.080682 [DEBUG] mod_db.c:194 Usage for 862977_user_862977 is now 1/5 EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 limit(db 8566036685 user_8566036685 20 ) 2022-07-26 07:27:38.080682 [DEBUG] switch_limit.c:126 incr called: 8566036685_user_8566036685 max:20, interval:0 2022-07-26 07:27:38.080682 [DEBUG] mod_db.c:194 Usage for 8566036685_user_8566036685 is now 3/20 EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_caller_id_name=Bonani) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_caller_id_name]=[Bonani] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(effective_caller_id_number=0103130001) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [effective_caller_id_number]=[0103130001] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(calltype=STANDARD) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [calltype]=[STANDARD] EXECUTE sofia/default/172@mbvit.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) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.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/172@mbvit.nebular.co.za:5060 set(trunk_id=5) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [trunk_id]=[5] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(provider_id=3) 2022-07-26 07:27:38.080682 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [provider_id]=[3] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(rate_flag=0) 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [rate_flag]=[0] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(force_trunk_flag=1802551) 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [force_trunk_flag]=[1802551] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 export(presence_data=trunk_id=5) 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 set(intcall=0) 2022-07-26 07:27:38.092161 [DEBUG] mod_dptools.c:1548 SET sofia/default/172@mbvit.nebular.co.za:5060 [intcall]=[0] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 export(presence_data=x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL) 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL] EXECUTE sofia/default/172@mbvit.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/liquid_primary/0815399688;fs_path=sip:156.38.231.106:5060) 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1250 sofia/default/172@mbvit.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL] to event 2022-07-26 07:27:38.092161 [DEBUG] switch_channel.c:1250 sofia/default/172@mbvit.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//5|||MBV IT Office(862977)|||^0815.* // D004-TELKMOBL // 0.49000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||102.219.180.66|||0.29000 // ^0815.* // D004-TELKMOBL] to event 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2022-07-26 07:27:38.092161 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0815399688 [6d035076-0cb4-11ed-bd48-d3f1ef10c389] 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:4819 (sofia/default/0815399688) State Change CS_NEW -> CS_INIT 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_INIT (Cur 8 Tot 118045) 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0815399688) State INIT 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:90 sofia/default/0815399688 SOFIA INIT 2022-07-26 07:27:38.092161 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0815399688 2022-07-26 07:27:38.092161 [DEBUG] sofia_glue.c:1295 sofia/default/0815399688 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1658790248 1658790249 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 30210 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-16 a=ptime:20 a=sendrecv 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:40 sofia/default/0815399688 Standard INIT 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0815399688) State Change CS_INIT -> CS_ROUTING 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0815399688) State INIT going to sleep 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_ROUTING (Cur 8 Tot 118045) 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0815399688) State ROUTING 2022-07-26 07:27:38.092161 [DEBUG] mod_sofia.c:143 sofia/default/0815399688 SOFIA ROUTING 2022-07-26 07:27:38.092161 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0815399688) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0815399688) State ROUTING going to sleep 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 118045) 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0815399688) State CONSUME_MEDIA 2022-07-26 07:27:38.092161 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0815399688) State CONSUME_MEDIA going to sleep 2022-07-26 07:27:38.092161 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [calling][0] 2022-07-26 07:27:39.140669 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [completing][200] 2022-07-26 07:27:39.140669 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 12451379330453 12451379330453 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20616 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2022-07-26 07:27:39.160661 [DEBUG] sofia.c:7084 Channel sofia/default/0788049704 entering state [ready][200] 2022-07-26 07:27:39.160661 [NOTICE] sofia.c:8159 Channel [sofia/default/0788049704] has been answered 2022-07-26 07:27:39.160661 [DEBUG] switch_channel.c:3773 (sofia/default/0788049704) Callstate Change RINGING -> ACTIVE 2022-07-26 07:27:39.170666 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1000@wowtailssalon.nebular.co.za:5060. 2022-07-26 07:27:39.170666 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/1000@wowtailssalon.nebular.co.za:5060: v=0 o=FreeSWITCH 1658797163 1658797165 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 23288 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 2022-07-26 07:27:39.170666 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/1000@wowtailssalon.nebular.co.za:5060] has been answered 2022-07-26 07:27:39.170666 [DEBUG] switch_channel.c:3773 (sofia/default/1000@wowtailssalon.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE 2022-07-26 07:27:39.190668 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [completed][200] 2022-07-26 07:27:39.190668 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:27:39.220660 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:39.230662 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:39.230662 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [calling][0] 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:7084 Channel sofia/default/1000@wowtailssalon.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20006 20007 IN IP4 102.219.180.66 s=SDP data c=IN IP4 102.219.180.66 t=0 0 m=audio 12542 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 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:4767 sofia/default/1000@wowtailssalon.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:39.250677 [DEBUG] sofia.c:8061 Processing updated SDP 2022-07-26 07:27:39.250677 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1000@wowtailssalon.nebular.co.za:5060. 2022-07-26 07:27:41.410686 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [proceeding][183] 2022-07-26 07:27:41.410686 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=HuaweiSoftX3000 109272827094598 109272827094598 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20618 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 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0815399688 G729/8000 20 ms 160 samples 8000 bits 1 channels 2022-07-26 07:27:41.410686 [DEBUG] switch_core_codec.c:111 sofia/default/0815399688 Original read codec set to G729:18 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:4767 sofia/default/0815399688 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:41.410686 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0815399688] 156.38.231.107 port 30210 -> 41.160.32.115 port 20618 codec: 18 ms: 20 2022-07-26 07:27:41.420660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7180 sofia/default/0815399688 Set 2833 dtmf send payload to 101 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7187 sofia/default/0815399688 Set 2833 dtmf receive payload to 101 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:7210 sofia/default/0815399688 Set rtp dtmf delay to 40 2022-07-26 07:27:41.420660 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0815399688! 2022-07-26 07:27:41.420660 [DEBUG] switch_channel.c:3474 (sofia/default/0815399688) Callstate Change DOWN -> EARLY 2022-07-26 07:27:41.420660 [INFO] switch_ivr_originate.c:3654 Sending early media 2022-07-26 07:27:41.420660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/172@mbvit.nebular.co.za:5060] 156.38.231.107 port 17650 -> 102.219.180.66 port 12544 codec: 18 ms: 20 2022-07-26 07:27:41.420660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7180 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7187 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf receive payload to 101 2022-07-26 07:27:41.430663 [DEBUG] switch_core_media.c:7210 sofia/default/172@mbvit.nebular.co.za:5060 Set rtp dtmf delay to 40 2022-07-26 07:27:41.430663 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1658802811 1658802812 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17650 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 2022-07-26 07:27:41.430663 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/172@mbvit.nebular.co.za:5060! 2022-07-26 07:27:41.430663 [DEBUG] switch_channel.c:3474 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change RINGING -> EARLY 2022-07-26 07:27:41.430663 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0815399688] 2022-07-26 07:27:41.430663 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0815399688) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-07-26 07:27:41.430663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0815399688) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 118045) 2022-07-26 07:27:41.430663 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0815399688) State EXCHANGE_MEDIA 2022-07-26 07:27:41.430663 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2022-07-26 07:27:41.440680 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [early][183] 2022-07-26 07:27:41.531537 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:41.592672 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:41.622138 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0815399688 Bridge execute app sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:41.633256 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [proceeding][180] 2022-07-26 07:27:41.633256 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0815399688! 2022-07-26 07:27:41.633256 [DEBUG] switch_channel.c:3346 (sofia/default/0815399688) Callstate Change EARLY -> RINGING 2022-07-26 07:27:41.633256 [DEBUG] switch_ivr.c:623 sofia/default/0815399688 Command Execute sched_hangup(+6000 normal_clearing) EXECUTE sofia/default/0815399688 sched_hangup(+6000 normal_clearing) 2022-07-26 07:27:41.633256 [DEBUG] switch_scheduler.c:249 Added task 47242 switch_ivr_schedule_hangup (6d035076-0cb4-11ed-bd48-d3f1ef10c389) to run at 1658826461 2022-07-26 07:27:56.080661 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [completing][200] 2022-07-26 07:27:56.080661 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=HuaweiSoftX3000 109272827094598 109272827094598 IN IP4 41.160.32.115 s=- c=IN IP4 41.160.32.115 t=0 0 m=audio 20618 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 2022-07-26 07:27:56.100662 [DEBUG] sofia.c:7084 Channel sofia/default/0815399688 entering state [ready][200] 2022-07-26 07:27:56.100662 [NOTICE] sofia.c:8159 Channel [sofia/default/0815399688] has been answered 2022-07-26 07:27:56.100662 [DEBUG] switch_channel.c:3773 (sofia/default/0815399688) Callstate Change RINGING -> ACTIVE 2022-07-26 07:27:56.111065 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/172@mbvit.nebular.co.za:5060. 2022-07-26 07:27:56.111065 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/172@mbvit.nebular.co.za:5060: v=0 o=FreeSWITCH 1658802811 1658802813 IN IP4 156.38.231.107 s=FreeSWITCH c=IN IP4 156.38.231.107 t=0 0 m=audio 17650 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 2022-07-26 07:27:56.111065 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/172@mbvit.nebular.co.za:5060] has been answered 2022-07-26 07:27:56.111065 [DEBUG] switch_channel.c:3773 (sofia/default/172@mbvit.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE 2022-07-26 07:27:56.130682 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [completed][200] 2022-07-26 07:27:56.130682 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:27:56.151215 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:27:56.151215 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [calling][0] 2022-07-26 07:27:56.173002 [DEBUG] sofia.c:7084 Channel sofia/default/172@mbvit.nebular.co.za:5060 entering state [ready][200] 2022-07-26 07:27:56.173002 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=- 20040 20041 IN IP4 102.219.180.66 s=SDP data c=IN IP4 102.219.180.66 t=0 0 m=audio 12544 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 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1] 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:4767 sofia/default/172@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-26 07:27:56.190688 [DEBUG] sofia.c:8061 Processing updated SDP 2022-07-26 07:27:56.190688 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/172@mbvit.nebular.co.za:5060. 2022-07-26 07:27:56.500682 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2022-07-26 07:28:00.650673 [NOTICE] sofia.c:1012 Hangup sofia/default/27124713846@ecic.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124713846@ecic.nebular.co.za:5060] 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124713846@ecic.nebular.co.za:5060 ending bridge by request from write function 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0119368421] 2022-07-26 07:28:00.660679 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0119368421 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0119368421 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:28:00.660679 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124713846@ecic.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:28:00.660679 [DEBUG] switch_core_session.c:2815 sofia/default/27124713846@ecic.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713846@ecic.nebular.co.za:5060) State EXECUTE going to sleep 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 8 Tot 118045) 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124713846@ecic.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713846@ecic.nebular.co.za:5060) State HANGUP 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124713846@ecic.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713846@ecic.nebular.co.za:5060) State HANGUP going to sleep 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 8 Tot 118045) 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713846@ecic.nebular.co.za:5060) State REPORTING 2022-07-26 07:28:00.660679 [INFO] mod_json_cdr.c:271 Process [a8c05452-0cb3-11ed-bb54-d3f1ef10c389.cdr.json] 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0119368421) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_HANGUP (Cur 8 Tot 118045) 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0119368421) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:28:00.660679 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0119368421) State HANGUP 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:432 sofia/default/0119368421 Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:28:00.660679 [DEBUG] mod_sofia.c:438 Channel sofia/default/0119368421 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:28:00.670658 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0119368421 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:60 sofia/default/0119368421 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0119368421) State HANGUP going to sleep 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0119368421) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0119368421) Running State Change CS_REPORTING (Cur 8 Tot 118045) 2022-07-26 07:28:00.670658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0119368421) State REPORTING 2022-07-26 07:28:00.670658 [INFO] mod_json_cdr.c:271 Process [a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389.cdr.json] 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:174 sofia/default/0119368421 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0119368421) State REPORTING going to sleep 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0119368421) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:28:00.731998 [DEBUG] switch_core_session.c:1665 Session 118022 (sofia/default/0119368421) Locked, Waiting on external entities 2022-07-26 07:28:00.731998 [NOTICE] switch_core_session.c:1683 Session 118022 (sofia/default/0119368421) Ended 2022-07-26 07:28:00.731998 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0119368421 [CS_DESTROY] 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0119368421) Running State Change CS_DESTROY (Cur 7 Tot 118045) 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0119368421) State DESTROY 2022-07-26 07:28:00.731998 [DEBUG] mod_sofia.c:343 sofia/default/0119368421 SOFIA DESTROY 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7f3eb43236e0 0x7f3eb43236e8 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7f3eb43236e0 0x7f3eb43236e8 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7f3eb4323760 0x7f3eb4323760 2022-07-26 07:28:00.731998 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7f3eb4323760 0x7f3eb4323760 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:181 sofia/default/0119368421 Standard DESTROY 2022-07-26 07:28:00.731998 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0119368421) State DESTROY going to sleep 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713846@ecic.nebular.co.za:5060) State REPORTING going to sleep 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124713846@ecic.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:28:00.790658 [DEBUG] switch_core_session.c:1665 Session 118021 (sofia/default/27124713846@ecic.nebular.co.za:5060) Locked, Waiting on external entities 2022-07-26 07:28:00.790658 [NOTICE] switch_core_session.c:1683 Session 118021 (sofia/default/27124713846@ecic.nebular.co.za:5060) Ended 2022-07-26 07:28:00.790658 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124713846@ecic.nebular.co.za:5060 [CS_DESTROY] 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124713846@ecic.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 6 Tot 118045) 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713846@ecic.nebular.co.za:5060) State DESTROY 2022-07-26 07:28:00.790658 [DEBUG] mod_sofia.c:343 sofia/default/27124713846@ecic.nebular.co.za:5060 SOFIA DESTROY 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124713846@ecic.nebular.co.za:5060 Standard DESTROY 2022-07-26 07:28:00.790658 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713846@ecic.nebular.co.za:5060) State DESTROY going to sleep 2022-07-26 07:28:01.150672 [DEBUG] switch_scheduler.c:144 Deleting task 47233 switch_ivr_schedule_hangup (a9d17f4c-0cb3-11ed-bb79-d3f1ef10c389) 2022-07-26 07:28:52.720729 [NOTICE] sofia.c:1012 Hangup sofia/default/0160040462@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0160040462@41.160.32.115:5060] 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0160040462@41.160.32.115:5060 ending bridge by request from write function 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/297534@joshco.nebular.co.za] 2022-07-26 07:28:52.730676 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/297534@joshco.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/297534@joshco.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:28:52.730676 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0160040462@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_session.c:2815 sofia/default/0160040462@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0160040462@41.160.32.115:5060) State EXECUTE going to sleep 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 6 Tot 118045) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0160040462@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0160040462@41.160.32.115:5060) State HANGUP 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:438 Channel sofia/default/0160040462@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:60 sofia/default/0160040462@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0160040462@41.160.32.115:5060) State HANGUP going to sleep 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:653 (sofia/default/297534@joshco.nebular.co.za) State EXCHANGE_MEDIA going to sleep 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_HANGUP (Cur 6 Tot 118045) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 6 Tot 118045) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0160040462@41.160.32.115:5060) State REPORTING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/297534@joshco.nebular.co.za) Callstate Change ACTIVE -> HANGUP 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:432 sofia/default/297534@joshco.nebular.co.za Overriding SIP cause 480 with 200 from the other leg 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:438 Channel sofia/default/297534@joshco.nebular.co.za hanging up, cause: NORMAL_CLEARING 2022-07-26 07:28:52.730676 [INFO] mod_json_cdr.c:271 Process [65bff0c6-0cb4-11ed-bcce-d3f1ef10c389.cdr.json] 2022-07-26 07:28:52.730676 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/297534@joshco.nebular.co.za 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:60 sofia/default/297534@joshco.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/297534@joshco.nebular.co.za) State HANGUP going to sleep 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/297534@joshco.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_REPORTING (Cur 6 Tot 118045) 2022-07-26 07:28:52.730676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING 2022-07-26 07:28:52.730676 [INFO] mod_json_cdr.c:271 Process [673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389.cdr.json] 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:174 sofia/default/297534@joshco.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:938 (sofia/default/297534@joshco.nebular.co.za) State REPORTING going to sleep 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:610 (sofia/default/297534@joshco.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:28:52.793069 [DEBUG] switch_core_session.c:1665 Session 118043 (sofia/default/297534@joshco.nebular.co.za) Locked, Waiting on external entities 2022-07-26 07:28:52.793069 [NOTICE] switch_core_session.c:1683 Session 118043 (sofia/default/297534@joshco.nebular.co.za) Ended 2022-07-26 07:28:52.793069 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/297534@joshco.nebular.co.za [CS_DESTROY] 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:741 (sofia/default/297534@joshco.nebular.co.za) Running State Change CS_DESTROY (Cur 5 Tot 118045) 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY 2022-07-26 07:28:52.793069 [DEBUG] mod_sofia.c:343 sofia/default/297534@joshco.nebular.co.za SOFIA DESTROY 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:181 sofia/default/297534@joshco.nebular.co.za Standard DESTROY 2022-07-26 07:28:52.793069 [DEBUG] switch_core_state_machine.c:751 (sofia/default/297534@joshco.nebular.co.za) State DESTROY going to sleep 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:174 sofia/default/0160040462@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0160040462@41.160.32.115:5060) State REPORTING going to sleep 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0160040462@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-26 07:28:52.850661 [DEBUG] switch_core_session.c:1665 Session 118040 (sofia/default/0160040462@41.160.32.115:5060) Locked, Waiting on external entities 2022-07-26 07:28:52.850661 [NOTICE] switch_core_session.c:1683 Session 118040 (sofia/default/0160040462@41.160.32.115:5060) Ended 2022-07-26 07:28:52.850661 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0160040462@41.160.32.115:5060 [CS_DESTROY] 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0160040462@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 4 Tot 118045) 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0160040462@41.160.32.115:5060) State DESTROY 2022-07-26 07:28:52.850661 [DEBUG] mod_sofia.c:343 sofia/default/0160040462@41.160.32.115:5060 SOFIA DESTROY 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:181 sofia/default/0160040462@41.160.32.115:5060 Standard DESTROY 2022-07-26 07:28:52.850661 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0160040462@41.160.32.115:5060) State DESTROY going to sleep 2022-07-26 07:28:53.210664 [DEBUG] switch_scheduler.c:144 Deleting task 47240 switch_ivr_schedule_hangup (673e3ffc-0cb4-11ed-bd1d-d3f1ef10c389) freeswitch@primary> /exit