From Bistre Crocodile, 9 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-03-19 14:48:31.744167 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0608899793@41.160.32.115:5060 [c14cf3e6-e5ff-11ee-8041-d17fbcf33421]
  2. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_NEW (Cur 41 Tot 535908)
  3. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:9873 sofia/default/0608899793@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  4. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  5. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [received][100]
  6. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7094 Remote SDP:
  7. v=0                                                                                                                                                                                                                
  8. o=HuaweiSoftX3000 118864263930142 118864263930142 IN IP4 41.160.32.115                                                                                                                                            
  9. s=-                                                                                                                                                                                                                
  10. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  11. t=0 0                                                                                                                                                                                                              
  12. m=audio 22134 RTP/AVP 18 8 0 96                                                                                                                                                                                    
  13. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  14. a=fmtp:18 annexb=no                                                                                                                                                                                                
  15. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  16. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  17. a=rtpmap:96 telephone-event/8000                                                                                                                                                                                  
  18. a=fmtp:96 0-15                                                                                                                                                                                                    
  19. a=ptime:20                                                                                                                                                                                                        
  20.  
  21. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  22. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  23. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  24. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  25. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  26. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  28. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  29. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  33. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 96@8000
  38. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0608899793@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_codec.c:111 sofia/default/0608899793@41.160.32.115:5060 Original read codec set to G729:18
  40. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 96@8000
  41. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_media.c:4767 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 96 recv payload to 96
  42. 2024-03-19 14:48:31.744167 [DEBUG] sofia.c:7507 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  43. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0608899793@41.160.32.115:5060) State NEW
  44. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_INIT (Cur 41 Tot 535908)
  45. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT
  46. 2024-03-19 14:48:31.744167 [DEBUG] mod_sofia.c:90 sofia/default/0608899793@41.160.32.115:5060 SOFIA INIT
  47. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:40 sofia/default/0608899793@41.160.32.115:5060 Standard INIT
  48. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  49. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT going to sleep
  50. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 41 Tot 535908)
  51. 2024-03-19 14:48:31.744167 [DEBUG] switch_channel.c:2249 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  52. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING
  53. 2024-03-19 14:48:31.744167 [DEBUG] mod_sofia.c:143 sofia/default/0608899793@41.160.32.115:5060 SOFIA ROUTING
  54. 2024-03-19 14:48:31.744167 [DEBUG] switch_core_state_machine.c:236 sofia/default/0608899793@41.160.32.115:5060 Standard ROUTING
  55. 2024-03-19 14:48:31.744167 [INFO] mod_dialplan_xml.c:637 Processing 0608899793 <0608899793>->D9570514333281 in context default
  56. 2024-03-19 14:48:31.744167 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  57. 2024-03-19 14:48:31.744167 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  60. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570514333281
  61. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570514333281' limit 1
  62. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570514333281' AND status=0 limit 1
  63. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570514333281' and status=0 LIMIT 1                                                                                                                                                                                                      
  64. 2024-03-19 14:48:31.764163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  65. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0608899793 / <null>
  66. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570514333281" LIMIT 1                                                                                                                                                          
  67. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570514333281"  AND domains.domain="156.38.231.106" limit 1                                                                                            
  68. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  69. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  70. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  71. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570514333281.*' OR blocked_patterns = '^D957051433328.*' OR blocked_patterns = '^D95705143332.*' OR blocked_patterns = '^D9570514333.*' OR blocked_patterns = '^D957051433.*' OR blocked_patterns = '^D95705143.*' OR blocked_patterns = '^D9570514.*' OR blocked_patterns = '^D957051.*' OR blocked_patterns = '^D95705.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1                                                                                                                                                                        
  72. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570514333281" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  74. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  75. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570514333281
  76. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570514333281
  77. 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570514333281
  78. 2024-03-19 14:48:31.764163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0514333281
  79. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0514333281.*' OR patterns = '^051433328.*' OR patterns = '^05143332.*' OR patterns = '^0514333.*' OR patterns = '^051433.*' OR patterns = '^05143.*' OR patterns = '^0514.*' OR patterns = '^051.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                          
  80. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0514333281" AND A.accountid = '3' limit 1                                                                                                                                                                          
  81. 2024-03-19 14:48:31.764163 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0514333281
  82. 2024-03-19 14:48:31.764163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0514333281" LIMIT 1                                                                                                                                                              
  83. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  84. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0514333281' OR number = '051433328' OR number = '05143332' OR number = '0514333' OR number = '051433' OR number = '05143' OR number = '0514' OR number = '051' OR number = '05' OR number = '0' OR number ='--') OR (number = '0514333281*' OR number = '051433328*' OR number = '05143332*' OR number = '0514333*' OR number = '051433*' OR number = '05143*' OR number = '0514*' OR number = '051*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  85. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  86. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0514333281' OR routing_prefix = '051433328' OR routing_prefix = '05143332' OR routing_prefix = '0514333' OR routing_prefix = '051433' OR routing_prefix = '05143' OR routing_prefix = '0514' OR routing_prefix = '051' OR routing_prefix = '05' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                      
  87. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  88. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  89. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  90. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  91. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  92. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  93. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  94. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  95. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  96. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  97. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0514333281" LIMIT 1                                                                                                                                                              
  98. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  99. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  100. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7077
  101. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  102. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  103. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  104. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0514333281
  105. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  106. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  107. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  108. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  109. 2024-03-19 14:48:31.784183 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  110. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  111. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  112. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  113. 2024-03-19 14:48:31.784183 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  114. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++103
  115. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "103" AND deleted = 0 limit 1
  116. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  117. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  118. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  119. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  120. 2024-03-19 14:48:31.784183 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : saws.nebular.co.za
  121. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  122. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  124. 2024-03-19 14:48:31.784183 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  125. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0608899793
  126. 2024-03-19 14:48:31.784183 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0608899793
  127. 2024-03-19 14:48:31.784183 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27608899793
  128. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  129. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  130. 2024-03-19 14:48:31.784183 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za
  131. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  132. 2024-03-19 14:48:31.784183 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4128603434"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  133. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1045 limit 1
  134. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  135. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  136. 2024-03-19 14:48:31.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za
  137. 2024-03-19 14:48:31.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  138. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  139. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  140. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='4128603434' and uuid = 'c14cf3e6-e5ff-11ee-8041-d17fbcf33421' order by id desc limit 1                                                                                                                                                            
  141. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='4128603434' order by id desc limit 1
  142. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4128603434"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  143. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1045 limit 1
  144. 2024-03-19 14:48:31.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  145. <document type="freeswitch/xml">                                                                                                                                                                                  
  146. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  147. <context name="default">                                                                                                                                                                                          
  148. <extension name="0514333281">                                                                                                                                                                                      
  149. <condition field="destination_number" expression="D9570514333281">                                                                                                                                                
  150. <action application="set" data="effective_destination_number=0514333281"/>                                                                                                                                        
  151. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  152. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  153. <action application="set" data="callstart=2024-03-19 14:48:31"/>                                                                                                                                                  
  154. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  155. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  156. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  157. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  158. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  159. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  160. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  161. <action application="set" data="accountname=default"/>                                                                                                                                                            
  162. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  163. <action application="set" data="origination_rates_did=ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103"/>                                                                                                                                                                                                      
  164. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  165. <action application="set" data="original_caller_id_name=0608899793"/>                                                                                                                                              
  166. <action application="set" data="effective_caller_id_name=27608899793"/>                                                                                                                                            
  167. <action application="set" data="receiver_accid=103"/>                                                                                                                                                              
  168. <action application="export" data="domain_name=saws.nebular.co.za"/>                                                                                                                                              
  169. <action application="export" data="sip_to_host=saws.nebular.co.za"/>                                                                                                                                              
  170. <action application="export" data="presence_data=x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  171. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  172. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  173. <action application="db" data="insert/pickup_any_group_${callgroup}/4128603434/${uuid}"/>                                                                                                                          
  174. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  175. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  176. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  177. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  178. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  179. <action application="export" data="did_user_domain=saws.nebular.co.za"/>                                                                                                                                          
  180. <action application="sleep" data="1000"/>                                                                                                                                                                          
  181. <action application="ring_ready"/>                                                                                                                                                                                
  182. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/4128603434@saws.nebular.co.za^0514333281"/>                                                          
  183. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  184. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  185. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  186. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  187. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  188. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  189. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  190. <action application="set" data="variable_sip_to_host=saws.nebular.co.za"/>                                                                                                                                        
  191. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  192. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  193. <action application="set" data="userinfo_id=103"/>                                                                                                                                                                
  194. <action application="set" data="sip_destination_number=4128603434"/>                                                                                                                                              
  195. <action application="set" data="destination_number=0514333281"/>                                                                                                                                                  
  196. <action application="set" data="did_number=0514333281"/>                                                                                                                                                          
  197. <action application="set" data="user_domain=saws.nebular.co.za"/>                                                                                                                                                  
  198. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  199. <condition field="${cond(${user_data 4128603434@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  200. <action application="answer"/>                                                                                                                                                                                    
  201. <action application="export" data="voicemail_alternate_greet_id=0514333281"/>                                                                                                                                      
  202. <action application="voicemail" data="default $${domain_name} 4128603434"/>                                                                                                                                        
  203. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  204. </condition>                                                                                                                                                                                                      
  205. </condition>                                                                                                                                                                                                      
  206. </extension>                                                                                                                                                                                                      
  207. </context>                                                                                                                                                                                                        
  208. </section>                                                                                                                                                                                                        
  209. </document>                                                                                                                                                                                                        
  210. 2024-03-19 14:48:31.804189 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  211. Dialplan: sofia/default/0608899793@41.160.32.115:5060 parsing [default->0514333281] continue=false
  212. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (PASS) [0514333281] destination_number(D9570514333281) =~ /D9570514333281/ break=on-false
  213. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_destination_number=0514333281)
  214. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  215. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  216. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:31)
  217. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  218. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  219. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(account_id=3)
  220. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(parent_id=0)
  221. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(entity_id=3)
  222. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_processed=internal)
  223. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_direction=inbound)
  224. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(accountname=default)
  225. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  226. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates_did=ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                      
  227. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates=0)
  228. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(original_caller_id_name=0608899793)
  229. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_caller_id_name=27608899793)
  230. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(receiver_accid=103)
  231. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za)
  232. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za)
  233. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115)
  234. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(call_type=5)
  235. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(calltype=SIP-DID)
  236. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/4128603434/${uuid})
  237. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  238. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  239. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  240. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  241. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  242. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za)
  243. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action sleep(1000)
  244. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action ring_ready()
  245. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/4128603434@saws.nebular.co.za^0514333281)
  246. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_flag=1)
  247. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_destination=)
  248. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_flag=1)
  249. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_destination=)
  250. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_flag=1)
  251. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_destination=)
  252. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_flag=0)
  253. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za)
  254. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  255. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(leg_timeout=20)
  256. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(userinfo_id=103)
  257. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(sip_destination_number=4128603434)
  258. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(destination_number=0514333281)
  259. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(did_number=0514333281)
  260. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za)
  261. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  262. |--- Dialplan: Processing recursive conditions level:1 [0514333281_recur_1] require-nested=TRUE
  263. |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (FAIL) [0514333281_recur_1] ${cond(${user_data 4128603434@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  264. |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  265. 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  266. 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING going to sleep
  267. 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 41 Tot 535908)
  268. 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE
  269. 2024-03-19 14:48:31.844157 [DEBUG] mod_sofia.c:198 sofia/default/0608899793@41.160.32.115:5060 SOFIA EXECUTE
  270. 2024-03-19 14:48:31.844157 [DEBUG] switch_core_state_machine.c:328 sofia/default/0608899793@41.160.32.115:5060 Standard EXECUTE
  271. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_destination_number=0514333281)
  272. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_destination_number]=[0514333281]
  273. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  274. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  275. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  276. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  277. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(callstart=2024-03-19 14:48:31)
  278. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:31]
  279. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true)
  280. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true]
  281. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(continue_on_fail=TRUE)
  282. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  283. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(account_id=3)
  284. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [account_id]=[3]
  285. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(parent_id=0)
  286. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [parent_id]=[0]
  287. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(entity_id=3)
  288. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [entity_id]=[3]
  289. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_processed=internal)
  290. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_processed]=[internal]
  291. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_direction=inbound)
  292. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_direction]=[inbound]
  293. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(accountname=default)
  294. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [accountname]=[default]
  295. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  296. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  297. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates_did=ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                                
  298. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates_did]=[ID:7077|CODE:^0514333281.*|DESTINATION:0514333281|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103]                                                                                                                              
  299. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates=0)
  300. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates]=[0]
  301. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(original_caller_id_name=0608899793)
  302. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [original_caller_id_name]=[0608899793]
  303. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_caller_id_name=27608899793)
  304. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_caller_id_name]=[27608899793]
  305. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(receiver_accid=103)
  306. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [receiver_accid]=[103]
  307. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(domain_name=saws.nebular.co.za)
  308. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za]
  309. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za)
  310. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za]
  311. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115)
  312. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115]
  313. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(call_type=5)
  314. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  315. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(calltype=SIP-DID)
  316. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [calltype]=[SIP-DID]
  317. EXECUTE sofia/default/0608899793@41.160.32.115:5060 db(insert/pickup_any_group_/4128603434/c14cf3e6-e5ff-11ee-8041-d17fbcf33421)
  318. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(dialed_extension=transfer_call)
  319. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  320. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(dialed_extension=transfer_call)
  321. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  322. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  323. 2024-03-19 14:48:31.844157 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  324. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  325. 2024-03-19 14:48:31.844157 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  326. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true)
  327. 2024-03-19 14:48:31.844157 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true]
  328. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za)
  329. 2024-03-19 14:48:31.844157 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za]
  330. EXECUTE sofia/default/0608899793@41.160.32.115:5060 sleep(1000)
  331. 2024-03-19 14:48:32.404177 [DEBUG] sofia.c:7084 Channel sofia/default/0836750187 entering state [proceeding][183]
  332. 2024-03-19 14:48:32.404177 [DEBUG] sofia.c:7094 Remote SDP:
  333. v=0                                                                                                                                                                                                                
  334. o=HuaweiSoftX3000 104433173816254 104433173816254 IN IP4 41.160.32.115                                                                                                                                            
  335. s=-                                                                                                                                                                                                                
  336. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  337. t=0 0                                                                                                                                                                                                              
  338. m=audio 22132 RTP/AVP 8 101                                                                                                                                                                                        
  339. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  340. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  341. a=fmtp:101 0-15                                                                                                                                                                                                    
  342. a=ptime:20                                                                                                                                                                                                        
  343.  
  344. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  345. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  346. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  347. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  348. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  349. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0836750187 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  350. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_codec.c:111 sofia/default/0836750187 Original read codec set to PCMA:8
  351. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  352. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:4767 sofia/default/0836750187 Set 2833 dtmf send payload to 101 recv payload to 101
  353. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0836750187] 156.38.231.107 port 24308 -> 41.160.32.115 port 22132 codec: 8 ms: 20
  354. 2024-03-19 14:48:32.404177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  355. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7180 sofia/default/0836750187 Set 2833 dtmf send payload to 101
  356. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7187 sofia/default/0836750187 Set 2833 dtmf receive payload to 101
  357. 2024-03-19 14:48:32.404177 [DEBUG] switch_core_media.c:7210 sofia/default/0836750187 Set rtp dtmf delay to 40
  358. 2024-03-19 14:48:32.404177 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0836750187!
  359. 2024-03-19 14:48:32.424165 [DEBUG] switch_channel.c:3474 (sofia/default/0836750187) Callstate Change DOWN -> EARLY
  360. 2024-03-19 14:48:32.424165 [INFO] switch_ivr_originate.c:3654 Sending early media
  361. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0103130000@mbvit.nebular.co.za:5060] 156.38.231.107 port 30732 -> 156.38.249.181 port 9068 codec: 8 ms: 20
  362. 2024-03-19 14:48:32.424165 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  363. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7180 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  364. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7187 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  365. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_media.c:7210 sofia/default/0103130000@mbvit.nebular.co.za:5060 Set rtp dtmf delay to 40
  366. 2024-03-19 14:48:32.424165 [DEBUG] mod_sofia.c:2364 Ring SDP:
  367. v=0                                                                                                                                                                                                                
  368. o=FreeSWITCH 1710828980 1710828981 IN IP4 156.38.231.107                                                                                                                                                          
  369. s=FreeSWITCH                                                                                                                                                                                                      
  370. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  371. t=0 0                                                                                                                                                                                                              
  372. m=audio 30732 RTP/AVP 8 101                                                                                                                                                                                        
  373. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  374. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  375. a=fmtp:101 0-16                                                                                                                                                                                                    
  376. a=ptime:20                                                                                                                                                                                                        
  377. a=sendrecv                                                                                                                                                                                                        
  378.  
  379. 2024-03-19 14:48:32.424165 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0103130000@mbvit.nebular.co.za:5060!
  380. 2024-03-19 14:48:32.424165 [DEBUG] switch_channel.c:3474 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  381. 2024-03-19 14:48:32.424165 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0836750187]
  382. 2024-03-19 14:48:32.424165 [DEBUG] sofia.c:7084 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 entering state [early][183]
  383. 2024-03-19 14:48:32.424165 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0836750187) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  384. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_EXCHANGE_MEDIA (Cur 41 Tot 535908)
  385. 2024-03-19 14:48:32.424165 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836750187) State EXCHANGE_MEDIA
  386. 2024-03-19 14:48:32.424165 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  387. 2024-03-19 14:48:32.604172 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0836750187 Bridge execute app sched_hangup(+6000 normal_clearing)
  388. 2024-03-19 14:48:32.624178 [DEBUG] switch_ivr.c:623 sofia/default/0836750187 Command Execute sched_hangup(+6000 normal_clearing)
  389. EXECUTE sofia/default/0836750187 sched_hangup(+6000 normal_clearing)
  390. 2024-03-19 14:48:32.624178 [DEBUG] switch_scheduler.c:249 Added task 216734 switch_ivr_schedule_hangup (c021f2fa-e5ff-11ee-803d-d17fbcf33421) to run at 1710865712
  391. 2024-03-19 14:48:32.704175 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.249.181:9068 to 156.38.231.105:9068
  392. EXECUTE sofia/default/0608899793@41.160.32.115:5060 ring_ready()
  393. 2024-03-19 14:48:32.864158 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0608899793@41.160.32.115:5060!
  394. 2024-03-19 14:48:32.864158 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [early][180]
  395. 2024-03-19 14:48:32.864158 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0608899793@41.160.32.115:5060!
  396. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/4128603434@saws.nebular.co.za^0514333281)
  397. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event
  398. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event
  399. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0514333281.* // 0514333281 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                      
  400. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  401. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  402. 2024-03-19 14:48:32.864158 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event
  403. 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  404. 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  405. 2024-03-19 14:48:32.864158 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4128603434@saws.nebular.co.za [c1f72276-e5ff-11ee-806b-d17fbcf33421]
  406. 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:4819 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_NEW -> CS_INIT
  407. 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:2963 sofia/default/4128603434@saws.nebular.co.za Setting leg timeout to 30
  408. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_INIT (Cur 42 Tot 535909)
  409. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4128603434@saws.nebular.co.za) State INIT
  410. 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:90 sofia/default/4128603434@saws.nebular.co.za SOFIA INIT
  411. 2024-03-19 14:48:32.864158 [DEBUG] sofia_glue.c:1295 sofia/default/4128603434@saws.nebular.co.za sending invite version: 1.6.20  64bit
  412. Local SDP:                                                                                                                                                                                                        
  413. v=0                                                                                                                                                                                                                
  414. o=FreeSWITCH 1710842096 1710842097 IN IP4 156.38.231.107                                                                                                                                                          
  415. s=FreeSWITCH                                                                                                                                                                                                      
  416. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  417. t=0 0                                                                                                                                                                                                              
  418. m=audio 17616 RTP/AVP 18 101                                                                                                                                                                                      
  419. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  420. a=fmtp:18 annexb=no                                                                                                                                                                                                
  421. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  422. a=fmtp:101 0-16                                                                                                                                                                                                    
  423. a=ptime:20                                                                                                                                                                                                        
  424. a=sendrecv                                                                                                                                                                                                        
  425.  
  426. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:40 sofia/default/4128603434@saws.nebular.co.za Standard INIT
  427. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  428. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4128603434@saws.nebular.co.za) State INIT going to sleep
  429. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 42 Tot 535909)
  430. 2024-03-19 14:48:32.864158 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [calling][0]
  431. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4128603434@saws.nebular.co.za) State ROUTING
  432. 2024-03-19 14:48:32.864158 [DEBUG] mod_sofia.c:143 sofia/default/4128603434@saws.nebular.co.za SOFIA ROUTING
  433. 2024-03-19 14:48:32.864158 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  434. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4128603434@saws.nebular.co.za) State ROUTING going to sleep
  435. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 42 Tot 535909)
  436. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4128603434@saws.nebular.co.za) State CONSUME_MEDIA
  437. 2024-03-19 14:48:32.864158 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4128603434@saws.nebular.co.za) State CONSUME_MEDIA going to sleep
  438. 2024-03-19 14:48:33.004188 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [proceeding][180]
  439. 2024-03-19 14:48:33.004188 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4128603434@saws.nebular.co.za!
  440. 2024-03-19 14:48:33.004188 [DEBUG] switch_channel.c:3346 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change DOWN -> RINGING
  441. 2024-03-19 14:48:33.024161 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0608899793@41.160.32.115:5060!
  442. 2024-03-19 14:48:33.044172 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [proceeding][183]
  443. 2024-03-19 14:48:33.044172 [DEBUG] sofia.c:7094 Remote SDP:
  444. v=0                                                                                                                                                                                                                
  445. o=HuaweiSoftX3000 41155420644927 41155420644927 IN IP4 41.160.32.115                                                                                                                                              
  446. s=-                                                                                                                                                                                                                
  447. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  448. t=0 0                                                                                                                                                                                                              
  449. m=audio 22130 RTP/AVP 8 101                                                                                                                                                                                        
  450. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  451. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  452. a=fmtp:101 0-15                                                                                                                                                                                                    
  453. a=ptime:20                                                                                                                                                                                                        
  454.  
  455. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  456. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  457. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  458. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  459. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  460. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0797964625 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  461. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_codec.c:111 sofia/default/0797964625 Original read codec set to PCMA:8
  462. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  463. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:4767 sofia/default/0797964625 Set 2833 dtmf send payload to 101 recv payload to 101
  464. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0797964625] 156.38.231.107 port 23528 -> 41.160.32.115 port 22130 codec: 8 ms: 20
  465. 2024-03-19 14:48:33.044172 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  466. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7180 sofia/default/0797964625 Set 2833 dtmf send payload to 101
  467. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7187 sofia/default/0797964625 Set 2833 dtmf receive payload to 101
  468. 2024-03-19 14:48:33.044172 [DEBUG] switch_core_media.c:7210 sofia/default/0797964625 Set rtp dtmf delay to 40
  469. 2024-03-19 14:48:33.044172 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0797964625!
  470. 2024-03-19 14:48:33.064177 [DEBUG] switch_channel.c:3474 (sofia/default/0797964625) Callstate Change DOWN -> EARLY
  471. 2024-03-19 14:48:33.064177 [INFO] switch_ivr_originate.c:3654 Sending early media
  472. 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0333942190@legalaidsa.nebular.co.za:5060] 156.38.231.107 port 17760 -> 156.38.150.6 port 9650 codec: 8 ms: 20
  473. 2024-03-19 14:48:33.064177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  474. 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7180 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  475. 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7187 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  476. 2024-03-19 14:48:33.064177 [DEBUG] switch_core_media.c:7210 sofia/default/0333942190@legalaidsa.nebular.co.za:5060 Set rtp dtmf delay to 40
  477. 2024-03-19 14:48:33.064177 [DEBUG] mod_sofia.c:2364 Ring SDP:
  478. v=0                                                                                                                                                                                                                
  479. o=FreeSWITCH 1710841953 1710841954 IN IP4 156.38.231.107                                                                                                                                                          
  480. s=FreeSWITCH                                                                                                                                                                                                      
  481. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  482. t=0 0                                                                                                                                                                                                              
  483. m=audio 17760 RTP/AVP 8 101                                                                                                                                                                                        
  484. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  485. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  486. a=fmtp:101 0-16                                                                                                                                                                                                    
  487. a=ptime:20                                                                                                                                                                                                        
  488. a=sendrecv                                                                                                                                                                                                        
  489.  
  490. 2024-03-19 14:48:33.064177 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0333942190@legalaidsa.nebular.co.za:5060!
  491. 2024-03-19 14:48:33.064177 [DEBUG] switch_channel.c:3474 (sofia/default/0333942190@legalaidsa.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  492. 2024-03-19 14:48:33.064177 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0797964625]
  493. 2024-03-19 14:48:33.064177 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [early][183]
  494. 2024-03-19 14:48:33.084303 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0797964625) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  495. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0797964625) Running State Change CS_EXCHANGE_MEDIA (Cur 42 Tot 535909)
  496. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0797964625) State EXCHANGE_MEDIA
  497. 2024-03-19 14:48:33.084303 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  498. 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [completing][200]
  499. 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7094 Remote SDP:
  500. v=0                                                                                                                                                                                                                
  501. o=3cxPS 435368755200 183777624065 IN IP4 156.38.150.5                                                                                                                                                              
  502. s=3cxPS Audio call                                                                                                                                                                                                
  503. c=IN IP4 156.38.150.5                                                                                                                                                                                              
  504. t=0 0                                                                                                                                                                                                              
  505. m=audio 9566 RTP/AVP 18 101                                                                                                                                                                                        
  506. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  507. a=fmtp:18 annexb=no                                                                                                                                                                                                
  508. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  509.  
  510. 2024-03-19 14:48:33.084303 [DEBUG] sofia.c:7084 Channel sofia/default/4128603434@saws.nebular.co.za entering state [ready][200]
  511. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  512. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  513. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  514. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4128603434@saws.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  515. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_codec.c:111 sofia/default/4128603434@saws.nebular.co.za Original read codec set to G729:18
  516. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  517. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:4767 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  518. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4128603434@saws.nebular.co.za] 156.38.231.107 port 17616 -> 156.38.150.5 port 9566 codec: 18 ms: 20
  519. 2024-03-19 14:48:33.084303 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  520. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7180 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf send payload to 101
  521. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7187 sofia/default/4128603434@saws.nebular.co.za Set 2833 dtmf receive payload to 101
  522. 2024-03-19 14:48:33.084303 [DEBUG] switch_core_media.c:7210 sofia/default/4128603434@saws.nebular.co.za Set rtp dtmf delay to 40
  523. 2024-03-19 14:48:33.084303 [NOTICE] sofia.c:8218 Channel [sofia/default/4128603434@saws.nebular.co.za] has been answered
  524. 2024-03-19 14:48:33.084303 [DEBUG] switch_channel.c:3773 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE
  525. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0608899793@41.160.32.115:5060] 156.38.231.107 port 19072 -> 41.160.32.115 port 22134 codec: 18 ms: 20
  526. 2024-03-19 14:48:33.104157 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  527. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7180 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 96
  528. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7187 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf receive payload to 96
  529. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_media.c:7210 sofia/default/0608899793@41.160.32.115:5060 Set rtp dtmf delay to 40
  530. 2024-03-19 14:48:33.104157 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0608899793@41.160.32.115:5060:
  531. v=0                                                                                                                                                                                                                
  532. o=FreeSWITCH 1710840641 1710840642 IN IP4 156.38.231.107                                                                                                                                                          
  533. s=FreeSWITCH                                                                                                                                                                                                      
  534. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  535. t=0 0                                                                                                                                                                                                              
  536. m=audio 19072 RTP/AVP 18 96                                                                                                                                                                                        
  537. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  538. a=fmtp:18 annexb=no                                                                                                                                                                                                
  539. a=rtpmap:96 telephone-event/8000                                                                                                                                                                                  
  540. a=fmtp:96 0-16                                                                                                                                                                                                    
  541. a=ptime:20                                                                                                                                                                                                        
  542. a=sendrecv                                                                                                                                                                                                        
  543.  
  544. 2024-03-19 14:48:33.104157 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0608899793@41.160.32.115:5060] has been answered
  545. 2024-03-19 14:48:33.104157 [DEBUG] switch_channel.c:3773 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  546. 2024-03-19 14:48:33.104157 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [completed][200]
  547. 2024-03-19 14:48:33.104157 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4128603434@saws.nebular.co.za]
  548. 2024-03-19 14:48:33.104157 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  549. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 42 Tot 535909)
  550. 2024-03-19 14:48:33.104157 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4128603434@saws.nebular.co.za) State EXCHANGE_MEDIA
  551. 2024-03-19 14:48:33.104157 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  552. 2024-03-19 14:48:33.224787 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  553. 2024-03-19 14:48:33.244196 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0797964625 Bridge execute app sched_hangup(+6000 normal_clearing)
  554. 2024-03-19 14:48:33.264158 [DEBUG] switch_ivr.c:623 sofia/default/0797964625 Command Execute sched_hangup(+6000 normal_clearing)
  555. EXECUTE sofia/default/0797964625 sched_hangup(+6000 normal_clearing)
  556. 2024-03-19 14:48:33.264158 [DEBUG] switch_scheduler.c:249 Added task 216735 switch_ivr_schedule_hangup (bfc6308c-e5ff-11ee-8016-d17fbcf33421) to run at 1710865713
  557. 2024-03-19 14:48:33.284176 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [ready][200]
  558. 2024-03-19 14:48:33.284176 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4128603434@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  559. 2024-03-19 14:48:33.304168 [DEBUG] switch_ivr.c:623 sofia/default/4128603434@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  560. EXECUTE sofia/default/4128603434@saws.nebular.co.za sched_hangup(+6000 normal_clearing)
  561. 2024-03-19 14:48:33.304168 [DEBUG] switch_scheduler.c:249 Added task 216736 switch_ivr_schedule_hangup (c1f72276-e5ff-11ee-806b-d17fbcf33421) to run at 1710865713
  562. 2024-03-19 14:48:33.324176 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.5:9566 to 156.38.231.105:9566
  563. 2024-03-19 14:48:33.364173 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9650 to 156.38.231.105:9650
  564. 2024-03-19 14:48:33.444173 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  565. 2024-03-19 14:48:33.524157 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [proceeding][180]
  566. 2024-03-19 14:48:33.524157 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0797964625!
  567. 2024-03-19 14:48:33.524157 [DEBUG] switch_channel.c:3346 (sofia/default/0797964625) Callstate Change EARLY -> RINGING
  568. 2024-03-19 14:48:34.804189 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0734382646@41.160.32.115:5060 [c31ef656-e5ff-11ee-8073-d17fbcf33421]
  569. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_NEW (Cur 43 Tot 535910)
  570. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:9873 sofia/default/0734382646@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  571. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  572. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [received][100]
  573. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7094 Remote SDP:
  574. v=0                                                                                                                                                                                                                
  575. o=HuaweiSoftX3000 22296219249932 22296219249932 IN IP4 41.160.32.115                                                                                                                                              
  576. s=-                                                                                                                                                                                                                
  577. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  578. t=0 0                                                                                                                                                                                                              
  579. m=audio 22136 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  580. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  581. a=fmtp:18 annexb=no                                                                                                                                                                                                
  582. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  583. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  584. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  585. a=fmtp:101 0-15                                                                                                                                                                                                    
  586. a=ptime:20                                                                                                                                                                                                        
  587.  
  588. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  589. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  590. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  591. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  592. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  593. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  594. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  595. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  596. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  597. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  598. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  599. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  600. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  601. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  602. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  603. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  604. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  605. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0734382646@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  606. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_codec.c:111 sofia/default/0734382646@41.160.32.115:5060 Original read codec set to G729:18
  607. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  608. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_media.c:4767 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  609. 2024-03-19 14:48:34.804189 [DEBUG] sofia.c:7507 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  610. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0734382646@41.160.32.115:5060) State NEW
  611. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_INIT (Cur 43 Tot 535910)
  612. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0734382646@41.160.32.115:5060) State INIT
  613. 2024-03-19 14:48:34.804189 [DEBUG] mod_sofia.c:90 sofia/default/0734382646@41.160.32.115:5060 SOFIA INIT
  614. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:40 sofia/default/0734382646@41.160.32.115:5060 Standard INIT
  615. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  616. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0734382646@41.160.32.115:5060) State INIT going to sleep
  617. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 43 Tot 535910)
  618. 2024-03-19 14:48:34.804189 [DEBUG] switch_channel.c:2249 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  619. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0734382646@41.160.32.115:5060) State ROUTING
  620. 2024-03-19 14:48:34.804189 [DEBUG] mod_sofia.c:143 sofia/default/0734382646@41.160.32.115:5060 SOFIA ROUTING
  621. 2024-03-19 14:48:34.804189 [DEBUG] switch_core_state_machine.c:236 sofia/default/0734382646@41.160.32.115:5060 Standard ROUTING
  622. 2024-03-19 14:48:34.804189 [INFO] mod_dialplan_xml.c:637 Processing 0734382646 <0734382646>->0103130010 in context default
  623. 2024-03-19 14:48:34.804189 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  624. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  625. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  626. 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  627. 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0103130010
  628. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0103130010' limit 1
  629. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0103130010' AND status=0 limit 1
  630. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0103130010' and status=0 LIMIT 1                                                                                                                                                                                                          
  631. 2024-03-19 14:48:34.804189 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  632. 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0734382646 / <null>
  633. 2024-03-19 14:48:34.804189 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0103130010" LIMIT 1                                                                                                                                                              
  634. 2024-03-19 14:48:34.804189 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  635. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  636. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  637. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0103130010" AND (accountid = 0 OR status = 1) LIMIT 1
  638. 2024-03-19 14:48:34.824178 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  639. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  640. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  641. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 15
  642. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0103130010.*' OR patterns = '^010313001.*' OR patterns = '^01031300.*' OR patterns = '^0103130.*' OR patterns = '^010313.*' OR patterns = '^01031.*' OR patterns = '^0103.*' OR patterns = '^010.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 15 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                        
  643. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0103130010" AND A.accountid = '3' limit 1                                                                                                                                                                          
  644. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0103130010
  645. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0103130010" LIMIT 1                                                                                                                                                              
  646. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  647. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0103130010' OR number = '010313001' OR number = '01031300' OR number = '0103130' OR number = '010313' OR number = '01031' OR number = '0103' OR number = '010' OR number = '01' OR number = '0' OR number ='--') OR (number = '0103130010*' OR number = '010313001*' OR number = '01031300*' OR number = '0103130*' OR number = '010313*' OR number = '01031*' OR number = '0103*' OR number = '010*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  648. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  649. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0103130010' OR routing_prefix = '010313001' 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 = 0 limit 1                                                                                                                      
  650. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  651. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  652. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  653. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  654. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  655. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  656. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  657. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  658. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  659. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  660. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0103130010" LIMIT 1                                                                                                                                                              
  661. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  662. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  663. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2025
  664. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  665. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  666. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  667. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0103130010
  668. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  669. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  670. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  671. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  672. 2024-03-19 14:48:34.824178 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  673. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  674. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  675. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  676. 2024-03-19 14:48:34.824178 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  677. 2024-03-19 14:48:34.824178 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++15
  678. 2024-03-19 14:48:34.824178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "15" AND deleted = 0 limit 1
  679. 2024-03-19 14:48:34.824178 [DEBUG] sofia.c:7084 Channel sofia/default/0836750187 entering state [proceeding][180]
  680. 2024-03-19 14:48:34.824178 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/0836750187!
  681. 2024-03-19 14:48:34.824178 [DEBUG] switch_channel.c:3346 (sofia/default/0836750187) Callstate Change EARLY -> RINGING
  682. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  683. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  684. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  685. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 15 limit 1
  686. 2024-03-19 14:48:34.844163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : karlovac.nebular.co.za
  687. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  688. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  689. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  690. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  691. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0734382646
  692. 2024-03-19 14:48:34.844163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0734382646
  693. 2024-03-19 14:48:34.844163 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27734382646
  694. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  695. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 15 limit 1
  696. 2024-03-19 14:48:34.844163 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : karlovac.nebular.co.za
  697. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
  698. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::2025
  699. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10
  700. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  701. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 13 and status=0 LIMIT 1
  702. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '37' LIMIT 1
  703. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== announcement=File name==================ThistreeRe_.wav
  704. 2024-03-19 14:48:34.844163 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== sandip here===========================
  705. 2024-03-19 14:48:34.844163 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  706. <document type="freeswitch/xml">                                                                                                                                                                                  
  707. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  708. <context name="default">                                                                                                                                                                                          
  709. <extension name="0103130010">                                                                                                                                                                                      
  710. <condition field="destination_number" expression="0103130010">                                                                                                                                                    
  711. <action application="set" data="effective_destination_number=0103130010"/>                                                                                                                                        
  712. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  713. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  714. <action application="set" data="callstart=2024-03-19 14:48:34"/>                                                                                                                                                  
  715. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  716. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  717. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  718. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  719. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  720. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  721. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  722. <action application="set" data="accountname=default"/>                                                                                                                                                            
  723. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  724. <action application="set" data="origination_rates_did=ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15"/>                                                                                                                                                                                                      
  725. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  726. <action application="set" data="original_caller_id_name=0734382646"/>                                                                                                                                              
  727. <action application="set" data="effective_caller_id_name=27734382646"/>                                                                                                                                            
  728. <action application="set" data="receiver_accid=15"/>                                                                                                                                                              
  729. <action application="export" data="domain_name=karlovac.nebular.co.za"/>                                                                                                                                          
  730. <action application="export" data="sip_to_host=karlovac.nebular.co.za"/>                                                                                                                                          
  731. <action application="export" data="presence_data=x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  732. <action application="export" data="call_type=10"/>                                                                                                                                                                
  733. <action application="set" data="did_calltype=10"/>                                                                                                                                                                
  734. <action application="set" data="did_extensions=13"/>                                                                                                                                                              
  735. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/ThistreeRe_.wav"/>                                                                                                                        
  736. <action application="set" data="module_name=pbx"/>                                                                                                                                                                
  737. <action application="set" data="sip_h_P-call_type=custom_forward"/>                                                                                                                                                
  738. <action application="set" data="sip_h_P-Accountcode=15"/>                                                                                                                                                          
  739. <action application="set" data="no_answer_number=145"/>                                                                                                                                                            
  740. <action application="export" data="no_answer_number=145"/>                                                                                                                                                        
  741. <action application="set" data="no_answer_call_type=extension"/>                                                                                                                                                  
  742. <action application="set" data="no_answer_call_type_value=145"/>                                                                                                                                                  
  743. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  744. <action application="set" data="originate_disposition=no_key_press"/>                                                                                                                                              
  745. <action application="set" data="variable_sip_to_host=karlovac.nebular.co.za"/>                                                                                                                                    
  746. <action application="set" data="userinfo_id=3"/>                                                                                                                                                                  
  747. <action application="set" data="variable_sip_to_host=karlovac.nebular.co.za"/>                                                                                                                                    
  748. <action application="set" data="original_did_number=0103130010"/>                                                                                                                                                  
  749. <action application="set" data="absolute_codec_string=PCMU,PCMA,G729"/>                                                                                                                                            
  750.     <action application="answer"/>                                                                                                                                                                                
  751. <action application="ivr" data="ThisTree IVR13"/>                                                                                                                                                                  
  752. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>                                                                                                                                
  753. </condition>                                                                                                                                                                                                      
  754. </extension>                                                                                                                                                                                                      
  755. </context>                                                                                                                                                                                                        
  756. </section>                                                                                                                                                                                                        
  757. </document>                                                                                                                                                                                                        
  758. 2024-03-19 14:48:34.844163 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  759. Dialplan: sofia/default/0734382646@41.160.32.115:5060 parsing [default->0103130010] continue=false
  760. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Regex (PASS) [0103130010] destination_number(0103130010) =~ /0103130010/ break=on-false
  761. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(effective_destination_number=0103130010)
  762. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  763. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  764. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:34)
  765. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  766. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  767. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(account_id=3)
  768. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(parent_id=0)
  769. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(entity_id=3)
  770. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(call_processed=internal)
  771. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(call_direction=inbound)
  772. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(accountname=default)
  773. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  774. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(origination_rates_did=ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15)                                                                                                                                                                      
  775. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(origination_rates=0)
  776. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(original_caller_id_name=0734382646)
  777. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(effective_caller_id_name=27734382646)
  778. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(receiver_accid=15)
  779. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(domain_name=karlovac.nebular.co.za)
  780. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(sip_to_host=karlovac.nebular.co.za)
  781. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115)
  782. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(call_type=10)
  783. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(did_calltype=10)
  784. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(did_extensions=13)
  785. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(ringback=/var/www/html/astpp//upload/pbx/ThistreeRe_.wav)
  786. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(module_name=pbx)
  787. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(sip_h_P-call_type=custom_forward)
  788. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(sip_h_P-Accountcode=15)
  789. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_number=145)
  790. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action export(no_answer_number=145)
  791. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_call_type=extension)
  792. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(no_answer_call_type_value=145)
  793. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(opensips_flag=0)
  794. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(originate_disposition=no_key_press)
  795. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(variable_sip_to_host=karlovac.nebular.co.za)
  796. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(userinfo_id=3)
  797. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(variable_sip_to_host=karlovac.nebular.co.za)
  798. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(original_did_number=0103130010)
  799. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action set(absolute_codec_string=PCMU,PCMA,G729)
  800. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action answer()
  801. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action ivr(ThisTree IVR13)
  802. Dialplan: sofia/default/0734382646@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  803. 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  804. 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0734382646@41.160.32.115:5060) State ROUTING going to sleep
  805. 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 43 Tot 535910)
  806. 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0734382646@41.160.32.115:5060) State EXECUTE
  807. 2024-03-19 14:48:34.844163 [DEBUG] mod_sofia.c:198 sofia/default/0734382646@41.160.32.115:5060 SOFIA EXECUTE
  808. 2024-03-19 14:48:34.844163 [DEBUG] switch_core_state_machine.c:328 sofia/default/0734382646@41.160.32.115:5060 Standard EXECUTE
  809. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(effective_destination_number=0103130010)
  810. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [effective_destination_number]=[0103130010]
  811. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  812. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  813. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  814. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  815. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(callstart=2024-03-19 14:48:34)
  816. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:34]
  817. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(hangup_after_bridge=true)
  818. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [hangup_after_bridge]=[true]
  819. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(continue_on_fail=TRUE)
  820. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  821. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(account_id=3)
  822. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [account_id]=[3]
  823. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(parent_id=0)
  824. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [parent_id]=[0]
  825. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(entity_id=3)
  826. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [entity_id]=[3]
  827. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(call_processed=internal)
  828. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [call_processed]=[internal]
  829. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(call_direction=inbound)
  830. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [call_direction]=[inbound]
  831. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(accountname=default)
  832. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [accountname]=[default]
  833. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  834. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  835. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(origination_rates_did=ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15)                                                                                                                                                                                
  836. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [origination_rates_did]=[ID:2025|CODE:^0103130010.*|DESTINATION:0103130010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:15]                                                                                                                              
  837. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(origination_rates=0)
  838. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [origination_rates]=[0]
  839. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(original_caller_id_name=0734382646)
  840. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [original_caller_id_name]=[0734382646]
  841. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(effective_caller_id_name=27734382646)
  842. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [effective_caller_id_name]=[27734382646]
  843. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(receiver_accid=15)
  844. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [receiver_accid]=[15]
  845. EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(domain_name=karlovac.nebular.co.za)
  846. 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[karlovac.nebular.co.za]
  847. EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(sip_to_host=karlovac.nebular.co.za)
  848. 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[karlovac.nebular.co.za]
  849. EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115)
  850. 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115]
  851. EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(call_type=10)
  852. 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10]
  853. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(did_calltype=10)
  854. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [did_calltype]=[10]
  855. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(did_extensions=13)
  856. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [did_extensions]=[13]
  857. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(ringback=/var/www/html/astpp//upload/pbx/ThistreeRe_.wav)
  858. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [ringback]=[/var/www/html/astpp//upload/pbx/ThistreeRe_.wav]
  859. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(module_name=pbx)
  860. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [module_name]=[pbx]
  861. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(sip_h_P-call_type=custom_forward)
  862. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [sip_h_P-call_type]=[custom_forward]
  863. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(sip_h_P-Accountcode=15)
  864. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [sip_h_P-Accountcode]=[15]
  865. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_number=145)
  866. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_number]=[145]
  867. EXECUTE sofia/default/0734382646@41.160.32.115:5060 export(no_answer_number=145)
  868. 2024-03-19 14:48:34.844163 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [no_answer_number]=[145]
  869. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_call_type=extension)
  870. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_call_type]=[extension]
  871. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(no_answer_call_type_value=145)
  872. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [no_answer_call_type_value]=[145]
  873. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(opensips_flag=0)
  874. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [opensips_flag]=[0]
  875. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(originate_disposition=no_key_press)
  876. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [originate_disposition]=[no_key_press]
  877. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(variable_sip_to_host=karlovac.nebular.co.za)
  878. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [variable_sip_to_host]=[karlovac.nebular.co.za]
  879. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(userinfo_id=3)
  880. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [userinfo_id]=[3]
  881. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(variable_sip_to_host=karlovac.nebular.co.za)
  882. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [variable_sip_to_host]=[karlovac.nebular.co.za]
  883. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(original_did_number=0103130010)
  884. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [original_did_number]=[0103130010]
  885. EXECUTE sofia/default/0734382646@41.160.32.115:5060 set(absolute_codec_string=PCMU,PCMA,G729)
  886. 2024-03-19 14:48:34.844163 [DEBUG] mod_dptools.c:1548 SET sofia/default/0734382646@41.160.32.115:5060 [absolute_codec_string]=[PCMU,PCMA,G729]
  887. EXECUTE sofia/default/0734382646@41.160.32.115:5060 answer()
  888. 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0734382646@41.160.32.115:5060] 156.38.231.107 port 30960 -> 41.160.32.115 port 22136 codec: 18 ms: 20
  889. 2024-03-19 14:48:34.864169 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  890. 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7180 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  891. 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7187 sofia/default/0734382646@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  892. 2024-03-19 14:48:34.864169 [DEBUG] switch_core_media.c:7210 sofia/default/0734382646@41.160.32.115:5060 Set rtp dtmf delay to 40
  893. 2024-03-19 14:48:34.864169 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0734382646@41.160.32.115:5060:
  894. v=0                                                                                                                                                                                                                
  895. o=FreeSWITCH 1710828754 1710828755 IN IP4 156.38.231.107                                                                                                                                                          
  896. s=FreeSWITCH                                                                                                                                                                                                      
  897. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  898. t=0 0                                                                                                                                                                                                              
  899. m=audio 30960 RTP/AVP 18 101                                                                                                                                                                                      
  900. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  901. a=fmtp:18 annexb=no                                                                                                                                                                                                
  902. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  903. a=fmtp:101 0-16                                                                                                                                                                                                    
  904. a=ptime:20                                                                                                                                                                                                        
  905. a=sendrecv                                                                                                                                                                                                        
  906.  
  907. 2024-03-19 14:48:34.864169 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/0734382646@41.160.32.115:5060] has been answered
  908. 2024-03-19 14:48:34.864169 [DEBUG] switch_channel.c:3773 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  909. EXECUTE sofia/default/0734382646@41.160.32.115:5060 ivr(ThisTree IVR13)
  910. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  911. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  912. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  913. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  914. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
  915. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
  916. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:880 building menu 'ThisTree IVR13'
  917. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1'
  918. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2'
  919. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  920. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu ThisTree IVR13
  921. 2024-03-19 14:48:34.884155 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [completed][200]
  922. 2024-03-19 14:48:34.884155 [DEBUG] switch_core_file.c:342 File /var/www/html/astpp/upload/pbx/ThistreeRe_.wav sample rate 44100 doesn't match requested rate 8000
  923. 2024-03-19 14:48:34.884155 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  924. 2024-03-19 14:48:34.884155 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7feda86f16c8 0x7feda86f16c8
  925. 2024-03-19 14:48:34.884155 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7feda86f16c8 0x7feda86f16c8
  926. 2024-03-19 14:48:34.964199 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  927. 2024-03-19 14:48:35.024169 [DEBUG] sofia.c:7084 Channel sofia/default/0734382646@41.160.32.115:5060 entering state [ready][200]
  928. 2024-03-19 14:48:35.084171 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  929. 2024-03-19 14:48:36.384178 [NOTICE] sofia.c:1012 Hangup sofia/default/4128603434@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  930. 2024-03-19 14:48:36.384178 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4128603434@saws.nebular.co.za]
  931. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4128603434@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  932. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 43 Tot 535910)
  933. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4128603434@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  934. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4128603434@saws.nebular.co.za) State HANGUP
  935. 2024-03-19 14:48:36.384178 [DEBUG] mod_sofia.c:438 Channel sofia/default/4128603434@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING
  936. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:60 sofia/default/4128603434@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  937. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4128603434@saws.nebular.co.za) State HANGUP going to sleep
  938. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  939. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 43 Tot 535910)
  940. 2024-03-19 14:48:36.384178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4128603434@saws.nebular.co.za) State REPORTING
  941. 2024-03-19 14:48:36.384178 [INFO] mod_json_cdr.c:271 Process [c1f72276-e5ff-11ee-806b-d17fbcf33421.cdr.json]
  942. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:174 sofia/default/4128603434@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  943. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4128603434@saws.nebular.co.za) State REPORTING going to sleep
  944. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4128603434@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  945. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_session.c:1665 Session 535909 (sofia/default/4128603434@saws.nebular.co.za) Locked, Waiting on external entities
  946. 2024-03-19 14:48:36.404293 [DEBUG] switch_ivr_bridge.c:706 sofia/default/4128603434@saws.nebular.co.za ending bridge by request from write function
  947. 2024-03-19 14:48:36.404293 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0608899793@41.160.32.115:5060]
  948. 2024-03-19 14:48:36.404293 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0608899793@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  949. 2024-03-19 14:48:36.404293 [NOTICE] switch_core_session.c:1683 Session 535909 (sofia/default/4128603434@saws.nebular.co.za) Ended
  950. 2024-03-19 14:48:36.404293 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4128603434@saws.nebular.co.za [CS_DESTROY]
  951. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4128603434@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 42 Tot 535910)
  952. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_session.c:2815 sofia/default/0608899793@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  953. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE going to sleep
  954. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 42 Tot 535910)
  955. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4128603434@saws.nebular.co.za) State DESTROY
  956. 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:343 sofia/default/4128603434@saws.nebular.co.za SOFIA DESTROY
  957. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:181 sofia/default/4128603434@saws.nebular.co.za Standard DESTROY
  958. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4128603434@saws.nebular.co.za) State DESTROY going to sleep
  959. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  960. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP
  961. 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:432 sofia/default/0608899793@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg
  962. 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:438 Channel sofia/default/0608899793@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  963. 2024-03-19 14:48:36.404293 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0608899793@41.160.32.115:5060
  964. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:60 sofia/default/0608899793@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  965. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP going to sleep
  966. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  967. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 42 Tot 535910)
  968. 2024-03-19 14:48:36.404293 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING
  969. 2024-03-19 14:48:36.404293 [INFO] mod_json_cdr.c:271 Process [c14cf3e6-e5ff-11ee-8041-d17fbcf33421.cdr.json]
  970. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:174 sofia/default/0608899793@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  971. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING going to sleep
  972. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  973. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_session.c:1665 Session 535908 (sofia/default/0608899793@41.160.32.115:5060) Locked, Waiting on external entities
  974. 2024-03-19 14:48:36.424168 [NOTICE] switch_core_session.c:1683 Session 535908 (sofia/default/0608899793@41.160.32.115:5060) Ended
  975. 2024-03-19 14:48:36.424168 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0608899793@41.160.32.115:5060 [CS_DESTROY]
  976. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 41 Tot 535910)
  977. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY
  978. 2024-03-19 14:48:36.424168 [DEBUG] mod_sofia.c:343 sofia/default/0608899793@41.160.32.115:5060 SOFIA DESTROY
  979. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:181 sofia/default/0608899793@41.160.32.115:5060 Standard DESTROY
  980. 2024-03-19 14:48:36.424168 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY going to sleep
  981. 2024-03-19 14:48:36.804299 [DEBUG] switch_scheduler.c:144 Deleting task 216736 switch_ivr_schedule_hangup (c1f72276-e5ff-11ee-806b-d17fbcf33421)
  982. 2024-03-19 14:48:40.124163 [NOTICE] sofia.c:1012 Hangup sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  983. 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0538322348@legalaidsa.nebular.co.za:5060]
  984. 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from write function
  985. 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0712697093]
  986. 2024-03-19 14:48:40.124163 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0712697093 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  987. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA going to sleep
  988. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_HANGUP (Cur 41 Tot 535910)
  989. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0712697093) Callstate Change ACTIVE -> HANGUP
  990. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP
  991. 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:432 sofia/default/0712697093 Overriding SIP cause 480 with 200 from the other leg
  992. 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:438 Channel sofia/default/0712697093 hanging up, cause: NORMAL_CLEARING
  993. 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0712697093
  994. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:60 sofia/default/0712697093 Standard HANGUP, cause: NORMAL_CLEARING
  995. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP going to sleep
  996. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0712697093) State Change CS_HANGUP -> CS_REPORTING
  997. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_REPORTING (Cur 41 Tot 535910)
  998. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING
  999. 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0712697093 skip receive message [UNBRIDGE] (channel is hungup already)
  1000. 2024-03-19 14:48:40.124163 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  1001. 2024-03-19 14:48:40.124163 [INFO] mod_json_cdr.c:271 Process [8d08ad3c-e5ff-11ee-bccb-d17fbcf33421.cdr.json]
  1002. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_session.c:2815 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1003. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep
  1004. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 41 Tot 535910)
  1005. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  1006. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP
  1007. 2024-03-19 14:48:40.124163 [DEBUG] mod_sofia.c:438 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  1008. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:60 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  1009. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep
  1010. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  1011. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 41 Tot 535910)
  1012. 2024-03-19 14:48:40.124163 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING
  1013. 2024-03-19 14:48:40.124163 [INFO] mod_json_cdr.c:271 Process [8cfdcbb0-e5ff-11ee-bca8-d17fbcf33421.cdr.json]
  1014. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:174 sofia/default/0712697093 Standard REPORTING, cause: NORMAL_CLEARING
  1015. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING going to sleep
  1016. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0712697093) State Change CS_REPORTING -> CS_DESTROY
  1017. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_session.c:1665 Session 535865 (sofia/default/0712697093) Locked, Waiting on external entities
  1018. 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1683 Session 535865 (sofia/default/0712697093) Ended
  1019. 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0712697093 [CS_DESTROY]
  1020. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0712697093) Running State Change CS_DESTROY (Cur 40 Tot 535910)
  1021. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY
  1022. 2024-03-19 14:48:40.144170 [DEBUG] mod_sofia.c:343 sofia/default/0712697093 SOFIA DESTROY
  1023. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:181 sofia/default/0712697093 Standard DESTROY
  1024. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY going to sleep
  1025. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:174 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  1026. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep
  1027. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  1028. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_session.c:1665 Session 535864 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities
  1029. 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1683 Session 535864 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Ended
  1030. 2024-03-19 14:48:40.144170 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_DESTROY]
  1031. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 39 Tot 535910)
  1032. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY
  1033. 2024-03-19 14:48:40.144170 [DEBUG] mod_sofia.c:343 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA DESTROY
  1034. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:181 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard DESTROY
  1035. 2024-03-19 14:48:40.144170 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep
  1036. 2024-03-19 14:48:40.304178 [DEBUG] switch_scheduler.c:144 Deleting task 216714 switch_ivr_schedule_hangup (8d08ad3c-e5ff-11ee-bccb-d17fbcf33421)
  1037. 2024-03-19 14:48:40.944181 [NOTICE] sofia.c:1012 Hangup sofia/default/27124713800@ecic.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  1038. 2024-03-19 14:48:40.944181 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124713800@ecic.nebular.co.za:5060]
  1039. 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124713800@ecic.nebular.co.za:5060 ending bridge by request from write function
  1040. 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0786353645]
  1041. 2024-03-19 14:48:40.964178 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0786353645 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1042. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0786353645) State EXCHANGE_MEDIA going to sleep
  1043. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0786353645) Running State Change CS_HANGUP (Cur 39 Tot 535910)
  1044. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0786353645) Callstate Change ACTIVE -> HANGUP
  1045. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0786353645) State HANGUP
  1046. 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:432 sofia/default/0786353645 Overriding SIP cause 480 with 200 from the other leg
  1047. 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:438 Channel sofia/default/0786353645 hanging up, cause: NORMAL_CLEARING
  1048. 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0786353645 skip receive message [UNBRIDGE] (channel is hungup already)
  1049. 2024-03-19 14:48:40.964178 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124713800@ecic.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  1050. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_session.c:2815 sofia/default/27124713800@ecic.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1051. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124713800@ecic.nebular.co.za:5060) State EXECUTE going to sleep
  1052. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535910)
  1053. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124713800@ecic.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  1054. 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0786353645
  1055. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713800@ecic.nebular.co.za:5060) State HANGUP
  1056. 2024-03-19 14:48:40.964178 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124713800@ecic.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  1057. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:60 sofia/default/0786353645 Standard HANGUP, cause: NORMAL_CLEARING
  1058. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0786353645) State HANGUP going to sleep
  1059. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0786353645) State Change CS_HANGUP -> CS_REPORTING
  1060. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0786353645) Running State Change CS_REPORTING (Cur 39 Tot 535910)
  1061. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0786353645) State REPORTING
  1062. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  1063. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124713800@ecic.nebular.co.za:5060) State HANGUP going to sleep
  1064. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124713800@ecic.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  1065. 2024-03-19 14:48:40.964178 [INFO] mod_json_cdr.c:271 Process [2b0f3268-e5ff-11ee-b8a6-d17fbcf33421.cdr.json]
  1066. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535910)
  1067. 2024-03-19 14:48:40.964178 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713800@ecic.nebular.co.za:5060) State REPORTING
  1068. 2024-03-19 14:48:40.964178 [INFO] mod_json_cdr.c:271 Process [2b0204a8-e5ff-11ee-b883-d17fbcf33421.cdr.json]
  1069. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:174 sofia/default/0786353645 Standard REPORTING, cause: NORMAL_CLEARING
  1070. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0786353645) State REPORTING going to sleep
  1071. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0786353645) State Change CS_REPORTING -> CS_DESTROY
  1072. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_session.c:1665 Session 535817 (sofia/default/0786353645) Locked, Waiting on external entities
  1073. 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1683 Session 535817 (sofia/default/0786353645) Ended
  1074. 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0786353645 [CS_DESTROY]
  1075. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0786353645) Running State Change CS_DESTROY (Cur 38 Tot 535910)
  1076. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0786353645) State DESTROY
  1077. 2024-03-19 14:48:40.984301 [DEBUG] mod_sofia.c:343 sofia/default/0786353645 SOFIA DESTROY
  1078. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:181 sofia/default/0786353645 Standard DESTROY
  1079. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0786353645) State DESTROY going to sleep
  1080. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  1081. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124713800@ecic.nebular.co.za:5060) State REPORTING going to sleep
  1082. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124713800@ecic.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  1083. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_session.c:1665 Session 535816 (sofia/default/27124713800@ecic.nebular.co.za:5060) Locked, Waiting on external entities
  1084. 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1683 Session 535816 (sofia/default/27124713800@ecic.nebular.co.za:5060) Ended
  1085. 2024-03-19 14:48:40.984301 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124713800@ecic.nebular.co.za:5060 [CS_DESTROY]
  1086. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124713800@ecic.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535910)
  1087. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713800@ecic.nebular.co.za:5060) State DESTROY
  1088. 2024-03-19 14:48:40.984301 [DEBUG] mod_sofia.c:343 sofia/default/27124713800@ecic.nebular.co.za:5060 SOFIA DESTROY
  1089. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124713800@ecic.nebular.co.za:5060 Standard DESTROY
  1090. 2024-03-19 14:48:40.984301 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124713800@ecic.nebular.co.za:5060) State DESTROY going to sleep
  1091. 2024-03-19 14:48:41.304183 [DEBUG] switch_scheduler.c:144 Deleting task 216695 switch_ivr_schedule_hangup (2b0f3268-e5ff-11ee-b8a6-d17fbcf33421)
  1092. 2024-03-19 14:48:43.124291 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [c814bcf4-e5ff-11ee-809f-d17fbcf33421]
  1093. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_NEW (Cur 38 Tot 535911)
  1094. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:9873 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  1095. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  1096. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [received][100]
  1097. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7094 Remote SDP:
  1098. v=0                                                                                                                                                                                                                
  1099. o=3cxPS 505296191488 297896247297 IN IP4 156.38.150.6                                                                                                                                                              
  1100. s=3cxPS Audio call                                                                                                                                                                                                
  1101. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  1102. t=0 0                                                                                                                                                                                                              
  1103. m=audio 9652 RTP/AVP 8 0 9 18 101                                                                                                                                                                                  
  1104. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1105. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1106. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  1107. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1108. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1109. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1110.  
  1111. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1112. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1113. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1114. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1115. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1116. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1117. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1118. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1119. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1120. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1121. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1122. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1123. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1124. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1125. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  1126. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match
  1127. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1128. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1129. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1130. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1131. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1132. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0538322348@legalaidsa.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1133. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_codec.c:111 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Original read codec set to PCMA:8
  1134. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1135. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_media.c:4767 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  1136. 2024-03-19 14:48:43.124291 [DEBUG] sofia.c:7507 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  1137. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State NEW
  1138. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_INIT (Cur 38 Tot 535911)
  1139. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State INIT
  1140. 2024-03-19 14:48:43.124291 [DEBUG] mod_sofia.c:90 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA INIT
  1141. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:40 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard INIT
  1142. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  1143. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State INIT going to sleep
  1144. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 38 Tot 535911)
  1145. 2024-03-19 14:48:43.124291 [DEBUG] switch_channel.c:2249 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  1146. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State ROUTING
  1147. 2024-03-19 14:48:43.124291 [DEBUG] mod_sofia.c:143 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA ROUTING
  1148. 2024-03-19 14:48:43.124291 [DEBUG] switch_core_state_machine.c:236 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard ROUTING
  1149. 2024-03-19 14:48:43.124291 [INFO] mod_dialplan_xml.c:637 Processing 0538322348 <0538322348>->0712697093 in context default
  1150. 2024-03-19 14:48:43.124291 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  1151. 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1152. 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1153. 2024-03-19 14:48:43.124291 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1154. 2024-03-19 14:48:43.124291 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0712697093
  1155. 2024-03-19 14:48:43.124291 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0712697093' limit 1
  1156. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0712697093' AND status=0 limit 1
  1157. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0712697093' and status=0 LIMIT 1                                                                                                                                                                                                          
  1158. 2024-03-19 14:48:43.144170 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  1159. 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0538322348 / 0538322348
  1160. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1                                                                                                                                                              
  1161. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0712697093"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  1162. 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  1163. 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 196083]
  1164. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "196083" AND deleted = 0 limit 1
  1165. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0712697093.*' OR blocked_patterns = '^071269709.*' OR blocked_patterns = '^07126970.*' OR blocked_patterns = '^0712697.*' OR blocked_patterns = '^071269.*' OR blocked_patterns = '^07126.*' OR blocked_patterns = '^0712.*' OR blocked_patterns = '^071.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 109 limit 1                                                                                                                      
  1166. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0712697093" AND (accountid = 0 OR status = 1) LIMIT 1
  1167. 2024-03-19 14:48:43.144170 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  1168. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1                                                                                                                                                                                                  
  1169. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0712697093
  1170. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0,00/99".....0712697093
  1171. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0712697093.*' OR patterns = '^071269709.*' OR patterns = '^07126970.*' OR patterns = '^0712697.*' OR patterns = '^071269.*' OR patterns = '^07126.*' OR patterns = '^0712.*' OR patterns = '^071.*' OR patterns = '^07.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 109 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                        
  1172. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0712697093" AND A.accountid = '109' limit 1                                                                                                                                                                        
  1173. 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0712697093
  1174. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1                                                                                                                                                              
  1175. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0712697093"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  1176. 2024-03-19 14:48:43.144170 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : outbound
  1177. 2024-03-19 14:48:43.144170 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0712697093' OR number = '071269709' OR number = '07126970' OR number = '0712697' OR number = '071269' OR number = '07126' OR number = '0712' OR number = '071' OR number = '07' OR number = '0' OR number ='--') OR (number = '0712697093*' OR number = '071269709*' OR number = '07126970*' OR number = '0712697*' OR number = '071269*' OR number = '07126*' OR number = '0712*' OR number = '071*' OR number = '07*' OR number = '0*' OR number ='--') OR (number = '0538322348' OR number = '053832234' OR number = '05383223' OR number = '0538322' OR number = '053832' OR number = '05383' OR number = '0538' OR number = '053' OR number = '05' OR number = '0' OR number ='--') OR (number = '0538322348*' OR number = '053832234*' OR number = '05383223*' OR number = '0538322*' OR number = '053832*' OR number = '05383*' OR number = '0538*' OR number = '053*' OR number = '05*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                          
  1178. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1179. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0712697093' OR routing_prefix = '071269709' OR routing_prefix = '07126970' OR routing_prefix = '0712697' OR routing_prefix = '071269' OR routing_prefix = '07126' OR routing_prefix = '0712' OR routing_prefix = '071' OR routing_prefix = '07' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 13 limit 1                                                                                                                    
  1180. 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Get Destination Number (0712697093)!!!!
  1181. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Ported Number :27712697093
  1182. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27712697093' limit 1
  1183. 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (0712697093)!!!!
  1184. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1185. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 109
  1186. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 196083
  1187. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 11207.5335
  1188. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1189. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 93
  1190. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1191. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1192. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1193. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1194. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1195. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1196. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1197. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1198. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1199. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1200. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1201. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1202. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1203. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"D871/,D874/,D912/".....0538322348
  1204. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 93 AND status = 0
  1205. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  1206. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 93 AND status = 0
  1207. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 93 OR accountid=109)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                      
  1208. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  1209. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1210. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2148439
  1211. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1212. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1213. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.44000
  1214. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : SOUTH AFRICA - VODACOM - MOBILE
  1215. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  1216. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 109
  1217. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  1218. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  1219. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1220. 2024-03-19 14:48:43.164165 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your11207.5335 balance Accountid 109 !!!
  1221. 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1222. 2024-03-19 14:48:43.164165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 13
  1223. 2024-03-19 14:48:43.164165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
  1224. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0712697093.*' OR blocked_patterns = '^071269709.*' OR blocked_patterns = '^07126970.*' OR blocked_patterns = '^0712697.*' OR blocked_patterns = '^071269.*' OR blocked_patterns = '^07126.*' OR blocked_patterns = '^0712.*' OR blocked_patterns = '^071.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 13 limit 1                                                                                                                      
  1225. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  1226. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 13
  1227. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 778509
  1228. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10310.7583
  1229. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1230. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  1231. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  1232. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  1233. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  1234. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 83 OR accountid=13)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1                                                                                      
  1235. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : outbound
  1236. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1237. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1426341
  1238. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1239. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1240. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.29000
  1241. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : D082-VODACOM
  1242. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  1243. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 13
  1244. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  1245. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  1246. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1247. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10310.7583 balance Accountid 13 !!!
  1248. 2024-03-19 14:48:43.184178 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1249. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13                                                                                                                                                                                                    
  1250. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1251. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  1252. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  1253. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 2148439
  1254. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  1255. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=83 ORDER by id asc
  1256. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0712697093.*' OR pattern = '^071269709.*' OR pattern = '^07126970.*' OR pattern = '^0712697.*' OR pattern = '^071269.*' OR pattern = '^07126.*' OR pattern = '^0712.*' OR pattern = '^071.*' OR pattern = '^07.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                                                                                                                        
  1257. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  1258. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 183
  1259. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^0.*
  1260. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : SA
  1261. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1262. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  1263. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^0.*
  1264. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  1265. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  1266. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 5
  1267. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : liquid_primary
  1268. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  1269. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  1270. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3
  1271. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  1272. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Liquid
  1273. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  1274. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 109 AND status=0 LIMIT 1                                                                                                                                                                                              
  1275. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  1276. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1277. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  1278. 2024-03-19 14:48:43.184178 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  1279. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  1280. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1                                                                                                                                                                            
  1281. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+27/0".....0712697093
  1282. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1                                                                                                                                                                          
  1283. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0712697093" LIMIT 1                                                                                                                                                              
  1284. 2024-03-19 14:48:43.184178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  1285. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  1286. <document type="freeswitch/xml">                                                                                                                                                                                  
  1287. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1288. <context name="default">                                                                                                                                                                                          
  1289. <extension name="0712697093">                                                                                                                                                                                      
  1290. <condition field="destination_number" expression="0712697093">                                                                                                                                                    
  1291. <action application="set" data="effective_destination_number=0712697093"/>                                                                                                                                        
  1292. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  1293. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  1294. <action application="set" data="callstart=2024-03-19 14:48:43"/>                                                                                                                                                  
  1295. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1296. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1297. <action application="set" data="account_id=109"/>                                                                                                                                                                  
  1298. <action application="set" data="parent_id=13"/>                                                                                                                                                                    
  1299. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  1300. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1301. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  1302. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1303. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  1304. <action application="set" data="origination_rates=ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13"/>                    
  1305. <action application="set" data="original_caller_id_name=0538322348"/>                                                                                                                                              
  1306. <action application="set" data="original_caller_id_number=0538322348"/>                                                                                                                                            
  1307. <action application="limit" data="db 196083 user_196083 200 "/>                                                                                                                                                    
  1308. <action application="limit" data="db 778509 user_778509 800 "/>                                                                                                                                                    
  1309. <action application="set" data="effective_caller_id_name=0538322348"/>                                                                                                                                            
  1310. <action application="set" data="effective_caller_id_number=0538322348"/>                                                                                                                                          
  1311. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  1312. <action application="set" data="termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3"/>                                
  1313. <action application="set" data="trunk_id=5"/>                                                                                                                                                                      
  1314. <action application="set" data="provider_id=3"/>                                                                                                                                                                  
  1315. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  1316. <action application="set" data="force_trunk_flag=2148439"/>                                                                                                                                                        
  1317. <action application="export" data="presence_data=trunk_id=5"/>                                                                                                                                                    
  1318. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  1319. <action application="export" data="presence_data=x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM"/>                                                                                                                                                          
  1320. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/liquid_primary/0712697093;fs_path=sip:156.38.231.106:5060"/>                                              
  1321. </condition>                                                                                                                                                                                                      
  1322. </extension>                                                                                                                                                                                                      
  1323. </context>                                                                                                                                                                                                        
  1324. </section>                                                                                                                                                                                                        
  1325. </document>                                                                                                                                                                                                        
  1326. 2024-03-19 14:48:43.184178 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  1327. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 parsing [default->0712697093] continue=false
  1328. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Regex (PASS) [0712697093] destination_number(0712697093) =~ /0712697093/ break=on-false
  1329. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_destination_number=0712697093)
  1330. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1331. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1332. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(callstart=2024-03-19 14:48:43)
  1333. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  1334. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  1335. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(account_id=109)
  1336. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(parent_id=13)
  1337. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(entity_id=0)
  1338. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(call_processed=internal)
  1339. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(call_direction=outbound)
  1340. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(accountname=default)
  1341. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  1342. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(origination_rates=ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13)                                                                                                                                                                                              
  1343. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(original_caller_id_name=0538322348)
  1344. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(original_caller_id_number=0538322348)
  1345. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action limit(db 196083 user_196083 200 )
  1346. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action limit(db 778509 user_778509 800 )
  1347. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_caller_id_name=0538322348)
  1348. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(effective_caller_id_number=0538322348)
  1349. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(calltype=STANDARD)
  1350. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)                                                                                                                                                                                                          
  1351. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(trunk_id=5)
  1352. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(provider_id=3)
  1353. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(rate_flag=0)
  1354. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(force_trunk_flag=2148439)
  1355. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action export(presence_data=trunk_id=5)
  1356. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action set(intcall=0)
  1357. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action export(presence_data=x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM)                                                                                                                
  1358. Dialplan: sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/liquid_primary/0712697093;fs_path=sip:156.38.231.106:5060)
  1359. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  1360. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State ROUTING going to sleep
  1361. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 38 Tot 535911)
  1362. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE
  1363. 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:198 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA EXECUTE
  1364. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:328 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard EXECUTE
  1365. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_destination_number=0712697093)
  1366. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_destination_number]=[0712697093]
  1367. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  1368. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1369. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1370. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1371. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(callstart=2024-03-19 14:48:43)
  1372. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [callstart]=[2024-03-19 14:48:43]
  1373. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(hangup_after_bridge=true)
  1374. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [hangup_after_bridge]=[true]
  1375. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(continue_on_fail=TRUE)
  1376. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  1377. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(account_id=109)
  1378. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [account_id]=[109]
  1379. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(parent_id=13)
  1380. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [parent_id]=[13]
  1381. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(entity_id=0)
  1382. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [entity_id]=[0]
  1383. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(call_processed=internal)
  1384. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [call_processed]=[internal]
  1385. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(call_direction=outbound)
  1386. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [call_direction]=[outbound]
  1387. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(accountname=default)
  1388. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [accountname]=[default]
  1389. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  1390. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  1391. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(origination_rates=ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13)                                                                                                                                                                                                      
  1392. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [origination_rates]=[ID:2148439|CODE:^0712.*|DESTINATION:SOUTH AFRICA - VODACOM - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.44000|INC:1|INITIALBLOCK:1|RATEGROUP:93|MARKUP:0|CI:0|ACCID:109||ID:1426341|CODE:^0712.*|DESTINATION:D082-VODACOM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.29000|INC:1|INITIALBLOCK:1|RATEGROUP:83|MARKUP:0|CI:0|ACCID:13]                                                                                                                                                      
  1393. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(original_caller_id_name=0538322348)
  1394. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [original_caller_id_name]=[0538322348]
  1395. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(original_caller_id_number=0538322348)
  1396. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [original_caller_id_number]=[0538322348]
  1397. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 limit(db 196083 user_196083 200 )
  1398. 2024-03-19 14:48:43.204153 [DEBUG] switch_limit.c:126 incr called: 196083_user_196083 max:200, interval:0
  1399. 2024-03-19 14:48:43.204153 [DEBUG] mod_db.c:194 Usage for 196083_user_196083 is now 15/200
  1400. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 limit(db 778509 user_778509 800 )
  1401. 2024-03-19 14:48:43.204153 [DEBUG] switch_limit.c:126 incr called: 778509_user_778509 max:800, interval:0
  1402. 2024-03-19 14:48:43.204153 [DEBUG] mod_db.c:194 Usage for 778509_user_778509 is now 16/800
  1403. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_caller_id_name=0538322348)
  1404. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_caller_id_name]=[0538322348]
  1405. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(effective_caller_id_number=0538322348)
  1406. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [effective_caller_id_number]=[0538322348]
  1407. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(calltype=STANDARD)
  1408. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [calltype]=[STANDARD]
  1409. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(termination_rates=ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3)
  1410. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [termination_rates]=[ID:183|CODE:^0.*|DESTINATION:SA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:3]                                                                                                                                                                  
  1411. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(trunk_id=5)
  1412. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [trunk_id]=[5]
  1413. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(provider_id=3)
  1414. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [provider_id]=[3]
  1415. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(rate_flag=0)
  1416. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [rate_flag]=[0]
  1417. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(force_trunk_flag=2148439)
  1418. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [force_trunk_flag]=[2148439]
  1419. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 export(presence_data=trunk_id=5)
  1420. 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  1421. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 set(intcall=0)
  1422. 2024-03-19 14:48:43.204153 [DEBUG] mod_dptools.c:1548 SET sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [intcall]=[0]
  1423. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 export(presence_data=x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM)                                                                                                                        
  1424. 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM]                                                                                                              
  1425. EXECUTE sofia/default/0538322348@legalaidsa.nebular.co.za:5060 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/liquid_primary/0712697093;fs_path=sip:156.38.231.106:5060)
  1426. 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1250 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM] to event                                            
  1427. 2024-03-19 14:48:43.204153 [DEBUG] switch_channel.c:1250 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||Legal Aid South Africa(196083)|||^0712.* // SOUTH AFRICA - VODACOM - MOBILE // 0.44000 // trunk_id=0|||Liquid // ^0.* // SA // 0.00000 // trunk_id=5|||STD|||156.38.231.105|||0.29000 // ^0712.* // D082-VODACOM] to event                                            
  1428. 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1429. 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1430. 2024-03-19 14:48:43.204153 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0712697093 [c821b9e0-e5ff-11ee-80c2-d17fbcf33421]
  1431. 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:4819 (sofia/default/0712697093) State Change CS_NEW -> CS_INIT
  1432. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_INIT (Cur 39 Tot 535912)
  1433. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0712697093) State INIT
  1434. 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:90 sofia/default/0712697093 SOFIA INIT
  1435. 2024-03-19 14:48:43.204153 [DEBUG] sofia_glue.c:1264 sip:156.38.231.106:5060 Setting proxy route to sofia/default/0712697093
  1436. 2024-03-19 14:48:43.204153 [DEBUG] sofia_glue.c:1295 sofia/default/0712697093 sending invite version: 1.6.20  64bit
  1437. Local SDP:                                                                                                                                                                                                        
  1438. v=0                                                                                                                                                                                                                
  1439. o=FreeSWITCH 1710841387 1710841388 IN IP4 156.38.231.107                                                                                                                                                          
  1440. s=FreeSWITCH                                                                                                                                                                                                      
  1441. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  1442. t=0 0                                                                                                                                                                                                              
  1443. m=audio 18336 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  1444. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1445. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1446. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1447. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1448. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1449. a=fmtp:101 0-16                                                                                                                                                                                                    
  1450. a=ptime:20                                                                                                                                                                                                        
  1451. a=sendrecv                                                                                                                                                                                                        
  1452.  
  1453. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:40 sofia/default/0712697093 Standard INIT
  1454. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0712697093) State Change CS_INIT -> CS_ROUTING
  1455. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0712697093) State INIT going to sleep
  1456. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_ROUTING (Cur 39 Tot 535912)
  1457. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0712697093) State ROUTING
  1458. 2024-03-19 14:48:43.204153 [DEBUG] mod_sofia.c:143 sofia/default/0712697093 SOFIA ROUTING
  1459. 2024-03-19 14:48:43.204153 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0712697093) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1460. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0712697093) State ROUTING going to sleep
  1461. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_CONSUME_MEDIA (Cur 39 Tot 535912)
  1462. 2024-03-19 14:48:43.204153 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [calling][0]
  1463. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0712697093) State CONSUME_MEDIA
  1464. 2024-03-19 14:48:43.204153 [DEBUG] switch_core_state_machine.c:662 (sofia/default/0712697093) State CONSUME_MEDIA going to sleep
  1465. 2024-03-19 14:48:44.104175 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [proceeding][183]
  1466. 2024-03-19 14:48:44.104175 [DEBUG] sofia.c:7094 Remote SDP:
  1467. v=0                                                                                                                                                                                                                
  1468. o=HuaweiSoftX3000 15896717988210 15896717988210 IN IP4 41.160.32.115                                                                                                                                              
  1469. s=-                                                                                                                                                                                                                
  1470. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  1471. t=0 0                                                                                                                                                                                                              
  1472. m=audio 22138 RTP/AVP 8 101                                                                                                                                                                                        
  1473. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1474. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1475. a=fmtp:101 0-15                                                                                                                                                                                                    
  1476. a=ptime:20                                                                                                                                                                                                        
  1477.  
  1478. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1479. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1480. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1481. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1482. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1483. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0712697093 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1484. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_codec.c:111 sofia/default/0712697093 Original read codec set to PCMA:8
  1485. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1486. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:4767 sofia/default/0712697093 Set 2833 dtmf send payload to 101 recv payload to 101
  1487. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0712697093] 156.38.231.107 port 18336 -> 41.160.32.115 port 22138 codec: 8 ms: 20
  1488. 2024-03-19 14:48:44.104175 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1489. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7180 sofia/default/0712697093 Set 2833 dtmf send payload to 101
  1490. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7187 sofia/default/0712697093 Set 2833 dtmf receive payload to 101
  1491. 2024-03-19 14:48:44.104175 [DEBUG] switch_core_media.c:7210 sofia/default/0712697093 Set rtp dtmf delay to 40
  1492. 2024-03-19 14:48:44.104175 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/0712697093!
  1493. 2024-03-19 14:48:44.104175 [DEBUG] switch_channel.c:3474 (sofia/default/0712697093) Callstate Change DOWN -> EARLY
  1494. 2024-03-19 14:48:44.124170 [INFO] switch_ivr_originate.c:3654 Sending early media
  1495. 2024-03-19 14:48:44.124170 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0538322348@legalaidsa.nebular.co.za:5060] 156.38.231.107 port 20384 -> 156.38.150.6 port 9652 codec: 8 ms: 20
  1496. 2024-03-19 14:48:44.124170 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  1497. 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7180 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  1498. 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7187 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  1499. 2024-03-19 14:48:44.144161 [DEBUG] switch_core_media.c:7210 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Set rtp dtmf delay to 40
  1500. 2024-03-19 14:48:44.144161 [DEBUG] mod_sofia.c:2364 Ring SDP:
  1501. v=0                                                                                                                                                                                                                
  1502. o=FreeSWITCH 1710839340 1710839341 IN IP4 156.38.231.107                                                                                                                                                          
  1503. s=FreeSWITCH                                                                                                                                                                                                      
  1504. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  1505. t=0 0                                                                                                                                                                                                              
  1506. m=audio 20384 RTP/AVP 8 101                                                                                                                                                                                        
  1507. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1508. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1509. a=fmtp:101 0-16                                                                                                                                                                                                    
  1510. a=ptime:20                                                                                                                                                                                                        
  1511. a=sendrecv                                                                                                                                                                                                        
  1512.  
  1513. 2024-03-19 14:48:44.144161 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/0538322348@legalaidsa.nebular.co.za:5060!
  1514. 2024-03-19 14:48:44.144161 [DEBUG] switch_channel.c:3474 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change RINGING -> EARLY
  1515. 2024-03-19 14:48:44.144161 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/0712697093]
  1516. 2024-03-19 14:48:44.144161 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [early][183]
  1517. 2024-03-19 14:48:44.144161 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/0712697093) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1518. 2024-03-19 14:48:44.144161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_EXCHANGE_MEDIA (Cur 39 Tot 535912)
  1519. 2024-03-19 14:48:44.144161 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA
  1520. 2024-03-19 14:48:44.144161 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  1521. 2024-03-19 14:48:44.304170 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  1522. 2024-03-19 14:48:44.304170 [DEBUG] sofia.c:7084 Channel sofia/default/0712697093 entering state [proceeding][180]
  1523. 2024-03-19 14:48:44.304170 [DEBUG] sofia.c:7091 Duplicate SDP
  1524. v=0                                                                                                                                                                                                                
  1525. o=HuaweiSoftX3000 15896717988210 15896717988210 IN IP4 41.160.32.115                                                                                                                                              
  1526. s=-                                                                                                                                                                                                                
  1527. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  1528. t=0 0                                                                                                                                                                                                              
  1529. m=audio 22138 RTP/AVP 8 101                                                                                                                                                                                        
  1530. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1531. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1532. a=fmtp:101 0-15                                                                                                                                                                                                    
  1533. a=ptime:20                                                                                                                                                                                                        
  1534.  
  1535. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1536. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1537. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1538. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1539. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1540. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1541. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:4767 sofia/default/0712697093 Set 2833 dtmf send payload to 101 recv payload to 101
  1542. 2024-03-19 14:48:44.304170 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/0712697093.
  1543. 2024-03-19 14:48:44.304170 [DEBUG] switch_ivr_bridge.c:546 sofia/default/0712697093 Bridge execute app sched_hangup(+6000 normal_clearing)
  1544. 2024-03-19 14:48:44.324178 [DEBUG] switch_ivr.c:623 sofia/default/0712697093 Command Execute sched_hangup(+6000 normal_clearing)
  1545. EXECUTE sofia/default/0712697093 sched_hangup(+6000 normal_clearing)
  1546. 2024-03-19 14:48:44.324178 [DEBUG] switch_scheduler.c:249 Added task 216737 switch_ivr_schedule_hangup (c821b9e0-e5ff-11ee-80c2-d17fbcf33421) to run at 1710865724
  1547. 2024-03-19 14:48:44.324178 [DEBUG] sofia.c:7084 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 entering state [terminated][487]
  1548. 2024-03-19 14:48:44.324178 [NOTICE] sofia.c:8273 Hangup sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1549. 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:712 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from read function
  1550. 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0538322348@legalaidsa.nebular.co.za:5060]
  1551. 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 ending bridge by request from write function
  1552. 2024-03-19 14:48:44.344236 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0712697093]
  1553. 2024-03-19 14:48:44.344236 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/0712697093 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1554. 2024-03-19 14:48:44.344236 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0712697093) State EXCHANGE_MEDIA going to sleep
  1555. 2024-03-19 14:48:44.344236 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_HANGUP (Cur 39 Tot 535912)
  1556. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0712697093) Callstate Change EARLY -> HANGUP
  1557. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP
  1558. 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:432 sofia/default/0712697093 Overriding SIP cause 487 with 487 from the other leg
  1559. 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:438 Channel sofia/default/0712697093 hanging up, cause: ORIGINATOR_CANCEL
  1560. 2024-03-19 14:48:44.364172 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0712697093 skip receive message [UNBRIDGE] (channel is hungup already)
  1561. 2024-03-19 14:48:44.364172 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  1562. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_session.c:2815 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1563. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep
  1564. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535912)
  1565. 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/0712697093
  1566. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Callstate Change EARLY -> HANGUP
  1567. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:60 sofia/default/0712697093 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1568. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0712697093) State HANGUP going to sleep
  1569. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP
  1570. 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:438 Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 hanging up, cause: ORIGINATOR_CANCEL
  1571. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0712697093) State Change CS_HANGUP -> CS_REPORTING
  1572. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0712697093) Running State Change CS_REPORTING (Cur 39 Tot 535912)
  1573. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING
  1574. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:60 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1575. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep
  1576. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  1577. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535912)
  1578. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING
  1579. 2024-03-19 14:48:44.364172 [INFO] mod_json_cdr.c:271 Process [c821b9e0-e5ff-11ee-80c2-d17fbcf33421.cdr.json]
  1580. 2024-03-19 14:48:44.364172 [INFO] mod_json_cdr.c:271 Process [c814bcf4-e5ff-11ee-809f-d17fbcf33421.cdr.json]
  1581. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:174 sofia/default/0712697093 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1582. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0712697093) State REPORTING going to sleep
  1583. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0712697093) State Change CS_REPORTING -> CS_DESTROY
  1584. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_session.c:1665 Session 535912 (sofia/default/0712697093) Locked, Waiting on external entities
  1585. 2024-03-19 14:48:44.364172 [NOTICE] switch_core_session.c:1683 Session 535912 (sofia/default/0712697093) Ended
  1586. 2024-03-19 14:48:44.364172 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0712697093 [CS_DESTROY]
  1587. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0712697093) Running State Change CS_DESTROY (Cur 38 Tot 535912)
  1588. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY
  1589. 2024-03-19 14:48:44.364172 [DEBUG] mod_sofia.c:343 sofia/default/0712697093 SOFIA DESTROY
  1590. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:181 sofia/default/0712697093 Standard DESTROY
  1591. 2024-03-19 14:48:44.364172 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0712697093) State DESTROY going to sleep
  1592. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:174 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1593. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep
  1594. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  1595. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_session.c:1665 Session 535911 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities
  1596. 2024-03-19 14:48:44.384227 [NOTICE] switch_core_session.c:1683 Session 535911 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Ended
  1597. 2024-03-19 14:48:44.384227 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0538322348@legalaidsa.nebular.co.za:5060 [CS_DESTROY]
  1598. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535912)
  1599. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY
  1600. 2024-03-19 14:48:44.384227 [DEBUG] mod_sofia.c:343 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 SOFIA DESTROY
  1601. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:181 sofia/default/0538322348@legalaidsa.nebular.co.za:5060 Standard DESTROY
  1602. 2024-03-19 14:48:44.384227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0538322348@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep
  1603. 2024-03-19 14:48:44.424173 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0879445198@41.160.32.115:5060 [c8dc4af8-e5ff-11ee-80c8-d17fbcf33421]
  1604. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_NEW (Cur 38 Tot 535913)
  1605. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:9873 sofia/default/0879445198@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  1606. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  1607. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [received][100]
  1608. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7094 Remote SDP:
  1609. v=0                                                                                                                                                                                                                
  1610. o=HuaweiSoftX3000 25422955451051 25422955451051 IN IP4 41.160.32.115                                                                                                                                              
  1611. s=-                                                                                                                                                                                                                
  1612. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  1613. t=0 0                                                                                                                                                                                                              
  1614. m=audio 22140 RTP/AVP 18 8 0 101                                                                                                                                                                                  
  1615. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1616. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1617. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  1618. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  1619. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1620. a=fmtp:101 0-15                                                                                                                                                                                                    
  1621. a=ptime:20                                                                                                                                                                                                        
  1622.  
  1623. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  1624. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  1625. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1626. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1627. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1628. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1629. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1630. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1631. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1632. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1633. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1634. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  1635. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1636. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1637. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1638. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1639. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1640. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0879445198@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  1641. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_codec.c:111 sofia/default/0879445198@41.160.32.115:5060 Original read codec set to G729:18
  1642. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1643. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_media.c:4767 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  1644. 2024-03-19 14:48:44.424173 [DEBUG] sofia.c:7507 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  1645. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0879445198@41.160.32.115:5060) State NEW
  1646. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_INIT (Cur 38 Tot 535913)
  1647. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0879445198@41.160.32.115:5060) State INIT
  1648. 2024-03-19 14:48:44.424173 [DEBUG] mod_sofia.c:90 sofia/default/0879445198@41.160.32.115:5060 SOFIA INIT
  1649. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:40 sofia/default/0879445198@41.160.32.115:5060 Standard INIT
  1650. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  1651. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0879445198@41.160.32.115:5060) State INIT going to sleep
  1652. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 38 Tot 535913)
  1653. 2024-03-19 14:48:44.424173 [DEBUG] switch_channel.c:2249 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  1654. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0879445198@41.160.32.115:5060) State ROUTING
  1655. 2024-03-19 14:48:44.424173 [DEBUG] mod_sofia.c:143 sofia/default/0879445198@41.160.32.115:5060 SOFIA ROUTING
  1656. 2024-03-19 14:48:44.424173 [DEBUG] switch_core_state_machine.c:236 sofia/default/0879445198@41.160.32.115:5060 Standard ROUTING
  1657. 2024-03-19 14:48:44.424173 [INFO] mod_dialplan_xml.c:637 Processing 0879445198 <0879445198>->D9570183814605 in context default
  1658. 2024-03-19 14:48:44.424173 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  1659. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1660. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1661. 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1662. 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570183814605
  1663. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570183814605' limit 1
  1664. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570183814605' AND status=0 limit 1
  1665. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570183814605' and status=0 LIMIT 1                                                                                                                                                                                                      
  1666. 2024-03-19 14:48:44.444160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  1667. 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0879445198 / <null>
  1668. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570183814605" LIMIT 1                                                                                                                                                          
  1669. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570183814605"  AND domains.domain="156.38.231.106" limit 1                                                                                            
  1670. 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  1671. 2024-03-19 14:48:44.444160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  1672. 2024-03-19 14:48:44.444160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  1673. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570183814605.*' OR blocked_patterns = '^D957018381460.*' OR blocked_patterns = '^D95701838146.*' OR blocked_patterns = '^D9570183814.*' OR blocked_patterns = '^D957018381.*' OR blocked_patterns = '^D95701838.*' OR blocked_patterns = '^D9570183.*' OR blocked_patterns = '^D957018.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1                                                                                                                                                                        
  1674. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570183814605" AND (accountid = 0 OR status = 1) LIMIT 1
  1675. 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  1676. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  1677. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570183814605
  1678. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570183814605
  1679. 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570183814605
  1680. 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0183814605
  1681. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0183814605.*' OR patterns = '^018381460.*' OR patterns = '^01838146.*' OR patterns = '^0183814.*' OR patterns = '^018381.*' OR patterns = '^01838.*' OR patterns = '^0183.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                          
  1682. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0183814605" AND A.accountid = '3' limit 1                                                                                                                                                                          
  1683. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0183814605
  1684. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0183814605" LIMIT 1                                                                                                                                                              
  1685. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  1686. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0183814605' OR number = '018381460' OR number = '01838146' OR number = '0183814' OR number = '018381' OR number = '01838' OR number = '0183' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '0183814605*' OR number = '018381460*' OR number = '01838146*' OR number = '0183814*' OR number = '018381*' OR number = '01838*' OR number = '0183*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  1687. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1688. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0183814605' OR routing_prefix = '018381460' OR routing_prefix = '01838146' OR routing_prefix = '0183814' OR routing_prefix = '018381' OR routing_prefix = '01838' OR routing_prefix = '0183' OR routing_prefix = '018' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                      
  1689. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1690. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  1691. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  1692. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  1693. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1694. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  1695. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1696. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1697. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  1698. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1699. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0183814605" LIMIT 1                                                                                                                                                              
  1700. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  1701. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1702. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 10425
  1703. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1704. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1705. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1706. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0183814605
  1707. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  1708. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  1709. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1710. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  1711. 2024-03-19 14:48:44.464162 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1712. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  1713. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1714. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1715. 2024-03-19 14:48:44.464162 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  1716. 2024-03-19 14:48:44.464162 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++109
  1717. 2024-03-19 14:48:44.464162 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "109" AND deleted = 0 limit 1
  1718. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  1719. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  1720. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  1721. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1
  1722. 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : legalaidsa.nebular.co.za
  1723. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  1724. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1725. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  1726. 2024-03-19 14:48:44.484193 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  1727. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0879445198
  1728. 2024-03-19 14:48:44.484193 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0879445198
  1729. 2024-03-19 14:48:44.484193 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27879445198
  1730. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  1731. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1
  1732. 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : legalaidsa.nebular.co.za
  1733. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  1734. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1945384195"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  1735. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1463 limit 1
  1736. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1737. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1738. 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforelegalaidsa.nebular.co.za
  1739. 2024-03-19 14:48:44.484193 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  1740. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  1741. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  1742. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='1945384195' and uuid = 'c8dc4af8-e5ff-11ee-80c8-d17fbcf33421' order by id desc limit 1                                                                                                                                                            
  1743. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='1945384195' order by id desc limit 1
  1744. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1945384195"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  1745. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1463 limit 1
  1746. 2024-03-19 14:48:44.484193 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1747. <document type="freeswitch/xml">                                                                                                                                                                                  
  1748. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  1749. <context name="default">                                                                                                                                                                                          
  1750. <extension name="0183814605">                                                                                                                                                                                      
  1751. <condition field="destination_number" expression="D9570183814605">                                                                                                                                                
  1752. <action application="set" data="effective_destination_number=0183814605"/>                                                                                                                                        
  1753. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  1754. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  1755. <action application="set" data="callstart=2024-03-19 14:48:44"/>                                                                                                                                                  
  1756. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1757. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  1758. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  1759. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  1760. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  1761. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  1762. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  1763. <action application="set" data="accountname=default"/>                                                                                                                                                            
  1764. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  1765. <action application="set" data="origination_rates_did=ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109"/>                                                                                                                                                                                                    
  1766. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  1767. <action application="set" data="original_caller_id_name=0879445198"/>                                                                                                                                              
  1768. <action application="set" data="effective_caller_id_name=27879445198"/>                                                                                                                                            
  1769. <action application="set" data="receiver_accid=109"/>                                                                                                                                                              
  1770. <action application="export" data="domain_name=legalaidsa.nebular.co.za"/>                                                                                                                                        
  1771. <action application="export" data="sip_to_host=legalaidsa.nebular.co.za"/>                                                                                                                                        
  1772. <action application="export" data="presence_data=x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  1773. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  1774. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  1775. <action application="db" data="insert/pickup_any_group_${callgroup}/1945384195/${uuid}"/>                                                                                                                          
  1776. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  1777. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  1778. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  1779. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  1780. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  1781. <action application="export" data="did_user_domain=legalaidsa.nebular.co.za"/>                                                                                                                                    
  1782. <action application="sleep" data="1000"/>                                                                                                                                                                          
  1783. <action application="ring_ready"/>                                                                                                                                                                                
  1784. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/1945384195@legalaidsa.nebular.co.za^0183814605"/>                                                      
  1785. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  1786. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  1787. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  1788. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  1789. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  1790. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  1791. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  1792. <action application="set" data="variable_sip_to_host=legalaidsa.nebular.co.za"/>                                                                                                                                  
  1793. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  1794. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  1795. <action application="set" data="userinfo_id=109"/>                                                                                                                                                                
  1796. <action application="set" data="sip_destination_number=1945384195"/>                                                                                                                                              
  1797. <action application="set" data="destination_number=0183814605"/>                                                                                                                                                  
  1798. <action application="set" data="did_number=0183814605"/>                                                                                                                                                          
  1799. <action application="set" data="user_domain=legalaidsa.nebular.co.za"/>                                                                                                                                            
  1800. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  1801. <condition field="${cond(${user_data 1945384195@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  1802. <action application="answer"/>                                                                                                                                                                                    
  1803. <action application="export" data="voicemail_alternate_greet_id=0183814605"/>                                                                                                                                      
  1804. <action application="voicemail" data="default $${domain_name} 1945384195"/>                                                                                                                                        
  1805. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  1806. </condition>                                                                                                                                                                                                      
  1807. </condition>                                                                                                                                                                                                      
  1808. </extension>                                                                                                                                                                                                      
  1809. </context>                                                                                                                                                                                                        
  1810. </section>                                                                                                                                                                                                        
  1811. </document>                                                                                                                                                                                                        
  1812. 2024-03-19 14:48:44.484193 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  1813. Dialplan: sofia/default/0879445198@41.160.32.115:5060 parsing [default->0183814605] continue=false
  1814. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Regex (PASS) [0183814605] destination_number(D9570183814605) =~ /D9570183814605/ break=on-false
  1815. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(effective_destination_number=0183814605)
  1816. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1817. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1818. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:44)
  1819. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1820. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  1821. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(account_id=3)
  1822. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(parent_id=0)
  1823. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(entity_id=3)
  1824. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(call_processed=internal)
  1825. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(call_direction=inbound)
  1826. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(accountname=default)
  1827. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  1828. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(origination_rates_did=ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109)                                                                                                                                                                      
  1829. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(origination_rates=0)
  1830. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(original_caller_id_name=0879445198)
  1831. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(effective_caller_id_name=27879445198)
  1832. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(receiver_accid=109)
  1833. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(domain_name=legalaidsa.nebular.co.za)
  1834. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(sip_to_host=legalaidsa.nebular.co.za)
  1835. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115)
  1836. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(call_type=5)
  1837. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(calltype=SIP-DID)
  1838. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/1945384195/${uuid})
  1839. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  1840. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  1841. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1842. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1843. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  1844. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action export(did_user_domain=legalaidsa.nebular.co.za)
  1845. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action sleep(1000)
  1846. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action ring_ready()
  1847. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/1945384195@legalaidsa.nebular.co.za^0183814605)
  1848. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(on_busy_flag=1)
  1849. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(on_busy_destination=)
  1850. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(no_answer_flag=1)
  1851. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(no_answer_destination=)
  1852. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(not_register_flag=1)
  1853. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(not_register_destination=)
  1854. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(opensips_flag=0)
  1855. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(variable_sip_to_host=legalaidsa.nebular.co.za)
  1856. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  1857. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(leg_timeout=20)
  1858. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(userinfo_id=109)
  1859. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(sip_destination_number=1945384195)
  1860. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(destination_number=0183814605)
  1861. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(did_number=0183814605)
  1862. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action set(user_domain=legalaidsa.nebular.co.za)
  1863. Dialplan: sofia/default/0879445198@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1864. |--- Dialplan: Processing recursive conditions level:1 [0183814605_recur_1] require-nested=TRUE
  1865. |--- Dialplan: sofia/default/0879445198@41.160.32.115:5060 Regex (FAIL) [0183814605_recur_1] ${cond(${user_data 1945384195@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  1866. |--- Dialplan: sofia/default/0879445198@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  1867. 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  1868. 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0879445198@41.160.32.115:5060) State ROUTING going to sleep
  1869. 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 38 Tot 535913)
  1870. 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0879445198@41.160.32.115:5060) State EXECUTE
  1871. 2024-03-19 14:48:44.504175 [DEBUG] mod_sofia.c:198 sofia/default/0879445198@41.160.32.115:5060 SOFIA EXECUTE
  1872. 2024-03-19 14:48:44.504175 [DEBUG] switch_core_state_machine.c:328 sofia/default/0879445198@41.160.32.115:5060 Standard EXECUTE
  1873. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(effective_destination_number=0183814605)
  1874. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [effective_destination_number]=[0183814605]
  1875. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  1876. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1877. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1878. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1879. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(callstart=2024-03-19 14:48:44)
  1880. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:44]
  1881. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(hangup_after_bridge=true)
  1882. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1883. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(continue_on_fail=TRUE)
  1884. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  1885. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(account_id=3)
  1886. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [account_id]=[3]
  1887. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(parent_id=0)
  1888. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [parent_id]=[0]
  1889. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(entity_id=3)
  1890. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [entity_id]=[3]
  1891. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(call_processed=internal)
  1892. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [call_processed]=[internal]
  1893. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(call_direction=inbound)
  1894. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [call_direction]=[inbound]
  1895. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(accountname=default)
  1896. 2024-03-19 14:48:44.504175 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [accountname]=[default]
  1897. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  1898. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  1899. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(origination_rates_did=ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109)                                                                                                                                                                              
  1900. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [origination_rates_did]=[ID:10425|CODE:^0183814605.*|DESTINATION:0183814605|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109]                                                                                                                              
  1901. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(origination_rates=0)
  1902. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [origination_rates]=[0]
  1903. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(original_caller_id_name=0879445198)
  1904. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [original_caller_id_name]=[0879445198]
  1905. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(effective_caller_id_name=27879445198)
  1906. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [effective_caller_id_name]=[27879445198]
  1907. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(receiver_accid=109)
  1908. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [receiver_accid]=[109]
  1909. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(domain_name=legalaidsa.nebular.co.za)
  1910. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[legalaidsa.nebular.co.za]
  1911. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(sip_to_host=legalaidsa.nebular.co.za)
  1912. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[legalaidsa.nebular.co.za]
  1913. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115)
  1914. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115]
  1915. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(call_type=5)
  1916. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  1917. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(calltype=SIP-DID)
  1918. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [calltype]=[SIP-DID]
  1919. EXECUTE sofia/default/0879445198@41.160.32.115:5060 db(insert/pickup_any_group_/1945384195/c8dc4af8-e5ff-11ee-80c8-d17fbcf33421)
  1920. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(dialed_extension=transfer_call)
  1921. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  1922. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(dialed_extension=transfer_call)
  1923. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1924. EXECUTE sofia/default/0879445198@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1925. 2024-03-19 14:48:44.524167 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1926. EXECUTE sofia/default/0879445198@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1927. 2024-03-19 14:48:44.524167 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1928. EXECUTE sofia/default/0879445198@41.160.32.115:5060 set(hangup_after_bridge=true)
  1929. 2024-03-19 14:48:44.524167 [DEBUG] mod_dptools.c:1548 SET sofia/default/0879445198@41.160.32.115:5060 [hangup_after_bridge]=[true]
  1930. EXECUTE sofia/default/0879445198@41.160.32.115:5060 export(did_user_domain=legalaidsa.nebular.co.za)
  1931. 2024-03-19 14:48:44.524167 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[legalaidsa.nebular.co.za]
  1932. EXECUTE sofia/default/0879445198@41.160.32.115:5060 sleep(1000)
  1933. 2024-03-19 14:48:44.824180 [DEBUG] switch_scheduler.c:144 Deleting task 216737 switch_ivr_schedule_hangup (c821b9e0-e5ff-11ee-80c2-d17fbcf33421)
  1934. EXECUTE sofia/default/0879445198@41.160.32.115:5060 ring_ready()
  1935. 2024-03-19 14:48:45.524177 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0879445198@41.160.32.115:5060!
  1936. 2024-03-19 14:48:45.524177 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [early][180]
  1937. 2024-03-19 14:48:45.524177 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0879445198@41.160.32.115:5060!
  1938. EXECUTE sofia/default/0879445198@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/1945384195@legalaidsa.nebular.co.za^0183814605)
  1939. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[legalaidsa.nebular.co.za] to event
  1940. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[legalaidsa.nebular.co.za] to event
  1941. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0183814605.* // 0183814605 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                      
  1942. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  1943. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1944. 2024-03-19 14:48:45.524177 [DEBUG] switch_channel.c:1250 sofia/default/0879445198@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[legalaidsa.nebular.co.za] to event
  1945. 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1946. 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1947. 2024-03-19 14:48:45.524177 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1945384195@legalaidsa.nebular.co.za [c9844c80-e5ff-11ee-80f0-d17fbcf33421]
  1948. 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:4819 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_NEW -> CS_INIT
  1949. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_INIT (Cur 39 Tot 535914)
  1950. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1945384195@legalaidsa.nebular.co.za) State INIT
  1951. 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:90 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA INIT
  1952. 2024-03-19 14:48:45.524177 [DEBUG] sofia_glue.c:1295 sofia/default/1945384195@legalaidsa.nebular.co.za sending invite version: 1.6.20  64bit
  1953. Local SDP:                                                                                                                                                                                                        
  1954. v=0                                                                                                                                                                                                                
  1955. o=FreeSWITCH 1710830977 1710830978 IN IP4 156.38.231.107                                                                                                                                                          
  1956. s=FreeSWITCH                                                                                                                                                                                                      
  1957. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  1958. t=0 0                                                                                                                                                                                                              
  1959. m=audio 28748 RTP/AVP 18 101                                                                                                                                                                                      
  1960. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1961. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1962. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1963. a=fmtp:101 0-16                                                                                                                                                                                                    
  1964. a=ptime:20                                                                                                                                                                                                        
  1965. a=sendrecv                                                                                                                                                                                                        
  1966.  
  1967. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:40 sofia/default/1945384195@legalaidsa.nebular.co.za Standard INIT
  1968. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  1969. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:627 (sofia/default/1945384195@legalaidsa.nebular.co.za) State INIT going to sleep
  1970. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_ROUTING (Cur 39 Tot 535914)
  1971. 2024-03-19 14:48:45.524177 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [calling][0]
  1972. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1945384195@legalaidsa.nebular.co.za) State ROUTING
  1973. 2024-03-19 14:48:45.524177 [DEBUG] mod_sofia.c:143 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA ROUTING
  1974. 2024-03-19 14:48:45.524177 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1975. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1945384195@legalaidsa.nebular.co.za) State ROUTING going to sleep
  1976. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 39 Tot 535914)
  1977. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:662 (sofia/default/1945384195@legalaidsa.nebular.co.za) State CONSUME_MEDIA
  1978. 2024-03-19 14:48:45.524177 [DEBUG] switch_core_state_machine.c:662 (sofia/default/1945384195@legalaidsa.nebular.co.za) State CONSUME_MEDIA going to sleep
  1979. 2024-03-19 14:48:45.644189 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [proceeding][180]
  1980. 2024-03-19 14:48:45.644189 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/1945384195@legalaidsa.nebular.co.za!
  1981. 2024-03-19 14:48:45.644189 [DEBUG] switch_channel.c:3346 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change DOWN -> RINGING
  1982. 2024-03-19 14:48:45.644189 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0879445198@41.160.32.115:5060!
  1983. 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completing][200]
  1984. 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7094 Remote SDP:
  1985. v=0                                                                                                                                                                                                                
  1986. o=3cxPS 93449093120 500833452033 IN IP4 156.38.150.6                                                                                                                                                              
  1987. s=3cxPS Audio call                                                                                                                                                                                                
  1988. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  1989. t=0 0                                                                                                                                                                                                              
  1990. m=audio 9654 RTP/AVP 18 101                                                                                                                                                                                        
  1991. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  1992. a=fmtp:18 annexb=no                                                                                                                                                                                                
  1993. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  1994.  
  1995. 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200]
  1996. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1997. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1998. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1999. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/1945384195@legalaidsa.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  2000. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_codec.c:111 sofia/default/1945384195@legalaidsa.nebular.co.za Original read codec set to G729:18
  2001. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2002. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2003. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1945384195@legalaidsa.nebular.co.za] 156.38.231.107 port 28748 -> 156.38.150.6 port 9654 codec: 18 ms: 20
  2004. 2024-03-19 14:48:45.684171 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2005. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7180 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101
  2006. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7187 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf receive payload to 101
  2007. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7210 sofia/default/1945384195@legalaidsa.nebular.co.za Set rtp dtmf delay to 40
  2008. 2024-03-19 14:48:45.684171 [NOTICE] sofia.c:8218 Channel [sofia/default/1945384195@legalaidsa.nebular.co.za] has been answered
  2009. 2024-03-19 14:48:45.684171 [DEBUG] switch_channel.c:3773 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change RINGING -> ACTIVE
  2010. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0879445198@41.160.32.115:5060] 156.38.231.107 port 24378 -> 41.160.32.115 port 22140 codec: 18 ms: 20
  2011. 2024-03-19 14:48:45.684171 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2012. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7180 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  2013. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7187 sofia/default/0879445198@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  2014. 2024-03-19 14:48:45.684171 [DEBUG] switch_core_media.c:7210 sofia/default/0879445198@41.160.32.115:5060 Set rtp dtmf delay to 40
  2015. 2024-03-19 14:48:45.684171 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0879445198@41.160.32.115:5060:
  2016. v=0                                                                                                                                                                                                                
  2017. o=FreeSWITCH 1710835347 1710835348 IN IP4 156.38.231.107                                                                                                                                                          
  2018. s=FreeSWITCH                                                                                                                                                                                                      
  2019. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  2020. t=0 0                                                                                                                                                                                                              
  2021. m=audio 24378 RTP/AVP 18 101                                                                                                                                                                                      
  2022. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2023. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2024. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2025. a=fmtp:101 0-16                                                                                                                                                                                                    
  2026. a=ptime:20                                                                                                                                                                                                        
  2027. a=sendrecv                                                                                                                                                                                                        
  2028.  
  2029. 2024-03-19 14:48:45.684171 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0879445198@41.160.32.115:5060] has been answered
  2030. 2024-03-19 14:48:45.684171 [DEBUG] switch_channel.c:3773 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  2031. 2024-03-19 14:48:45.684171 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [completed][200]
  2032. 2024-03-19 14:48:45.684171 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/1945384195@legalaidsa.nebular.co.za]
  2033. 2024-03-19 14:48:45.704182 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2034. 2024-03-19 14:48:45.704182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 39 Tot 535914)
  2035. 2024-03-19 14:48:45.704182 [DEBUG] switch_core_state_machine.c:653 (sofia/default/1945384195@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA
  2036. 2024-03-19 14:48:45.704182 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  2037. 2024-03-19 14:48:45.744163 [NOTICE] sofia.c:1012 Hangup sofia/default/27124315100@saqa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  2038. 2024-03-19 14:48:45.744163 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/27124315100@saqa.nebular.co.za:5060]
  2039. 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:706 sofia/default/27124315100@saqa.nebular.co.za:5060 ending bridge by request from write function
  2040. 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0614005014]
  2041. 2024-03-19 14:48:45.764167 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0614005014 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2042. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0614005014) State EXCHANGE_MEDIA going to sleep
  2043. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0614005014) Running State Change CS_HANGUP (Cur 39 Tot 535914)
  2044. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0614005014) Callstate Change ACTIVE -> HANGUP
  2045. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0614005014) State HANGUP
  2046. 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:432 sofia/default/0614005014 Overriding SIP cause 480 with 200 from the other leg
  2047. 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0614005014 skip receive message [UNBRIDGE] (channel is hungup already)
  2048. 2024-03-19 14:48:45.764167 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/27124315100@saqa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2049. 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:438 Channel sofia/default/0614005014 hanging up, cause: NORMAL_CLEARING
  2050. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_session.c:2815 sofia/default/27124315100@saqa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2051. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124315100@saqa.nebular.co.za:5060) State EXECUTE going to sleep
  2052. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 39 Tot 535914)
  2053. 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0614005014
  2054. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:850 (sofia/default/27124315100@saqa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  2055. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:60 sofia/default/0614005014 Standard HANGUP, cause: NORMAL_CLEARING
  2056. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0614005014) State HANGUP going to sleep
  2057. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124315100@saqa.nebular.co.za:5060) State HANGUP
  2058. 2024-03-19 14:48:45.764167 [DEBUG] mod_sofia.c:438 Channel sofia/default/27124315100@saqa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  2059. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0614005014) State Change CS_HANGUP -> CS_REPORTING
  2060. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0614005014) Running State Change CS_REPORTING (Cur 39 Tot 535914)
  2061. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0614005014) State REPORTING
  2062. 2024-03-19 14:48:45.764167 [INFO] mod_json_cdr.c:271 Process [ac7f9770-e5ff-11ee-bf3d-d17fbcf33421.cdr.json]
  2063. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:60 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  2064. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:852 (sofia/default/27124315100@saqa.nebular.co.za:5060) State HANGUP going to sleep
  2065. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:619 (sofia/default/27124315100@saqa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  2066. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 39 Tot 535914)
  2067. 2024-03-19 14:48:45.764167 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124315100@saqa.nebular.co.za:5060) State REPORTING
  2068. 2024-03-19 14:48:45.764167 [INFO] mod_json_cdr.c:271 Process [ac729d90-e5ff-11ee-bf1a-d17fbcf33421.cdr.json]
  2069. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:174 sofia/default/0614005014 Standard REPORTING, cause: NORMAL_CLEARING
  2070. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0614005014) State REPORTING going to sleep
  2071. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0614005014) State Change CS_REPORTING -> CS_DESTROY
  2072. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_session.c:1665 Session 535895 (sofia/default/0614005014) Locked, Waiting on external entities
  2073. 2024-03-19 14:48:45.784157 [NOTICE] switch_core_session.c:1683 Session 535895 (sofia/default/0614005014) Ended
  2074. 2024-03-19 14:48:45.784157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0614005014 [CS_DESTROY]
  2075. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0614005014) Running State Change CS_DESTROY (Cur 38 Tot 535914)
  2076. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0614005014) State DESTROY
  2077. 2024-03-19 14:48:45.784157 [DEBUG] mod_sofia.c:343 sofia/default/0614005014 SOFIA DESTROY
  2078. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:181 sofia/default/0614005014 Standard DESTROY
  2079. 2024-03-19 14:48:45.784157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0614005014) State DESTROY going to sleep
  2080. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:174 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  2081. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/27124315100@saqa.nebular.co.za:5060) State REPORTING going to sleep
  2082. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/27124315100@saqa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  2083. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_session.c:1665 Session 535894 (sofia/default/27124315100@saqa.nebular.co.za:5060) Locked, Waiting on external entities
  2084. 2024-03-19 14:48:45.804157 [NOTICE] switch_core_session.c:1683 Session 535894 (sofia/default/27124315100@saqa.nebular.co.za:5060) Ended
  2085. 2024-03-19 14:48:45.804157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/27124315100@saqa.nebular.co.za:5060 [CS_DESTROY]
  2086. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/27124315100@saqa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 37 Tot 535914)
  2087. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124315100@saqa.nebular.co.za:5060) State DESTROY
  2088. 2024-03-19 14:48:45.804157 [DEBUG] mod_sofia.c:343 sofia/default/27124315100@saqa.nebular.co.za:5060 SOFIA DESTROY
  2089. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:181 sofia/default/27124315100@saqa.nebular.co.za:5060 Standard DESTROY
  2090. 2024-03-19 14:48:45.804157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/27124315100@saqa.nebular.co.za:5060) State DESTROY going to sleep
  2091. 2024-03-19 14:48:45.824157 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2092. 2024-03-19 14:48:45.824157 [DEBUG] sofia.c:7084 Channel sofia/default/0879445198@41.160.32.115:5060 entering state [ready][200]
  2093. 2024-03-19 14:48:45.824157 [DEBUG] switch_scheduler.c:144 Deleting task 216730 switch_ivr_schedule_hangup (ac7f9770-e5ff-11ee-bf3d-d17fbcf33421)
  2094. 2024-03-19 14:48:45.884162 [DEBUG] switch_ivr_bridge.c:546 sofia/default/1945384195@legalaidsa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  2095. 2024-03-19 14:48:45.904153 [DEBUG] switch_ivr.c:623 sofia/default/1945384195@legalaidsa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  2096. EXECUTE sofia/default/1945384195@legalaidsa.nebular.co.za sched_hangup(+6000 normal_clearing)
  2097. 2024-03-19 14:48:45.904153 [DEBUG] switch_scheduler.c:249 Added task 216738 switch_ivr_schedule_hangup (c9844c80-e5ff-11ee-80f0-d17fbcf33421) to run at 1710865725
  2098. 2024-03-19 14:48:45.944171 [NOTICE] sofia.c:1012 Hangup sofia/default/+27633199717@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  2099. 2024-03-19 14:48:45.944171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27633199717@41.160.32.115:5060]
  2100. 2024-03-19 14:48:45.964181 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9654 to 156.38.231.105:9654
  2101. 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:706 sofia/default/+27633199717@41.160.32.115:5060 ending bridge by request from write function
  2102. 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/7682330505@legalaidsa.nebular.co.za]
  2103. 2024-03-19 14:48:45.964181 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/7682330505@legalaidsa.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2104. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7682330505@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  2105. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535914)
  2106. 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/7682330505@legalaidsa.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  2107. 2024-03-19 14:48:45.964181 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27633199717@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2108. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  2109. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7682330505@legalaidsa.nebular.co.za) State HANGUP
  2110. 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:432 sofia/default/7682330505@legalaidsa.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  2111. 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:438 Channel sofia/default/7682330505@legalaidsa.nebular.co.za hanging up, cause: NORMAL_CLEARING
  2112. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_session.c:2815 sofia/default/+27633199717@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2113. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27633199717@41.160.32.115:5060) State EXECUTE going to sleep
  2114. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535914)
  2115. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27633199717@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  2116. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27633199717@41.160.32.115:5060) State HANGUP
  2117. 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27633199717@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  2118. 2024-03-19 14:48:45.964181 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/7682330505@legalaidsa.nebular.co.za
  2119. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:60 sofia/default/7682330505@legalaidsa.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  2120. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/7682330505@legalaidsa.nebular.co.za) State HANGUP going to sleep
  2121. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:619 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  2122. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535914)
  2123. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7682330505@legalaidsa.nebular.co.za) State REPORTING
  2124. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27633199717@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  2125. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27633199717@41.160.32.115:5060) State HANGUP going to sleep
  2126. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27633199717@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  2127. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535914)
  2128. 2024-03-19 14:48:45.964181 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27633199717@41.160.32.115:5060) State REPORTING
  2129. 2024-03-19 14:48:45.964181 [INFO] mod_json_cdr.c:271 Process [85c1db7a-e5ff-11ee-bca2-d17fbcf33421.cdr.json]
  2130. 2024-03-19 14:48:45.964181 [INFO] mod_json_cdr.c:271 Process [8517d2ba-e5ff-11ee-bc7a-d17fbcf33421.cdr.json]
  2131. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:174 sofia/default/7682330505@legalaidsa.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  2132. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:938 (sofia/default/7682330505@legalaidsa.nebular.co.za) State REPORTING going to sleep
  2133. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:610 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  2134. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_session.c:1665 Session 535863 (sofia/default/7682330505@legalaidsa.nebular.co.za) Locked, Waiting on external entities
  2135. 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1683 Session 535863 (sofia/default/7682330505@legalaidsa.nebular.co.za) Ended
  2136. 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/7682330505@legalaidsa.nebular.co.za [CS_DESTROY]
  2137. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:741 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535914)
  2138. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7682330505@legalaidsa.nebular.co.za) State DESTROY
  2139. 2024-03-19 14:48:45.984312 [DEBUG] mod_sofia.c:343 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA DESTROY
  2140. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:181 sofia/default/7682330505@legalaidsa.nebular.co.za Standard DESTROY
  2141. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/7682330505@legalaidsa.nebular.co.za) State DESTROY going to sleep
  2142. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27633199717@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  2143. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27633199717@41.160.32.115:5060) State REPORTING going to sleep
  2144. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27633199717@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  2145. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_session.c:1665 Session 535862 (sofia/default/+27633199717@41.160.32.115:5060) Locked, Waiting on external entities
  2146. 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1683 Session 535862 (sofia/default/+27633199717@41.160.32.115:5060) Ended
  2147. 2024-03-19 14:48:45.984312 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27633199717@41.160.32.115:5060 [CS_DESTROY]
  2148. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27633199717@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535914)
  2149. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27633199717@41.160.32.115:5060) State DESTROY
  2150. 2024-03-19 14:48:45.984312 [DEBUG] mod_sofia.c:343 sofia/default/+27633199717@41.160.32.115:5060 SOFIA DESTROY
  2151. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27633199717@41.160.32.115:5060 Standard DESTROY
  2152. 2024-03-19 14:48:45.984312 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27633199717@41.160.32.115:5060) State DESTROY going to sleep
  2153. 2024-03-19 14:48:46.404178 [DEBUG] switch_scheduler.c:144 Deleting task 216713 switch_ivr_schedule_hangup (85c1db7a-e5ff-11ee-bca2-d17fbcf33421)
  2154. 2024-03-19 14:48:48.424178 [NOTICE] switch_channel.c:1104 New Channel sofia/default/0608899793@41.160.32.115:5060 [cb3d579c-e5ff-11ee-80f6-d17fbcf33421]
  2155. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_NEW (Cur 36 Tot 535915)
  2156. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:9873 sofia/default/0608899793@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  2157. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  2158. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [received][100]
  2159. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7094 Remote SDP:
  2160. v=0                                                                                                                                                                                                                
  2161. o=HuaweiSoftX3000 130447790744128 130447790744128 IN IP4 41.160.32.115                                                                                                                                            
  2162. s=-                                                                                                                                                                                                                
  2163. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  2164. t=0 0                                                                                                                                                                                                              
  2165. m=audio 22142 RTP/AVP 18 8 101                                                                                                                                                                                    
  2166. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2167. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2168. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2169. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2170. a=fmtp:101 0-15                                                                                                                                                                                                    
  2171. a=ptime:20                                                                                                                                                                                                        
  2172.  
  2173. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  2174. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  2175. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2176. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2177. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2178. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2179. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  2180. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2181. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2182. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2183. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2184. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2185. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/0608899793@41.160.32.115:5060 G729/8000 20 ms 160 samples 8000 bits 1 channels
  2186. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_codec.c:111 sofia/default/0608899793@41.160.32.115:5060 Original read codec set to G729:18
  2187. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2188. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_media.c:4767 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  2189. 2024-03-19 14:48:48.424178 [DEBUG] sofia.c:7507 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  2190. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:603 (sofia/default/0608899793@41.160.32.115:5060) State NEW
  2191. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_INIT (Cur 36 Tot 535915)
  2192. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT
  2193. 2024-03-19 14:48:48.424178 [DEBUG] mod_sofia.c:90 sofia/default/0608899793@41.160.32.115:5060 SOFIA INIT
  2194. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:40 sofia/default/0608899793@41.160.32.115:5060 Standard INIT
  2195. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  2196. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/0608899793@41.160.32.115:5060) State INIT going to sleep
  2197. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 36 Tot 535915)
  2198. 2024-03-19 14:48:48.424178 [DEBUG] switch_channel.c:2249 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  2199. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING
  2200. 2024-03-19 14:48:48.424178 [DEBUG] mod_sofia.c:143 sofia/default/0608899793@41.160.32.115:5060 SOFIA ROUTING
  2201. 2024-03-19 14:48:48.424178 [DEBUG] switch_core_state_machine.c:236 sofia/default/0608899793@41.160.32.115:5060 Standard ROUTING
  2202. 2024-03-19 14:48:48.424178 [INFO] mod_dialplan_xml.c:637 Processing 0608899793 <0608899793>->D9570415810403 in context default
  2203. 2024-03-19 14:48:48.424178 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  2204. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2205. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2206. 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2207. 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570415810403
  2208. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570415810403' limit 1
  2209. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570415810403' AND status=0 limit 1
  2210. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570415810403' and status=0 LIMIT 1                                                                                                                                                                                                      
  2211. 2024-03-19 14:48:48.424178 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  2212. 2024-03-19 14:48:48.424178 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 0608899793 / <null>
  2213. 2024-03-19 14:48:48.424178 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570415810403" LIMIT 1                                                                                                                                                          
  2214. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570415810403"  AND domains.domain="156.38.231.106" limit 1                                                                                            
  2215. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  2216. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  2217. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  2218. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570415810403.*' OR blocked_patterns = '^D957041581040.*' OR blocked_patterns = '^D95704158104.*' OR blocked_patterns = '^D9570415810.*' OR blocked_patterns = '^D957041581.*' OR blocked_patterns = '^D95704158.*' OR blocked_patterns = '^D9570415.*' OR blocked_patterns = '^D957041.*' OR blocked_patterns = '^D95704.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1                                                                                                                                                                        
  2219. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570415810403" AND (accountid = 0 OR status = 1) LIMIT 1
  2220. 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  2221. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  2222. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570415810403
  2223. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570415810403
  2224. 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570415810403
  2225. 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0415810403
  2226. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0415810403.*' OR patterns = '^041581040.*' OR patterns = '^04158104.*' OR patterns = '^0415810.*' OR patterns = '^041581.*' OR patterns = '^04158.*' OR patterns = '^0415.*' OR patterns = '^041.*' OR patterns = '^04.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                          
  2227. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0415810403" AND A.accountid = '3' limit 1                                                                                                                                                                          
  2228. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0415810403
  2229. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0415810403" LIMIT 1                                                                                                                                                              
  2230. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  2231. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0415810403' OR number = '041581040' OR number = '04158104' OR number = '0415810' OR number = '041581' OR number = '04158' OR number = '0415' OR number = '041' OR number = '04' OR number = '0' OR number ='--') OR (number = '0415810403*' OR number = '041581040*' OR number = '04158104*' OR number = '0415810*' OR number = '041581*' OR number = '04158*' OR number = '0415*' OR number = '041*' OR number = '04*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  2232. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2233. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0415810403' OR routing_prefix = '041581040' OR routing_prefix = '04158104' OR routing_prefix = '0415810' OR routing_prefix = '041581' OR routing_prefix = '04158' OR routing_prefix = '0415' OR routing_prefix = '041' OR routing_prefix = '04' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                      
  2234. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2235. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  2236. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  2237. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  2238. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2239. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  2240. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2241. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2242. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  2243. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2244. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0415810403" LIMIT 1                                                                                                                                                              
  2245. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  2246. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2247. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5473
  2248. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2249. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2250. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2251. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0415810403
  2252. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  2253. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  2254. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2255. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  2256. 2024-03-19 14:48:48.444159 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2257. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  2258. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  2259. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  2260. 2024-03-19 14:48:48.444159 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  2261. 2024-03-19 14:48:48.444159 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++103
  2262. 2024-03-19 14:48:48.444159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "103" AND deleted = 0 limit 1
  2263. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  2264. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  2265. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  2266. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  2267. 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : saws.nebular.co.za
  2268. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  2269. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2270. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  2271. 2024-03-19 14:48:48.464175 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  2272. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0608899793
  2273. 2024-03-19 14:48:48.464175 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0608899793
  2274. 2024-03-19 14:48:48.464175 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27608899793
  2275. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  2276. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  2277. 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za
  2278. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  2279. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3218565295"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  2280. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1063 limit 1
  2281. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  2282. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  2283. 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za
  2284. 2024-03-19 14:48:48.464175 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  2285. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  2286. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  2287. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3218565295' and uuid = 'cb3d579c-e5ff-11ee-80f6-d17fbcf33421' order by id desc limit 1                                                                                                                                                            
  2288. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3218565295' order by id desc limit 1
  2289. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3218565295"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  2290. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1063 limit 1
  2291. 2024-03-19 14:48:48.464175 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2292. <document type="freeswitch/xml">                                                                                                                                                                                  
  2293. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  2294. <context name="default">                                                                                                                                                                                          
  2295. <extension name="0415810403">                                                                                                                                                                                      
  2296. <condition field="destination_number" expression="D9570415810403">                                                                                                                                                
  2297. <action application="set" data="effective_destination_number=0415810403"/>                                                                                                                                        
  2298. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  2299. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  2300. <action application="set" data="callstart=2024-03-19 14:48:48"/>                                                                                                                                                  
  2301. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  2302. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  2303. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  2304. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  2305. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  2306. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  2307. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  2308. <action application="set" data="accountname=default"/>                                                                                                                                                            
  2309. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  2310. <action application="set" data="origination_rates_did=ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103"/>                                                                                                                                                                                                      
  2311. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  2312. <action application="set" data="original_caller_id_name=0608899793"/>                                                                                                                                              
  2313. <action application="set" data="effective_caller_id_name=27608899793"/>                                                                                                                                            
  2314. <action application="set" data="receiver_accid=103"/>                                                                                                                                                              
  2315. <action application="export" data="domain_name=saws.nebular.co.za"/>                                                                                                                                              
  2316. <action application="export" data="sip_to_host=saws.nebular.co.za"/>                                                                                                                                              
  2317. <action application="export" data="presence_data=x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  2318. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  2319. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  2320. <action application="db" data="insert/pickup_any_group_${callgroup}/3218565295/${uuid}"/>                                                                                                                          
  2321. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  2322. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  2323. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  2324. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  2325. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  2326. <action application="export" data="did_user_domain=saws.nebular.co.za"/>                                                                                                                                          
  2327. <action application="sleep" data="1000"/>                                                                                                                                                                          
  2328. <action application="ring_ready"/>                                                                                                                                                                                
  2329. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3218565295@saws.nebular.co.za^0415810403"/>                                                          
  2330. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  2331. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  2332. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  2333. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  2334. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  2335. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  2336. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  2337. <action application="set" data="variable_sip_to_host=saws.nebular.co.za"/>                                                                                                                                        
  2338. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  2339. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  2340. <action application="set" data="userinfo_id=103"/>                                                                                                                                                                
  2341. <action application="set" data="sip_destination_number=3218565295"/>                                                                                                                                              
  2342. <action application="set" data="destination_number=0415810403"/>                                                                                                                                                  
  2343. <action application="set" data="did_number=0415810403"/>                                                                                                                                                          
  2344. <action application="set" data="user_domain=saws.nebular.co.za"/>                                                                                                                                                  
  2345. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  2346. <condition field="${cond(${user_data 3218565295@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  2347. <action application="answer"/>                                                                                                                                                                                    
  2348. <action application="export" data="voicemail_alternate_greet_id=0415810403"/>                                                                                                                                      
  2349. <action application="voicemail" data="default $${domain_name} 3218565295"/>                                                                                                                                        
  2350. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  2351. </condition>                                                                                                                                                                                                      
  2352. </condition>                                                                                                                                                                                                      
  2353. </extension>                                                                                                                                                                                                      
  2354. </context>                                                                                                                                                                                                        
  2355. </section>                                                                                                                                                                                                        
  2356. </document>                                                                                                                                                                                                        
  2357. 2024-03-19 14:48:48.464175 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  2358. Dialplan: sofia/default/0608899793@41.160.32.115:5060 parsing [default->0415810403] continue=false
  2359. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (PASS) [0415810403] destination_number(D9570415810403) =~ /D9570415810403/ break=on-false
  2360. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_destination_number=0415810403)
  2361. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2362. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2363. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:48)
  2364. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  2365. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  2366. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(account_id=3)
  2367. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(parent_id=0)
  2368. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(entity_id=3)
  2369. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_processed=internal)
  2370. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(call_direction=inbound)
  2371. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(accountname=default)
  2372. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  2373. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates_did=ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                      
  2374. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(origination_rates=0)
  2375. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(original_caller_id_name=0608899793)
  2376. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(effective_caller_id_name=27608899793)
  2377. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(receiver_accid=103)
  2378. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za)
  2379. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za)
  2380. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115)
  2381. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(call_type=5)
  2382. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(calltype=SIP-DID)
  2383. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/3218565295/${uuid})
  2384. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  2385. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  2386. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  2387. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  2388. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  2389. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za)
  2390. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action sleep(1000)
  2391. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action ring_ready()
  2392. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3218565295@saws.nebular.co.za^0415810403)
  2393. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_flag=1)
  2394. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(on_busy_destination=)
  2395. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_flag=1)
  2396. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(no_answer_destination=)
  2397. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_flag=1)
  2398. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(not_register_destination=)
  2399. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_flag=0)
  2400. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za)
  2401. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  2402. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(leg_timeout=20)
  2403. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(userinfo_id=103)
  2404. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(sip_destination_number=3218565295)
  2405. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(destination_number=0415810403)
  2406. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(did_number=0415810403)
  2407. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za)
  2408. Dialplan: sofia/default/0608899793@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  2409. |--- Dialplan: Processing recursive conditions level:1 [0415810403_recur_1] require-nested=TRUE
  2410. |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 Regex (FAIL) [0415810403_recur_1] ${cond(${user_data 3218565295@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  2411. |--- Dialplan: sofia/default/0608899793@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  2412. 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:286 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  2413. 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:643 (sofia/default/0608899793@41.160.32.115:5060) State ROUTING going to sleep
  2414. 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535915)
  2415. 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE
  2416. 2024-03-19 14:48:48.484172 [DEBUG] mod_sofia.c:198 sofia/default/0608899793@41.160.32.115:5060 SOFIA EXECUTE
  2417. 2024-03-19 14:48:48.484172 [DEBUG] switch_core_state_machine.c:328 sofia/default/0608899793@41.160.32.115:5060 Standard EXECUTE
  2418. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_destination_number=0415810403)
  2419. 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_destination_number]=[0415810403]
  2420. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  2421. 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2422. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2423. 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2424. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(callstart=2024-03-19 14:48:48)
  2425. 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:48]
  2426. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true)
  2427. 2024-03-19 14:48:48.484172 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true]
  2428. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(continue_on_fail=TRUE)
  2429. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  2430. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(account_id=3)
  2431. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [account_id]=[3]
  2432. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(parent_id=0)
  2433. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [parent_id]=[0]
  2434. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(entity_id=3)
  2435. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [entity_id]=[3]
  2436. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_processed=internal)
  2437. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_processed]=[internal]
  2438. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(call_direction=inbound)
  2439. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [call_direction]=[inbound]
  2440. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(accountname=default)
  2441. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [accountname]=[default]
  2442. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  2443. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  2444. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates_did=ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                                
  2445. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates_did]=[ID:5473|CODE:^0415810403.*|DESTINATION:0415810403|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103]                                                                                                                              
  2446. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(origination_rates=0)
  2447. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [origination_rates]=[0]
  2448. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(original_caller_id_name=0608899793)
  2449. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [original_caller_id_name]=[0608899793]
  2450. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(effective_caller_id_name=27608899793)
  2451. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [effective_caller_id_name]=[27608899793]
  2452. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(receiver_accid=103)
  2453. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [receiver_accid]=[103]
  2454. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(domain_name=saws.nebular.co.za)
  2455. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za]
  2456. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za)
  2457. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za]
  2458. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115)
  2459. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115]
  2460. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(call_type=5)
  2461. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  2462. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(calltype=SIP-DID)
  2463. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [calltype]=[SIP-DID]
  2464. EXECUTE sofia/default/0608899793@41.160.32.115:5060 db(insert/pickup_any_group_/3218565295/cb3d579c-e5ff-11ee-80f6-d17fbcf33421)
  2465. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(dialed_extension=transfer_call)
  2466. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  2467. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(dialed_extension=transfer_call)
  2468. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  2469. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  2470. 2024-03-19 14:48:48.504232 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  2471. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  2472. 2024-03-19 14:48:48.504232 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  2473. EXECUTE sofia/default/0608899793@41.160.32.115:5060 set(hangup_after_bridge=true)
  2474. 2024-03-19 14:48:48.504232 [DEBUG] mod_dptools.c:1548 SET sofia/default/0608899793@41.160.32.115:5060 [hangup_after_bridge]=[true]
  2475. EXECUTE sofia/default/0608899793@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za)
  2476. 2024-03-19 14:48:48.504232 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za]
  2477. EXECUTE sofia/default/0608899793@41.160.32.115:5060 sleep(1000)
  2478. EXECUTE sofia/default/0608899793@41.160.32.115:5060 ring_ready()
  2479. 2024-03-19 14:48:49.504182 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/0608899793@41.160.32.115:5060!
  2480. 2024-03-19 14:48:49.504182 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [early][180]
  2481. 2024-03-19 14:48:49.504182 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/0608899793@41.160.32.115:5060!
  2482. EXECUTE sofia/default/0608899793@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/3218565295@saws.nebular.co.za^0415810403)
  2483. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event
  2484. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event
  2485. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0415810403.* // 0415810403 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                      
  2486. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  2487. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  2488. 2024-03-19 14:48:49.504182 [DEBUG] switch_channel.c:1250 sofia/default/0608899793@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event
  2489. 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2490. 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2491. 2024-03-19 14:48:49.504182 [NOTICE] switch_channel.c:1104 New Channel sofia/default/3218565295@saws.nebular.co.za [cbe43972-e5ff-11ee-811e-d17fbcf33421]
  2492. 2024-03-19 14:48:49.504182 [DEBUG] mod_sofia.c:4819 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_NEW -> CS_INIT
  2493. 2024-03-19 14:48:49.504182 [DEBUG] switch_ivr_originate.c:2963 sofia/default/3218565295@saws.nebular.co.za Setting leg timeout to 30
  2494. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535916)
  2495. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3218565295@saws.nebular.co.za) State INIT
  2496. 2024-03-19 14:48:49.504182 [DEBUG] mod_sofia.c:90 sofia/default/3218565295@saws.nebular.co.za SOFIA INIT
  2497. 2024-03-19 14:48:49.504182 [DEBUG] sofia_glue.c:1295 sofia/default/3218565295@saws.nebular.co.za sending invite version: 1.6.20  64bit
  2498. Local SDP:                                                                                                                                                                                                        
  2499. v=0                                                                                                                                                                                                                
  2500. o=FreeSWITCH 1710834621 1710834622 IN IP4 156.38.231.107                                                                                                                                                          
  2501. s=FreeSWITCH                                                                                                                                                                                                      
  2502. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  2503. t=0 0                                                                                                                                                                                                              
  2504. m=audio 25108 RTP/AVP 18 101                                                                                                                                                                                      
  2505. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2506. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2507. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2508. a=fmtp:101 0-16                                                                                                                                                                                                    
  2509. a=ptime:20                                                                                                                                                                                                        
  2510. a=sendrecv                                                                                                                                                                                                        
  2511.  
  2512. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:40 sofia/default/3218565295@saws.nebular.co.za Standard INIT
  2513. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  2514. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3218565295@saws.nebular.co.za) State INIT going to sleep
  2515. 2024-03-19 14:48:49.504182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535916)
  2516. 2024-03-19 14:48:49.524194 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [calling][0]
  2517. 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3218565295@saws.nebular.co.za) State ROUTING
  2518. 2024-03-19 14:48:49.524194 [DEBUG] mod_sofia.c:143 sofia/default/3218565295@saws.nebular.co.za SOFIA ROUTING
  2519. 2024-03-19 14:48:49.524194 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2520. 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3218565295@saws.nebular.co.za) State ROUTING going to sleep
  2521. 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535916)
  2522. 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3218565295@saws.nebular.co.za) State CONSUME_MEDIA
  2523. 2024-03-19 14:48:49.524194 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3218565295@saws.nebular.co.za) State CONSUME_MEDIA going to sleep
  2524. 2024-03-19 14:48:49.604190 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [proceeding][180]
  2525. 2024-03-19 14:48:49.604190 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/3218565295@saws.nebular.co.za!
  2526. 2024-03-19 14:48:49.604190 [DEBUG] switch_channel.c:3346 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change DOWN -> RINGING
  2527. 2024-03-19 14:48:49.624191 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/0608899793@41.160.32.115:5060!
  2528. 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [completing][200]
  2529. 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7094 Remote SDP:
  2530. v=0                                                                                                                                                                                                                
  2531. o=3cxPS 248017584128 327088603137 IN IP4 156.38.150.5                                                                                                                                                              
  2532. s=3cxPS Audio call                                                                                                                                                                                                
  2533. c=IN IP4 156.38.150.5                                                                                                                                                                                              
  2534. t=0 0                                                                                                                                                                                                              
  2535. m=audio 9568 RTP/AVP 18 101                                                                                                                                                                                        
  2536. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2537. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2538. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2539.  
  2540. 2024-03-19 14:48:49.664177 [DEBUG] sofia.c:7084 Channel sofia/default/3218565295@saws.nebular.co.za entering state [ready][200]
  2541. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2542. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2543. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2544. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/3218565295@saws.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  2545. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_codec.c:111 sofia/default/3218565295@saws.nebular.co.za Original read codec set to G729:18
  2546. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2547. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:4767 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2548. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/3218565295@saws.nebular.co.za] 156.38.231.107 port 25108 -> 156.38.150.5 port 9568 codec: 18 ms: 20
  2549. 2024-03-19 14:48:49.664177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2550. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7180 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf send payload to 101
  2551. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7187 sofia/default/3218565295@saws.nebular.co.za Set 2833 dtmf receive payload to 101
  2552. 2024-03-19 14:48:49.664177 [DEBUG] switch_core_media.c:7210 sofia/default/3218565295@saws.nebular.co.za Set rtp dtmf delay to 40
  2553. 2024-03-19 14:48:49.664177 [NOTICE] sofia.c:8218 Channel [sofia/default/3218565295@saws.nebular.co.za] has been answered
  2554. 2024-03-19 14:48:49.664177 [DEBUG] switch_channel.c:3773 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE
  2555. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/0608899793@41.160.32.115:5060] 156.38.231.107 port 19744 -> 41.160.32.115 port 22142 codec: 18 ms: 20
  2556. 2024-03-19 14:48:49.684159 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  2557. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7180 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  2558. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7187 sofia/default/0608899793@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  2559. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_media.c:7210 sofia/default/0608899793@41.160.32.115:5060 Set rtp dtmf delay to 40
  2560. 2024-03-19 14:48:49.684159 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0608899793@41.160.32.115:5060:
  2561. v=0                                                                                                                                                                                                                
  2562. o=FreeSWITCH 1710839985 1710839986 IN IP4 156.38.231.107                                                                                                                                                          
  2563. s=FreeSWITCH                                                                                                                                                                                                      
  2564. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  2565. t=0 0                                                                                                                                                                                                              
  2566. m=audio 19744 RTP/AVP 18 101                                                                                                                                                                                      
  2567. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2568. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2569. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2570. a=fmtp:101 0-16                                                                                                                                                                                                    
  2571. a=ptime:20                                                                                                                                                                                                        
  2572. a=sendrecv                                                                                                                                                                                                        
  2573.  
  2574. 2024-03-19 14:48:49.684159 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/0608899793@41.160.32.115:5060] has been answered
  2575. 2024-03-19 14:48:49.684159 [DEBUG] switch_channel.c:3773 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  2576. 2024-03-19 14:48:49.684159 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [completed][200]
  2577. 2024-03-19 14:48:49.684159 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/3218565295@saws.nebular.co.za]
  2578. 2024-03-19 14:48:49.684159 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2579. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 37 Tot 535916)
  2580. 2024-03-19 14:48:49.684159 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3218565295@saws.nebular.co.za) State EXCHANGE_MEDIA
  2581. 2024-03-19 14:48:49.684159 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  2582. 2024-03-19 14:48:49.704300 [DEBUG] switch_ivr_play_say.c:1942 done playing file /var/www/html/astpp/upload/pbx/ThistreeRe_.wav
  2583. 2024-03-19 14:48:49.704300 [DEBUG] switch_ivr_menu.c:377 waiting for 20/20 digits t/o 2000
  2584. 2024-03-19 14:48:49.804189 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2585. 2024-03-19 14:48:49.864178 [DEBUG] sofia.c:7084 Channel sofia/default/0608899793@41.160.32.115:5060 entering state [ready][200]
  2586. 2024-03-19 14:48:49.864178 [DEBUG] switch_ivr_bridge.c:546 sofia/default/3218565295@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  2587. 2024-03-19 14:48:49.884179 [DEBUG] switch_ivr.c:623 sofia/default/3218565295@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  2588. EXECUTE sofia/default/3218565295@saws.nebular.co.za sched_hangup(+6000 normal_clearing)
  2589. 2024-03-19 14:48:49.884179 [DEBUG] switch_scheduler.c:249 Added task 216739 switch_ivr_schedule_hangup (cbe43972-e5ff-11ee-811e-d17fbcf33421) to run at 1710865729
  2590. 2024-03-19 14:48:49.944179 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.5:9568 to 156.38.231.105:9568
  2591. 2024-03-19 14:48:52.564177 [NOTICE] sofia.c:1012 Hangup sofia/default/0608899793@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  2592. 2024-03-19 14:48:52.564177 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0608899793@41.160.32.115:5060]
  2593. 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0608899793@41.160.32.115:5060 ending bridge by request from write function
  2594. 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/3218565295@saws.nebular.co.za]
  2595. 2024-03-19 14:48:52.584161 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/3218565295@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2596. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3218565295@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  2597. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535916)
  2598. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3218565295@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  2599. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3218565295@saws.nebular.co.za) State HANGUP
  2600. 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:432 sofia/default/3218565295@saws.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  2601. 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:438 Channel sofia/default/3218565295@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING
  2602. 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/3218565295@saws.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  2603. 2024-03-19 14:48:52.584161 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0608899793@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2604. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_session.c:2815 sofia/default/0608899793@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2605. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0608899793@41.160.32.115:5060) State EXECUTE going to sleep
  2606. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535916)
  2607. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0608899793@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  2608. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP
  2609. 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:438 Channel sofia/default/0608899793@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  2610. 2024-03-19 14:48:52.584161 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/3218565295@saws.nebular.co.za
  2611. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:60 sofia/default/3218565295@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  2612. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3218565295@saws.nebular.co.za) State HANGUP going to sleep
  2613. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:619 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  2614. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535916)
  2615. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3218565295@saws.nebular.co.za) State REPORTING
  2616. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:60 sofia/default/0608899793@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  2617. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0608899793@41.160.32.115:5060) State HANGUP going to sleep
  2618. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  2619. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535916)
  2620. 2024-03-19 14:48:52.584161 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING
  2621. 2024-03-19 14:48:52.584161 [INFO] mod_json_cdr.c:271 Process [cbe43972-e5ff-11ee-811e-d17fbcf33421.cdr.json]
  2622. 2024-03-19 14:48:52.584161 [INFO] mod_json_cdr.c:271 Process [cb3d579c-e5ff-11ee-80f6-d17fbcf33421.cdr.json]
  2623. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:174 sofia/default/3218565295@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  2624. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3218565295@saws.nebular.co.za) State REPORTING going to sleep
  2625. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:610 (sofia/default/3218565295@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  2626. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_session.c:1665 Session 535916 (sofia/default/3218565295@saws.nebular.co.za) Locked, Waiting on external entities
  2627. 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1683 Session 535916 (sofia/default/3218565295@saws.nebular.co.za) Ended
  2628. 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/3218565295@saws.nebular.co.za [CS_DESTROY]
  2629. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:741 (sofia/default/3218565295@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535916)
  2630. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3218565295@saws.nebular.co.za) State DESTROY
  2631. 2024-03-19 14:48:52.604154 [DEBUG] mod_sofia.c:343 sofia/default/3218565295@saws.nebular.co.za SOFIA DESTROY
  2632. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:181 sofia/default/3218565295@saws.nebular.co.za Standard DESTROY
  2633. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3218565295@saws.nebular.co.za) State DESTROY going to sleep
  2634. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:174 sofia/default/0608899793@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  2635. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0608899793@41.160.32.115:5060) State REPORTING going to sleep
  2636. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0608899793@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  2637. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_session.c:1665 Session 535915 (sofia/default/0608899793@41.160.32.115:5060) Locked, Waiting on external entities
  2638. 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1683 Session 535915 (sofia/default/0608899793@41.160.32.115:5060) Ended
  2639. 2024-03-19 14:48:52.604154 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0608899793@41.160.32.115:5060 [CS_DESTROY]
  2640. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0608899793@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535916)
  2641. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY
  2642. 2024-03-19 14:48:52.604154 [DEBUG] mod_sofia.c:343 sofia/default/0608899793@41.160.32.115:5060 SOFIA DESTROY
  2643. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:181 sofia/default/0608899793@41.160.32.115:5060 Standard DESTROY
  2644. 2024-03-19 14:48:52.604154 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0608899793@41.160.32.115:5060) State DESTROY going to sleep
  2645. 2024-03-19 14:48:52.884175 [DEBUG] switch_scheduler.c:144 Deleting task 216739 switch_ivr_schedule_hangup (cbe43972-e5ff-11ee-811e-d17fbcf33421)
  2646. 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:424 digits ''
  2647. 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:513 Maximum timeouts
  2648. 2024-03-19 14:48:53.724157 [DEBUG] switch_ivr_menu.c:673 exit-sound '(null)'
  2649. EXECUTE sofia/default/0734382646@41.160.32.115:5060 lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  2650. 2024-03-19 14:48:53.724157 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed4810e810 Connected.
  2651. 2024-03-19 14:48:53.724157 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2652. 2024-03-19 14:48:53.804157 [WARNING] switch_cpp.cpp:1365 [ASTPP] This is last dispositions no_key_press This is No Answer Number : 145
  2653. 2024-03-19 14:48:53.804157 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET multidomain] Query :SELECT username FROM sip_devices WHERE id = 145 limit 1
  2654. 2024-03-19 14:48:53.804157 [WARNING] switch_cpp.cpp:1365 [ASTPP]  Bridge no_answer_number : {sip_invite_params=user=LOCAL,ignore_early_media=true,absolute_codec_string=^^:G729:PCMU:PCMA}sofia/${sofia_profile_name}/5805@karlovac.nebular.co.za                                                                                                                                                                                    
  2655. EXECUTE sofia/default/0734382646@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,absolute_codec_string=^^:G729:PCMU:PCMA}sofia/default/5805@karlovac.nebular.co.za)
  2656. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1823 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change ACTIVE -> RING_WAIT
  2657. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[karlovac.nebular.co.za] to event
  2658. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[karlovac.nebular.co.za] to event
  2659. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0103130010.* // 0103130010 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                      
  2660. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[10] to event
  2661. 2024-03-19 14:48:53.804157 [DEBUG] switch_channel.c:1250 sofia/default/0734382646@41.160.32.115:5060 EXPORTING[export_vars] [no_answer_number]=[145] to event
  2662. 2024-03-19 14:48:53.804157 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2663. 2024-03-19 14:48:53.804157 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5805@karlovac.nebular.co.za [ce730c4a-e5ff-11ee-8129-d17fbcf33421]
  2664. 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:4819 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_NEW -> CS_INIT
  2665. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_INIT (Cur 36 Tot 535917)
  2666. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5805@karlovac.nebular.co.za) State INIT
  2667. 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:90 sofia/default/5805@karlovac.nebular.co.za SOFIA INIT
  2668. 2024-03-19 14:48:53.804157 [DEBUG] sofia_glue.c:1295 sofia/default/5805@karlovac.nebular.co.za sending invite version: 1.6.20  64bit
  2669. Local SDP:                                                                                                                                                                                                        
  2670. v=0                                                                                                                                                                                                                
  2671. o=FreeSWITCH 1710833859 1710833860 IN IP4 156.38.231.107                                                                                                                                                          
  2672. s=FreeSWITCH                                                                                                                                                                                                      
  2673. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  2674. t=0 0                                                                                                                                                                                                              
  2675. m=audio 25874 RTP/AVP 18 0 8 101                                                                                                                                                                                  
  2676. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2677. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2678. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  2679. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2680. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2681. a=fmtp:101 0-16                                                                                                                                                                                                    
  2682. a=ptime:20                                                                                                                                                                                                        
  2683. a=sendrecv                                                                                                                                                                                                        
  2684.  
  2685. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:40 sofia/default/5805@karlovac.nebular.co.za Standard INIT
  2686. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  2687. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5805@karlovac.nebular.co.za) State INIT going to sleep
  2688. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_ROUTING (Cur 36 Tot 535917)
  2689. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5805@karlovac.nebular.co.za) State ROUTING
  2690. 2024-03-19 14:48:53.804157 [DEBUG] mod_sofia.c:143 sofia/default/5805@karlovac.nebular.co.za SOFIA ROUTING
  2691. 2024-03-19 14:48:53.804157 [DEBUG] switch_ivr_originate.c:67 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2692. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5805@karlovac.nebular.co.za) State ROUTING going to sleep
  2693. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 36 Tot 535917)
  2694. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5805@karlovac.nebular.co.za) State CONSUME_MEDIA
  2695. 2024-03-19 14:48:53.804157 [DEBUG] switch_core_state_machine.c:662 (sofia/default/5805@karlovac.nebular.co.za) State CONSUME_MEDIA going to sleep
  2696. 2024-03-19 14:48:53.804157 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [calling][0]
  2697. 2024-03-19 14:48:53.844159 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [proceeding][180]
  2698. 2024-03-19 14:48:53.844159 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/5805@karlovac.nebular.co.za!
  2699. 2024-03-19 14:48:53.844159 [DEBUG] switch_channel.c:3346 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change DOWN -> RINGING
  2700. 2024-03-19 14:48:53.884165 [DEBUG] switch_ivr_originate.c:1273 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  2701. 2024-03-19 14:48:53.884165 [DEBUG] switch_core_codec.c:223 sofia/default/0734382646@41.160.32.115:5060 Push codec L16:100
  2702. 2024-03-19 14:48:53.884165 [DEBUG] switch_ivr_originate.c:1305 Play Ringback File [/var/www/html/astpp//upload/pbx/ThistreeRe_.wav]
  2703. 2024-03-19 14:48:53.884165 [DEBUG] switch_core_file.c:342 File /var/www/html/astpp//upload/pbx/ThistreeRe_.wav sample rate 44100 doesn't match requested rate 8000
  2704. 2024-03-19 14:48:53.904188 [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7feda86f1648 0x7feda86f1650
  2705. 2024-03-19 14:48:53.904188 [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7feda86f1648 0x7feda86f1650
  2706. 2024-03-19 14:48:54.004189 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [proceeding][180]
  2707. 2024-03-19 14:48:54.884171 [DEBUG] sofia.c:7084 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 entering state [terminated][487]
  2708. 2024-03-19 14:48:54.884171 [NOTICE] sofia.c:8273 Hangup sofia/default/0103130000@mbvit.nebular.co.za:5060 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  2709. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:712 sofia/default/0103130000@mbvit.nebular.co.za:5060 ending bridge by request from read function
  2710. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0103130000@mbvit.nebular.co.za:5060]
  2711. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0103130000@mbvit.nebular.co.za:5060 ending bridge by request from write function
  2712. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0836750187]
  2713. 2024-03-19 14:48:54.884171 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/0836750187 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  2714. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0836750187) State EXCHANGE_MEDIA going to sleep
  2715. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_HANGUP (Cur 36 Tot 535917)
  2716. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0836750187) Callstate Change RINGING -> HANGUP
  2717. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836750187) State HANGUP
  2718. 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:432 sofia/default/0836750187 Overriding SIP cause 487 with 487 from the other leg
  2719. 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:438 Channel sofia/default/0836750187 hanging up, cause: ORIGINATOR_CANCEL
  2720. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0836750187 skip receive message [UNBRIDGE] (channel is hungup already)
  2721. 2024-03-19 14:48:54.884171 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0103130000@mbvit.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2722. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_session.c:2815 sofia/default/0103130000@mbvit.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2723. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State EXECUTE going to sleep
  2724. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 36 Tot 535917)
  2725. 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/0836750187
  2726. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Callstate Change EARLY -> HANGUP
  2727. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:60 sofia/default/0836750187 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2728. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0836750187) State HANGUP going to sleep
  2729. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State HANGUP
  2730. 2024-03-19 14:48:54.884171 [DEBUG] mod_sofia.c:438 Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 hanging up, cause: ORIGINATOR_CANCEL
  2731. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0836750187) State Change CS_HANGUP -> CS_REPORTING
  2732. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0836750187) Running State Change CS_REPORTING (Cur 36 Tot 535917)
  2733. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836750187) State REPORTING
  2734. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:60 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2735. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State HANGUP going to sleep
  2736. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  2737. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 36 Tot 535917)
  2738. 2024-03-19 14:48:54.884171 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State REPORTING
  2739. 2024-03-19 14:48:54.884171 [INFO] mod_json_cdr.c:271 Process [c021f2fa-e5ff-11ee-803d-d17fbcf33421.cdr.json]
  2740. 2024-03-19 14:48:54.905460 [INFO] mod_json_cdr.c:271 Process [c01425a8-e5ff-11ee-801a-d17fbcf33421.cdr.json]
  2741. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:174 sofia/default/0836750187 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2742. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0836750187) State REPORTING going to sleep
  2743. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0836750187) State Change CS_REPORTING -> CS_DESTROY
  2744. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_session.c:1665 Session 535907 (sofia/default/0836750187) Locked, Waiting on external entities
  2745. 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1683 Session 535907 (sofia/default/0836750187) Ended
  2746. 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0836750187 [CS_DESTROY]
  2747. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0836750187) Running State Change CS_DESTROY (Cur 35 Tot 535917)
  2748. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836750187) State DESTROY
  2749. 2024-03-19 14:48:54.905460 [DEBUG] mod_sofia.c:343 sofia/default/0836750187 SOFIA DESTROY
  2750. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:181 sofia/default/0836750187 Standard DESTROY
  2751. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0836750187) State DESTROY going to sleep
  2752. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:174 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2753. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State REPORTING going to sleep
  2754. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  2755. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_session.c:1665 Session 535906 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Locked, Waiting on external entities
  2756. 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1683 Session 535906 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Ended
  2757. 2024-03-19 14:48:54.905460 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0103130000@mbvit.nebular.co.za:5060 [CS_DESTROY]
  2758. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0103130000@mbvit.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535917)
  2759. 2024-03-19 14:48:54.905460 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State DESTROY
  2760. 2024-03-19 14:48:54.905460 [DEBUG] mod_sofia.c:343 sofia/default/0103130000@mbvit.nebular.co.za:5060 SOFIA DESTROY
  2761. 2024-03-19 14:48:54.924227 [DEBUG] switch_core_state_machine.c:181 sofia/default/0103130000@mbvit.nebular.co.za:5060 Standard DESTROY
  2762. 2024-03-19 14:48:54.924227 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0103130000@mbvit.nebular.co.za:5060) State DESTROY going to sleep
  2763. 2024-03-19 14:48:55.384189 [DEBUG] switch_scheduler.c:144 Deleting task 216734 switch_ivr_schedule_hangup (c021f2fa-e5ff-11ee-803d-d17fbcf33421)
  2764. 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [completing][200]
  2765. 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7091 Duplicate SDP
  2766. v=0                                                                                                                                                                                                                
  2767. o=HuaweiSoftX3000 41155420644927 41155420644927 IN IP4 41.160.32.115                                                                                                                                              
  2768. s=-                                                                                                                                                                                                                
  2769. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  2770. t=0 0                                                                                                                                                                                                              
  2771. m=audio 22130 RTP/AVP 8 101                                                                                                                                                                                        
  2772. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2773. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2774. a=fmtp:101 0-15                                                                                                                                                                                                    
  2775. a=ptime:20                                                                                                                                                                                                        
  2776.  
  2777. 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0797964625 entering state [ready][200]
  2778. 2024-03-19 14:48:55.544169 [NOTICE] sofia.c:8159 Channel [sofia/default/0797964625] has been answered
  2779. 2024-03-19 14:48:55.544169 [DEBUG] switch_channel.c:3773 (sofia/default/0797964625) Callstate Change RINGING -> ACTIVE
  2780. 2024-03-19 14:48:55.544169 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/0333942190@legalaidsa.nebular.co.za:5060.
  2781. 2024-03-19 14:48:55.544169 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/0333942190@legalaidsa.nebular.co.za:5060:
  2782. v=0                                                                                                                                                                                                                
  2783. o=FreeSWITCH 1710841953 1710841955 IN IP4 156.38.231.107                                                                                                                                                          
  2784. s=FreeSWITCH                                                                                                                                                                                                      
  2785. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  2786. t=0 0                                                                                                                                                                                                              
  2787. m=audio 17760 RTP/AVP 8 101                                                                                                                                                                                        
  2788. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2789. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2790. a=fmtp:101 0-16                                                                                                                                                                                                    
  2791. a=ptime:20                                                                                                                                                                                                        
  2792. a=sendrecv                                                                                                                                                                                                        
  2793.  
  2794. 2024-03-19 14:48:55.544169 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/0333942190@legalaidsa.nebular.co.za:5060] has been answered
  2795. 2024-03-19 14:48:55.544169 [DEBUG] switch_channel.c:3773 (sofia/default/0333942190@legalaidsa.nebular.co.za:5060) Callstate Change EARLY -> ACTIVE
  2796. 2024-03-19 14:48:55.544169 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [completed][200]
  2797. 2024-03-19 14:48:55.584179 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2798. 2024-03-19 14:48:55.604172 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2799. 2024-03-19 14:48:55.624172 [DEBUG] sofia.c:7084 Channel sofia/default/0333942190@legalaidsa.nebular.co.za:5060 entering state [ready][200]
  2800. 2024-03-19 14:48:56.564177 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:800
  2801. 2024-03-19 14:48:56.564177 [INFO] switch_channel.c:515 RECV DTMF *:800
  2802. 2024-03-19 14:48:56.584176 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=232926018 dur=160/160/800 seq=37319 lw=232926018
  2803. 2024-03-19 14:48:56.604183 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=320/320/800 seq=37320 lw=232926178
  2804. 2024-03-19 14:48:56.624177 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=480/480/800 seq=37321 lw=232926338
  2805. 2024-03-19 14:48:56.644164 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232926018 dur=640/640/800 seq=37322 lw=232926498
  2806. 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37323 lw=232926498
  2807. 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37324 lw=232926498
  2808. 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232926018 dur=800/800/800 seq=37325 lw=232926498
  2809. 2024-03-19 14:48:56.664176 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  2810. 2024-03-19 14:48:56.864169 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100]
  2811. 2024-03-19 14:48:56.864169 [DEBUG] sofia.c:7094 Remote SDP:
  2812. v=0                                                                                                                                                                                                                
  2813. o=3cxPS 93449093120 500833452034 IN IP4 156.38.150.6                                                                                                                                                              
  2814. s=3cxPS Audio call                                                                                                                                                                                                
  2815. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  2816. t=0 0                                                                                                                                                                                                              
  2817. m=audio 9654 RTP/AVP 18 101                                                                                                                                                                                        
  2818. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2819. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2820. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2821. a=sendonly                                                                                                                                                                                                        
  2822.  
  2823. 2024-03-19 14:48:56.864169 [DEBUG] switch_channel.c:1844 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HELD
  2824. 2024-03-19 14:48:57.004196 [DEBUG] switch_ivr.c:623 sofia/default/0879445198@41.160.32.115:5060 Command Execute playback(local_stream://moh)
  2825. EXECUTE sofia/default/0879445198@41.160.32.115:5060 playback(local_stream://moh)
  2826. 2024-03-19 14:48:57.004196 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz
  2827. 2024-03-19 14:48:57.004196 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  2828. 2024-03-19 14:48:57.024189 [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7feda861f120 0x7feda861f120
  2829. 2024-03-19 14:48:57.024189 [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7feda861f120 0x7feda861f120
  2830. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2831. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2832. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2833. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2834. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2835. 2024-03-19 14:48:57.104189 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za.
  2836. 2024-03-19 14:48:57.104189 [DEBUG] sofia.c:7999 Processing updated SDP
  2837. 2024-03-19 14:48:57.124192 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200]
  2838. 2024-03-19 14:48:57.144175 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200]
  2839. 2024-03-19 14:48:57.324169 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100]
  2840. 2024-03-19 14:48:57.324169 [DEBUG] sofia.c:7094 Remote SDP:
  2841. v=0                                                                                                                                                                                                                
  2842. o=3cxPS 93449093120 500833452035 IN IP4 156.38.150.6                                                                                                                                                              
  2843. s=3cxPS Audio call                                                                                                                                                                                                
  2844. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  2845. t=0 0                                                                                                                                                                                                              
  2846. m=audio 9654 RTP/AVP 18 101                                                                                                                                                                                        
  2847. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2848. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2849. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2850.  
  2851. 2024-03-19 14:48:57.584194 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
  2852. 2024-03-19 14:48:57.584194 [DEBUG] switch_channel.c:2029 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change HELD -> UNHELD
  2853. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2854. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2855. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2856. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2857. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  2858. 2024-03-19 14:48:57.584194 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za.
  2859. 2024-03-19 14:48:57.584194 [DEBUG] sofia.c:7999 Processing updated SDP
  2860. 2024-03-19 14:48:57.604181 [DEBUG] switch_core_io.c:941 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change UNHELD -> ACTIVE
  2861. 2024-03-19 14:48:57.604181 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200]
  2862. 2024-03-19 14:48:57.624172 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  2863. 2024-03-19 14:48:57.664181 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200]
  2864. 2024-03-19 14:48:58.284165 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27872504323@41.160.32.115:5060 [d11d9096-e5ff-11ee-812e-d17fbcf33421]
  2865. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_NEW (Cur 35 Tot 535918)
  2866. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:9873 sofia/default/+27872504323@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  2867. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  2868. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [received][100]
  2869. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7094 Remote SDP:
  2870. v=0                                                                                                                                                                                                                
  2871. o=HuaweiSoftX3000 51867069106371 51867069106371 IN IP4 41.160.32.115                                                                                                                                              
  2872. s=-                                                                                                                                                                                                                
  2873. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  2874. t=0 0                                                                                                                                                                                                              
  2875. m=audio 22144 RTP/AVP 8 18 0 101                                                                                                                                                                                  
  2876. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  2877. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  2878. a=fmtp:18 annexb=no                                                                                                                                                                                                
  2879. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  2880. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  2881. a=fmtp:101 0-15                                                                                                                                                                                                    
  2882. a=ptime:20                                                                                                                                                                                                        
  2883.  
  2884. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  2885. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2886. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2887. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2888. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2889. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  2890. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  2891. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2892. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2893. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2894. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2895. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  2896. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2897. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2898. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2899. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2900. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2901. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27872504323@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2902. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_codec.c:111 sofia/default/+27872504323@41.160.32.115:5060 Original read codec set to PCMA:8
  2903. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2904. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_media.c:4767 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  2905. 2024-03-19 14:48:58.284165 [DEBUG] sofia.c:7507 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  2906. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27872504323@41.160.32.115:5060) State NEW
  2907. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_INIT (Cur 35 Tot 535918)
  2908. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27872504323@41.160.32.115:5060) State INIT
  2909. 2024-03-19 14:48:58.284165 [DEBUG] mod_sofia.c:90 sofia/default/+27872504323@41.160.32.115:5060 SOFIA INIT
  2910. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27872504323@41.160.32.115:5060 Standard INIT
  2911. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  2912. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27872504323@41.160.32.115:5060) State INIT going to sleep
  2913. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 35 Tot 535918)
  2914. 2024-03-19 14:48:58.284165 [DEBUG] switch_channel.c:2249 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  2915. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27872504323@41.160.32.115:5060) State ROUTING
  2916. 2024-03-19 14:48:58.284165 [DEBUG] mod_sofia.c:143 sofia/default/+27872504323@41.160.32.115:5060 SOFIA ROUTING
  2917. 2024-03-19 14:48:58.284165 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27872504323@41.160.32.115:5060 Standard ROUTING
  2918. 2024-03-19 14:48:58.284165 [INFO] mod_dialplan_xml.c:637 Processing +27872504323 <+27872504323>->D9570123676150 in context default
  2919. 2024-03-19 14:48:58.304312 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected.
  2920. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2921. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2922. 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2923. 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570123676150
  2924. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570123676150' limit 1
  2925. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570123676150' AND status=0 limit 1
  2926. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570123676150' and status=0 LIMIT 1                                                                                                                                                                                                      
  2927. 2024-03-19 14:48:58.304312 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  2928. 2024-03-19 14:48:58.304312 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +27872504323 / <null>
  2929. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570123676150" LIMIT 1                                                                                                                                                          
  2930. 2024-03-19 14:48:58.304312 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570123676150"  AND domains.domain="156.38.231.106" limit 1                                                                                            
  2931. 2024-03-19 14:48:58.324161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  2932. 2024-03-19 14:48:58.324161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  2933. 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  2934. 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570123676150.*' OR blocked_patterns = '^D957012367615.*' OR blocked_patterns = '^D95701236761.*' OR blocked_patterns = '^D9570123676.*' OR blocked_patterns = '^D957012367.*' OR blocked_patterns = '^D95701236.*' OR blocked_patterns = '^D9570123.*' OR blocked_patterns = '^D957012.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1                                                                                                                                                                        
  2935. 2024-03-19 14:48:58.324161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570123676150" AND (accountid = 0 OR status = 1) LIMIT 1
  2936. 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  2937. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  2938. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570123676150
  2939. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570123676150
  2940. 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570123676150
  2941. 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0123676150
  2942. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0123676150.*' OR patterns = '^012367615.*' OR patterns = '^01236761.*' OR patterns = '^0123676.*' OR patterns = '^012367.*' OR patterns = '^01236.*' OR patterns = '^0123.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                          
  2943. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0123676150" AND A.accountid = '3' limit 1                                                                                                                                                                          
  2944. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0123676150
  2945. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0123676150" LIMIT 1                                                                                                                                                              
  2946. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  2947. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0123676150' OR number = '012367615' OR number = '01236761' OR number = '0123676' OR number = '012367' OR number = '01236' OR number = '0123' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0123676150*' OR number = '012367615*' OR number = '01236761*' OR number = '0123676*' OR number = '012367*' OR number = '01236*' OR number = '0123*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  2948. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2949. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0123676150' OR routing_prefix = '012367615' OR routing_prefix = '01236761' OR routing_prefix = '0123676' OR routing_prefix = '012367' OR routing_prefix = '01236' OR routing_prefix = '0123' OR routing_prefix = '012' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                      
  2950. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2951. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  2952. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  2953. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  2954. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2955. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  2956. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2957. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2958. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  2959. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2960. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0123676150" LIMIT 1                                                                                                                                                              
  2961. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  2962. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2963. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 7489
  2964. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2965. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2966. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2967. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0123676150
  2968. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  2969. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  2970. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2971. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  2972. 2024-03-19 14:48:58.344318 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  2973. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  2974. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  2975. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  2976. 2024-03-19 14:48:58.344318 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  2977. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++103
  2978. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "103" AND deleted = 0 limit 1
  2979. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  2980. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  2981. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  2982. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  2983. 2024-03-19 14:48:58.344318 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : saws.nebular.co.za
  2984. 2024-03-19 14:48:58.344318 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  2985. 2024-03-19 14:48:58.344318 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2986. 2024-03-19 14:48:58.364160 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  2987. 2024-03-19 14:48:58.364160 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  2988. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....+27872504323
  2989. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  2990. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 103 limit 1
  2991. 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saws.nebular.co.za
  2992. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  2993. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3015245154"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  2994. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1055 limit 1
  2995. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  2996. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  2997. 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaws.nebular.co.za
  2998. 2024-03-19 14:48:58.364160 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  2999. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  3000. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  3001. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3015245154' and uuid = 'd11d9096-e5ff-11ee-812e-d17fbcf33421' order by id desc limit 1                                                                                                                                                            
  3002. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='3015245154' order by id desc limit 1
  3003. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3015245154"  AND domains.domain="saws.nebular.co.za" limit 1                                                                                            
  3004. 2024-03-19 14:48:58.364160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1055 limit 1
  3005. 2024-03-19 14:48:58.384156 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3006. <document type="freeswitch/xml">                                                                                                                                                                                  
  3007. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  3008. <context name="default">                                                                                                                                                                                          
  3009. <extension name="0123676150">                                                                                                                                                                                      
  3010. <condition field="destination_number" expression="D9570123676150">                                                                                                                                                
  3011. <action application="set" data="effective_destination_number=0123676150"/>                                                                                                                                        
  3012. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  3013. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  3014. <action application="set" data="callstart=2024-03-19 14:48:58"/>                                                                                                                                                  
  3015. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  3016. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  3017. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  3018. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  3019. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  3020. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  3021. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  3022. <action application="set" data="accountname=default"/>                                                                                                                                                            
  3023. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  3024. <action application="set" data="origination_rates_did=ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103"/>                                                                                                                                                                                                      
  3025. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  3026. <action application="set" data="original_caller_id_name=+27872504323"/>                                                                                                                                            
  3027. <action application="set" data="effective_caller_id_name=+27872504323"/>                                                                                                                                          
  3028. <action application="set" data="receiver_accid=103"/>                                                                                                                                                              
  3029. <action application="export" data="domain_name=saws.nebular.co.za"/>                                                                                                                                              
  3030. <action application="export" data="sip_to_host=saws.nebular.co.za"/>                                                                                                                                              
  3031. <action application="export" data="presence_data=x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  3032. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  3033. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  3034. <action application="db" data="insert/pickup_any_group_${callgroup}/3015245154/${uuid}"/>                                                                                                                          
  3035. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  3036. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  3037. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  3038. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  3039. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  3040. <action application="export" data="did_user_domain=saws.nebular.co.za"/>                                                                                                                                          
  3041. <action application="sleep" data="1000"/>                                                                                                                                                                          
  3042. <action application="ring_ready"/>                                                                                                                                                                                
  3043. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3015245154@saws.nebular.co.za^0123676150"/>                                                          
  3044. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  3045. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  3046. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  3047. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  3048. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  3049. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  3050. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  3051. <action application="set" data="variable_sip_to_host=saws.nebular.co.za"/>                                                                                                                                        
  3052. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  3053. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  3054. <action application="set" data="userinfo_id=103"/>                                                                                                                                                                
  3055. <action application="set" data="sip_destination_number=3015245154"/>                                                                                                                                              
  3056. <action application="set" data="destination_number=0123676150"/>                                                                                                                                                  
  3057. <action application="set" data="did_number=0123676150"/>                                                                                                                                                          
  3058. <action application="set" data="user_domain=saws.nebular.co.za"/>                                                                                                                                                  
  3059. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  3060. <condition field="${cond(${user_data 3015245154@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  3061. <action application="answer"/>                                                                                                                                                                                    
  3062. <action application="export" data="voicemail_alternate_greet_id=0123676150"/>                                                                                                                                      
  3063. <action application="voicemail" data="default $${domain_name} 3015245154"/>                                                                                                                                        
  3064. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  3065. </condition>                                                                                                                                                                                                      
  3066. </condition>                                                                                                                                                                                                      
  3067. </extension>                                                                                                                                                                                                      
  3068. </context>                                                                                                                                                                                                        
  3069. </section>                                                                                                                                                                                                        
  3070. </document>                                                                                                                                                                                                        
  3071. 2024-03-19 14:48:58.384156 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released.
  3072. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 parsing [default->0123676150] continue=false
  3073. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Regex (PASS) [0123676150] destination_number(D9570123676150) =~ /D9570123676150/ break=on-false
  3074. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(effective_destination_number=0123676150)
  3075. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3076. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3077. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(callstart=2024-03-19 14:48:58)
  3078. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  3079. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  3080. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(account_id=3)
  3081. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(parent_id=0)
  3082. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(entity_id=3)
  3083. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(call_processed=internal)
  3084. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(call_direction=inbound)
  3085. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(accountname=default)
  3086. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  3087. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(origination_rates_did=ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                    
  3088. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(origination_rates=0)
  3089. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(original_caller_id_name=+27872504323)
  3090. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(effective_caller_id_name=+27872504323)
  3091. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(receiver_accid=103)
  3092. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(domain_name=saws.nebular.co.za)
  3093. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(sip_to_host=saws.nebular.co.za)
  3094. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115)
  3095. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(call_type=5)
  3096. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(calltype=SIP-DID)
  3097. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/3015245154/${uuid})
  3098. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  3099. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  3100. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3101. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3102. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  3103. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action export(did_user_domain=saws.nebular.co.za)
  3104. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action sleep(1000)
  3105. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action ring_ready()
  3106. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/3015245154@saws.nebular.co.za^0123676150)
  3107. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(on_busy_flag=1)
  3108. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(on_busy_destination=)
  3109. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(no_answer_flag=1)
  3110. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(no_answer_destination=)
  3111. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(not_register_flag=1)
  3112. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(not_register_destination=)
  3113. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(opensips_flag=0)
  3114. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(variable_sip_to_host=saws.nebular.co.za)
  3115. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  3116. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(leg_timeout=20)
  3117. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(userinfo_id=103)
  3118. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(sip_destination_number=3015245154)
  3119. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(destination_number=0123676150)
  3120. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(did_number=0123676150)
  3121. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action set(user_domain=saws.nebular.co.za)
  3122. Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3123. |--- Dialplan: Processing recursive conditions level:1 [0123676150_recur_1] require-nested=TRUE
  3124. |--- Dialplan: sofia/default/+27872504323@41.160.32.115:5060 Regex (FAIL) [0123676150_recur_1] ${cond(${user_data 3015245154@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  3125. |--- Dialplan: sofia/default/+27872504323@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  3126. 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  3127. 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27872504323@41.160.32.115:5060) State ROUTING going to sleep
  3128. 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 35 Tot 535918)
  3129. 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27872504323@41.160.32.115:5060) State EXECUTE
  3130. 2024-03-19 14:48:58.404153 [DEBUG] mod_sofia.c:198 sofia/default/+27872504323@41.160.32.115:5060 SOFIA EXECUTE
  3131. 2024-03-19 14:48:58.404153 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27872504323@41.160.32.115:5060 Standard EXECUTE
  3132. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(effective_destination_number=0123676150)
  3133. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [effective_destination_number]=[0123676150]
  3134. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  3135. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3136. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3137. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3138. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(callstart=2024-03-19 14:48:58)
  3139. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [callstart]=[2024-03-19 14:48:58]
  3140. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(hangup_after_bridge=true)
  3141. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [hangup_after_bridge]=[true]
  3142. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(continue_on_fail=TRUE)
  3143. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  3144. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(account_id=3)
  3145. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [account_id]=[3]
  3146. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(parent_id=0)
  3147. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [parent_id]=[0]
  3148. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(entity_id=3)
  3149. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [entity_id]=[3]
  3150. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(call_processed=internal)
  3151. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [call_processed]=[internal]
  3152. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(call_direction=inbound)
  3153. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [call_direction]=[inbound]
  3154. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(accountname=default)
  3155. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [accountname]=[default]
  3156. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  3157. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  3158. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(origination_rates_did=ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103)                                                                                                                                                                              
  3159. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [origination_rates_did]=[ID:7489|CODE:^0123676150.*|DESTINATION:0123676150|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:103]                                                                                                                            
  3160. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(origination_rates=0)
  3161. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [origination_rates]=[0]
  3162. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(original_caller_id_name=+27872504323)
  3163. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [original_caller_id_name]=[+27872504323]
  3164. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(effective_caller_id_name=+27872504323)
  3165. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [effective_caller_id_name]=[+27872504323]
  3166. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(receiver_accid=103)
  3167. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [receiver_accid]=[103]
  3168. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(domain_name=saws.nebular.co.za)
  3169. 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saws.nebular.co.za]
  3170. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(sip_to_host=saws.nebular.co.za)
  3171. 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saws.nebular.co.za]
  3172. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115)
  3173. 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115]
  3174. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(call_type=5)
  3175. 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  3176. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(calltype=SIP-DID)
  3177. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [calltype]=[SIP-DID]
  3178. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 db(insert/pickup_any_group_/3015245154/d11d9096-e5ff-11ee-812e-d17fbcf33421)
  3179. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(dialed_extension=transfer_call)
  3180. 2024-03-19 14:48:58.404153 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  3181. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(dialed_extension=transfer_call)
  3182. 2024-03-19 14:48:58.404153 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3183. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3184. 2024-03-19 14:48:58.404153 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3185. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3186. 2024-03-19 14:48:58.404153 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3187. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 set(hangup_after_bridge=true)
  3188. 2024-03-19 14:48:58.424162 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27872504323@41.160.32.115:5060 [hangup_after_bridge]=[true]
  3189. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 export(did_user_domain=saws.nebular.co.za)
  3190. 2024-03-19 14:48:58.424162 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saws.nebular.co.za]
  3191. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 sleep(1000)
  3192. 2024-03-19 14:48:58.744173 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5810@karlovac.nebular.co.za:5060 [d165d54a-e5ff-11ee-8151-d17fbcf33421]
  3193. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_NEW (Cur 36 Tot 535919)
  3194. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:9873 sofia/default/5810@karlovac.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  3195. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  3196. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [received][100]
  3197. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7094 Remote SDP:
  3198. v=0                                                                                                                                                                                                                
  3199. o=- 20002 20002 IN IP4 102.219.180.81                                                                                                                                                                              
  3200. s=SDP data                                                                                                                                                                                                        
  3201. i=(o=IN IP4 102.219.180.66)                                                                                                                                                                                        
  3202. c=IN IP4 102.219.180.81                                                                                                                                                                                            
  3203. t=0 0                                                                                                                                                                                                              
  3204. m=audio 12464 RTP/AVP 9 0 8 18 101                                                                                                                                                                                
  3205. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  3206. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  3207. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3208. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  3209. a=fmtp:18 annexb=no                                                                                                                                                                                                
  3210. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3211. a=fmtp:101 0-15                                                                                                                                                                                                    
  3212. a=ptime:20                                                                                                                                                                                                        
  3213.  
  3214. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3215. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3216. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3217. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3218. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3219. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3220. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3221. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3222. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3223. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3224. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3225. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3226. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3227. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3228. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  3229. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  3230. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3231. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3232. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  3233. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  3234. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3235. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5810@karlovac.nebular.co.za:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  3236. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_codec.c:111 sofia/default/5810@karlovac.nebular.co.za:5060 Original read codec set to PCMU:0
  3237. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3238. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_media.c:4767 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  3239. 2024-03-19 14:48:58.744173 [DEBUG] sofia.c:7507 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  3240. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5810@karlovac.nebular.co.za:5060) State NEW
  3241. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_INIT (Cur 36 Tot 535919)
  3242. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5810@karlovac.nebular.co.za:5060) State INIT
  3243. 2024-03-19 14:48:58.744173 [DEBUG] mod_sofia.c:90 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA INIT
  3244. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:40 sofia/default/5810@karlovac.nebular.co.za:5060 Standard INIT
  3245. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  3246. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5810@karlovac.nebular.co.za:5060) State INIT going to sleep
  3247. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 36 Tot 535919)
  3248. 2024-03-19 14:48:58.744173 [DEBUG] switch_channel.c:2249 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  3249. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5810@karlovac.nebular.co.za:5060) State ROUTING
  3250. 2024-03-19 14:48:58.744173 [DEBUG] mod_sofia.c:143 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA ROUTING
  3251. 2024-03-19 14:48:58.744173 [DEBUG] switch_core_state_machine.c:236 sofia/default/5810@karlovac.nebular.co.za:5060 Standard ROUTING
  3252. 2024-03-19 14:48:58.744173 [INFO] mod_dialplan_xml.c:637 Processing 5810 <5810>->*100 in context default
  3253. 2024-03-19 14:48:58.764160 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected.
  3254. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3255. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3256. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3257. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] TRAN user_domain: karlovac.nebular.co.za
  3258. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] hunt_destination_number: *100
  3259. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  3260. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  3261. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Cod..transfer_blind_value*2
  3262. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code blind_value_two_digit*2
  3263. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code destination_number_two_digit*1
  3264. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code transfer_attended_two_digit*3
  3265. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : *100
  3266. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '*100' limit 1
  3267. 2024-03-19 14:48:58.764160 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Feature Code Action :::: call_pickup_all_group
  3268. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] sip_number :5810
  3269. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [get_sip_accountcode] Query :SELECT sip_devices.accountid from sip_devices,domains where sip_devices.accountid=domains.accountid and sip_devices.username = '5810' and domain = 'karlovac.nebular.co.za' limit 1                                                                                                                                                      
  3270. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5810"  AND domains.domain="karlovac.nebular.co.za" limit 1                                                                                              
  3271. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] sip_info id :155
  3272. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [FEATURE_CODE] feature_code_action :call_pickup_all_group
  3273. 2024-03-19 14:48:58.764160 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Generated XML:
  3274. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  3275. <document type="freeswitch/xml">                                                                                                                                                                                  
  3276. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  3277. <context name="default">                                                                                                                                                                                          
  3278. <extension name="\*100">                                                                                                                                                                                          
  3279. <condition field="destination_number" expression="\*100">                                                                                                                                                          
  3280. <action application="export" data="did_user_domain=karlovac.nebular.co.za"/>                                                                                                                                      
  3281. <action application="answer"/>                                                                                                                                                                                    
  3282. <action application="play_and_get_digits" data="2 15 3 7000 # /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+"/>                                                  
  3283. <action application="intercept" data="${db(select/pickup_any_group_${callgroup}/${foobar})}"/>                                                                                                                    
  3284. <action application="sleep" data="2000"/>                                                                                                                                                                          
  3285. </condition>                                                                                                                                                                                                      
  3286. </extension>                                                                                                                                                                                                      
  3287. </context>                                                                                                                                                                                                        
  3288. </section>                                                                                                                                                                                                        
  3289. </document>                                                                                                                                                                                                        
  3290. 2024-03-19 14:48:58.764160 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released.
  3291. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 parsing [default->\*100] continue=false
  3292. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Regex (PASS) [\*100] destination_number(*100) =~ /\*100/ break=on-false
  3293. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action export(did_user_domain=karlovac.nebular.co.za)
  3294. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action answer()
  3295. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action play_and_get_digits(2 15 3 7000 # /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
  3296. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action intercept(${db(select/pickup_any_group_${callgroup}/${foobar})})
  3297. Dialplan: sofia/default/5810@karlovac.nebular.co.za:5060 Action sleep(2000)
  3298. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:286 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  3299. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5810@karlovac.nebular.co.za:5060) State ROUTING going to sleep
  3300. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535919)
  3301. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5810@karlovac.nebular.co.za:5060) State EXECUTE
  3302. 2024-03-19 14:48:58.764160 [DEBUG] mod_sofia.c:198 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA EXECUTE
  3303. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_state_machine.c:328 sofia/default/5810@karlovac.nebular.co.za:5060 Standard EXECUTE
  3304. EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 export(did_user_domain=karlovac.nebular.co.za)
  3305. 2024-03-19 14:48:58.764160 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[karlovac.nebular.co.za]
  3306. EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 answer()
  3307. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5810@karlovac.nebular.co.za:5060] 156.38.231.107 port 28268 -> 102.219.180.81 port 12464 codec: 0 ms: 20
  3308. 2024-03-19 14:48:58.764160 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3309. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7180 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  3310. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7187 sofia/default/5810@karlovac.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  3311. 2024-03-19 14:48:58.764160 [DEBUG] switch_core_media.c:7210 sofia/default/5810@karlovac.nebular.co.za:5060 Set rtp dtmf delay to 40
  3312. 2024-03-19 14:48:58.764160 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/5810@karlovac.nebular.co.za:5060:
  3313. v=0                                                                                                                                                                                                                
  3314. o=FreeSWITCH 1710831470 1710831471 IN IP4 156.38.231.107                                                                                                                                                          
  3315. s=FreeSWITCH                                                                                                                                                                                                      
  3316. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  3317. t=0 0                                                                                                                                                                                                              
  3318. m=audio 28268 RTP/AVP 0 101                                                                                                                                                                                        
  3319. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  3320. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3321. a=fmtp:101 0-16                                                                                                                                                                                                    
  3322. a=ptime:20                                                                                                                                                                                                        
  3323. a=sendrecv                                                                                                                                                                                                        
  3324.  
  3325. 2024-03-19 14:48:58.764160 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/5810@karlovac.nebular.co.za:5060] has been answered
  3326. 2024-03-19 14:48:58.764160 [DEBUG] switch_channel.c:3773 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE
  3327. 2024-03-19 14:48:58.764160 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [completed][200]
  3328. EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 play_and_get_digits(2 15 3 7000 # /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
  3329. span style="color: goldenrod; font-weight: bold;"> 2024-03-19 14:48:58.784174 [DEBUG] switch_core_file.c:342 File /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav sample rate 22050 doesn't match requested rate 8000
  3330. 2024-03-19 14:48:58.784174 [WARNING] switch_core_file.c:360 File has 2 channels, muxing to 1 channel will occur.
  3331. 2024-03-19 14:48:58.784174 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  3332. 2024-03-19 14:48:58.804158 [DEBUG] sofia.c:7084 Channel sofia/default/5810@karlovac.nebular.co.za:5060 entering state [ready][200]
  3333. 2024-03-19 14:48:58.904178 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3334. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 ring_ready()
  3335. 2024-03-19 14:48:59.424188 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27872504323@41.160.32.115:5060!
  3336. 2024-03-19 14:48:59.424188 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [early][180]
  3337. 2024-03-19 14:48:59.424188 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27872504323@41.160.32.115:5060!
  3338. EXECUTE sofia/default/+27872504323@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/3015245154@saws.nebular.co.za^0123676150)
  3339. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[saws.nebular.co.za] to event
  3340. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[saws.nebular.co.za] to event
  3341. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0123676150.* // 0123676150 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                    
  3342. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  3343. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  3344. 2024-03-19 14:48:59.424188 [DEBUG] switch_channel.c:1250 sofia/default/+27872504323@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[saws.nebular.co.za] to event
  3345. 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3346. 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3347. 2024-03-19 14:48:59.424188 [NOTICE] switch_channel.c:1104 New Channel sofia/default/3015245154@saws.nebular.co.za [d1cce46a-e5ff-11ee-815b-d17fbcf33421]
  3348. 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:4819 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_NEW -> CS_INIT
  3349. 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:2963 sofia/default/3015245154@saws.nebular.co.za Setting leg timeout to 30
  3350. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535920)
  3351. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3015245154@saws.nebular.co.za) State INIT
  3352. 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:90 sofia/default/3015245154@saws.nebular.co.za SOFIA INIT
  3353. 2024-03-19 14:48:59.424188 [DEBUG] sofia_glue.c:1295 sofia/default/3015245154@saws.nebular.co.za sending invite version: 1.6.20  64bit
  3354. Local SDP:                                                                                                                                                                                                        
  3355. v=0                                                                                                                                                                                                                
  3356. o=FreeSWITCH 1710838399 1710838400 IN IP4 156.38.231.107                                                                                                                                                          
  3357. s=FreeSWITCH                                                                                                                                                                                                      
  3358. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  3359. t=0 0                                                                                                                                                                                                              
  3360. m=audio 21340 RTP/AVP 8 101                                                                                                                                                                                        
  3361. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3362. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3363. a=fmtp:101 0-16                                                                                                                                                                                                    
  3364. a=ptime:20                                                                                                                                                                                                        
  3365. a=sendrecv                                                                                                                                                                                                        
  3366.  
  3367. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:40 sofia/default/3015245154@saws.nebular.co.za Standard INIT
  3368. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  3369. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:627 (sofia/default/3015245154@saws.nebular.co.za) State INIT going to sleep
  3370. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535920)
  3371. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3015245154@saws.nebular.co.za) State ROUTING
  3372. 2024-03-19 14:48:59.424188 [DEBUG] mod_sofia.c:143 sofia/default/3015245154@saws.nebular.co.za SOFIA ROUTING
  3373. 2024-03-19 14:48:59.424188 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3374. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:643 (sofia/default/3015245154@saws.nebular.co.za) State ROUTING going to sleep
  3375. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535920)
  3376. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3015245154@saws.nebular.co.za) State CONSUME_MEDIA
  3377. 2024-03-19 14:48:59.424188 [DEBUG] switch_core_state_machine.c:662 (sofia/default/3015245154@saws.nebular.co.za) State CONSUME_MEDIA going to sleep
  3378. 2024-03-19 14:48:59.424188 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [calling][0]
  3379. 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [proceeding][180]
  3380. 2024-03-19 14:48:59.644177 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/3015245154@saws.nebular.co.za!
  3381. 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3346 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change DOWN -> RINGING
  3382. 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [completing][200]
  3383. 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7094 Remote SDP:
  3384. v=0                                                                                                                                                                                                                
  3385. o=3cxPS 241474469888 393325051905 IN IP4 156.38.150.5                                                                                                                                                              
  3386. s=3cxPS Audio call                                                                                                                                                                                                
  3387. c=IN IP4 156.38.150.5                                                                                                                                                                                              
  3388. t=0 0                                                                                                                                                                                                              
  3389. m=audio 9570 RTP/AVP 8 101                                                                                                                                                                                        
  3390. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3391. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3392.  
  3393. 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/3015245154@saws.nebular.co.za entering state [ready][200]
  3394. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3395. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3396. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3397. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/3015245154@saws.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3398. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_codec.c:111 sofia/default/3015245154@saws.nebular.co.za Original read codec set to PCMA:8
  3399. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3400. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:4767 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  3401. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/3015245154@saws.nebular.co.za] 156.38.231.107 port 21340 -> 156.38.150.5 port 9570 codec: 8 ms: 20
  3402. 2024-03-19 14:48:59.644177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3403. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7180 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf send payload to 101
  3404. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7187 sofia/default/3015245154@saws.nebular.co.za Set 2833 dtmf receive payload to 101
  3405. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7210 sofia/default/3015245154@saws.nebular.co.za Set rtp dtmf delay to 40
  3406. 2024-03-19 14:48:59.644177 [NOTICE] sofia.c:8218 Channel [sofia/default/3015245154@saws.nebular.co.za] has been answered
  3407. 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3773 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change RINGING -> ACTIVE
  3408. 2024-03-19 14:48:59.644177 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27872504323@41.160.32.115:5060!
  3409. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27872504323@41.160.32.115:5060] 156.38.231.107 port 20208 -> 41.160.32.115 port 22144 codec: 8 ms: 20
  3410. 2024-03-19 14:48:59.644177 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  3411. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7180 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf send payload to 101
  3412. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7187 sofia/default/+27872504323@41.160.32.115:5060 Set 2833 dtmf receive payload to 101
  3413. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_media.c:7210 sofia/default/+27872504323@41.160.32.115:5060 Set rtp dtmf delay to 40
  3414. 2024-03-19 14:48:59.644177 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27872504323@41.160.32.115:5060:
  3415. v=0                                                                                                                                                                                                                
  3416. o=FreeSWITCH 1710839531 1710839532 IN IP4 156.38.231.107                                                                                                                                                          
  3417. s=FreeSWITCH                                                                                                                                                                                                      
  3418. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  3419. t=0 0                                                                                                                                                                                                              
  3420. m=audio 20208 RTP/AVP 8 101                                                                                                                                                                                        
  3421. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3422. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3423. a=fmtp:101 0-16                                                                                                                                                                                                    
  3424. a=ptime:20                                                                                                                                                                                                        
  3425. a=sendrecv                                                                                                                                                                                                        
  3426.  
  3427. 2024-03-19 14:48:59.644177 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27872504323@41.160.32.115:5060] has been answered
  3428. 2024-03-19 14:48:59.644177 [DEBUG] switch_channel.c:3773 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  3429. 2024-03-19 14:48:59.644177 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [completed][200]
  3430. 2024-03-19 14:48:59.644177 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/3015245154@saws.nebular.co.za]
  3431. 2024-03-19 14:48:59.644177 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3432. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 37 Tot 535920)
  3433. 2024-03-19 14:48:59.644177 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3015245154@saws.nebular.co.za) State EXCHANGE_MEDIA
  3434. 2024-03-19 14:48:59.644177 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  3435. 2024-03-19 14:48:59.844157 [DEBUG] switch_ivr_bridge.c:546 sofia/default/3015245154@saws.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  3436. 2024-03-19 14:48:59.844157 [DEBUG] sofia.c:7084 Channel sofia/default/+27872504323@41.160.32.115:5060 entering state [ready][200]
  3437. 2024-03-19 14:48:59.864307 [DEBUG] switch_ivr.c:623 sofia/default/3015245154@saws.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  3438. EXECUTE sofia/default/3015245154@saws.nebular.co.za sched_hangup(+6000 normal_clearing)
  3439. 2024-03-19 14:48:59.864307 [DEBUG] switch_scheduler.c:249 Added task 216740 switch_ivr_schedule_hangup (d1cce46a-e5ff-11ee-815b-d17fbcf33421) to run at 1710865739
  3440. 2024-03-19 14:48:59.864307 [NOTICE] sofia.c:1012 Hangup sofia/default/+27872504323@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  3441. 2024-03-19 14:48:59.864307 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+27872504323@41.160.32.115:5060]
  3442. 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/3015245154@saws.nebular.co.za]
  3443. 2024-03-19 14:48:59.884175 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/3015245154@saws.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3444. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:653 (sofia/default/3015245154@saws.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  3445. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_HANGUP (Cur 37 Tot 535920)
  3446. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3015245154@saws.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  3447. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3015245154@saws.nebular.co.za) State HANGUP
  3448. 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:432 sofia/default/3015245154@saws.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  3449. 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:438 Channel sofia/default/3015245154@saws.nebular.co.za hanging up, cause: NORMAL_CLEARING
  3450. 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/3015245154@saws.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  3451. 2024-03-19 14:48:59.884175 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/+27872504323@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  3452. 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/3015245154@saws.nebular.co.za
  3453. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:60 sofia/default/3015245154@saws.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  3454. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/3015245154@saws.nebular.co.za) State HANGUP going to sleep
  3455. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:619 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  3456. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_REPORTING (Cur 37 Tot 535920)
  3457. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3015245154@saws.nebular.co.za) State REPORTING
  3458. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_session.c:2815 sofia/default/+27872504323@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  3459. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27872504323@41.160.32.115:5060) State EXECUTE going to sleep
  3460. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 37 Tot 535920)
  3461. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+27872504323@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  3462. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27872504323@41.160.32.115:5060) State HANGUP
  3463. 2024-03-19 14:48:59.884175 [DEBUG] mod_sofia.c:438 Channel sofia/default/+27872504323@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  3464. 2024-03-19 14:48:59.884175 [INFO] mod_json_cdr.c:271 Process [d1cce46a-e5ff-11ee-815b-d17fbcf33421.cdr.json]
  3465. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:60 sofia/default/+27872504323@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  3466. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+27872504323@41.160.32.115:5060) State HANGUP going to sleep
  3467. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  3468. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 37 Tot 535920)
  3469. 2024-03-19 14:48:59.884175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27872504323@41.160.32.115:5060) State REPORTING
  3470. 2024-03-19 14:48:59.884175 [INFO] mod_json_cdr.c:271 Process [d11d9096-e5ff-11ee-812e-d17fbcf33421.cdr.json]
  3471. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:174 sofia/default/3015245154@saws.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  3472. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/3015245154@saws.nebular.co.za) State REPORTING going to sleep
  3473. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:610 (sofia/default/3015245154@saws.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  3474. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_session.c:1665 Session 535920 (sofia/default/3015245154@saws.nebular.co.za) Locked, Waiting on external entities
  3475. 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1683 Session 535920 (sofia/default/3015245154@saws.nebular.co.za) Ended
  3476. 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/3015245154@saws.nebular.co.za [CS_DESTROY]
  3477. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:741 (sofia/default/3015245154@saws.nebular.co.za) Running State Change CS_DESTROY (Cur 36 Tot 535920)
  3478. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3015245154@saws.nebular.co.za) State DESTROY
  3479. 2024-03-19 14:48:59.904175 [DEBUG] mod_sofia.c:343 sofia/default/3015245154@saws.nebular.co.za SOFIA DESTROY
  3480. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:181 sofia/default/3015245154@saws.nebular.co.za Standard DESTROY
  3481. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/3015245154@saws.nebular.co.za) State DESTROY going to sleep
  3482. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:174 sofia/default/+27872504323@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  3483. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+27872504323@41.160.32.115:5060) State REPORTING going to sleep
  3484. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+27872504323@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  3485. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_session.c:1665 Session 535918 (sofia/default/+27872504323@41.160.32.115:5060) Locked, Waiting on external entities
  3486. 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1683 Session 535918 (sofia/default/+27872504323@41.160.32.115:5060) Ended
  3487. 2024-03-19 14:48:59.904175 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+27872504323@41.160.32.115:5060 [CS_DESTROY]
  3488. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+27872504323@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 35 Tot 535920)
  3489. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27872504323@41.160.32.115:5060) State DESTROY
  3490. 2024-03-19 14:48:59.904175 [DEBUG] mod_sofia.c:343 sofia/default/+27872504323@41.160.32.115:5060 SOFIA DESTROY
  3491. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:181 sofia/default/+27872504323@41.160.32.115:5060 Standard DESTROY
  3492. 2024-03-19 14:48:59.904175 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+27872504323@41.160.32.115:5060) State DESTROY going to sleep
  3493. 2024-03-19 14:49:00.364178 [DEBUG] switch_scheduler.c:144 Deleting task 216740 switch_ivr_schedule_hangup (d1cce46a-e5ff-11ee-815b-d17fbcf33421)
  3494. 2024-03-19 14:49:01.944305 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav
  3495. 2024-03-19 14:49:02.944170 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 5:800
  3496. 2024-03-19 14:49:02.944170 [INFO] switch_channel.c:515 RECV DTMF 5:800
  3497. 2024-03-19 14:49:03.384209 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 8:800
  3498. 2024-03-19 14:49:03.384209 [INFO] switch_channel.c:515 RECV DTMF 8:800
  3499. 2024-03-19 14:49:03.764214 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:800
  3500. 2024-03-19 14:49:03.764214 [INFO] switch_channel.c:515 RECV DTMF 0:800
  3501. 2024-03-19 14:49:04.164206 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 5:800
  3502. 2024-03-19 14:49:04.164206 [INFO] switch_channel.c:515 RECV DTMF 5:800
  3503. 2024-03-19 14:49:04.764173 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF #:800
  3504. span style="color: green; font-weight: bold;"> 2024-03-19 14:49:04.764173 [INFO] switch_channel.c:515 RECV DTMF #:800
  3505. EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 intercept(6b9d227a-e5ca-11ee-b931-d17fbcf33421)
  3506. 2024-03-19 14:49:04.764173 [DEBUG] switch_ivr_bridge.c:2093 no uuid 6b9d227a-e5ca-11ee-b931-d17fbcf33421
  3507. EXECUTE sofia/default/5810@karlovac.nebular.co.za:5060 sleep(2000)
  3508. 2024-03-19 14:49:05.384174 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF *:800
  3509. 2024-03-19 14:49:05.384174 [INFO] switch_channel.c:515 RECV DTMF *:800
  3510. 2024-03-19 14:49:05.404191 [DEBUG] switch_rtp.c:5261 Send start packet for [*] ts=232997058 dur=160/160/800 seq=37725 lw=232997058
  3511. 2024-03-19 14:49:05.424180 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=320/320/800 seq=37726 lw=232997218
  3512. 2024-03-19 14:49:05.444178 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=480/480/800 seq=37727 lw=232997378
  3513. 2024-03-19 14:49:05.464166 [DEBUG] switch_rtp.c:5160 Send middle packet for [*] ts=232997058 dur=640/640/800 seq=37728 lw=232997538
  3514. 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37729 lw=232997538
  3515. 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37730 lw=232997538
  3516. 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5160 Send end packet for [*] ts=232997058 dur=800/800/800 seq=37731 lw=232997538
  3517. 2024-03-19 14:49:05.485586 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms
  3518. 2024-03-19 14:49:05.624189 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100]
  3519. 2024-03-19 14:49:05.624189 [DEBUG] sofia.c:7094 Remote SDP:
  3520. v=0                                                                                                                                                                                                                
  3521. o=3cxPS 93449093120 500833452036 IN IP4 156.38.150.6                                                                                                                                                              
  3522. s=3cxPS Audio call                                                                                                                                                                                                
  3523. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  3524. t=0 0                                                                                                                                                                                                              
  3525. m=audio 9654 RTP/AVP 18 101                                                                                                                                                                                        
  3526. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  3527. a=fmtp:18 annexb=no                                                                                                                                                                                                
  3528. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3529. a=sendonly                                                                                                                                                                                                        
  3530.  
  3531. 2024-03-19 14:49:05.624189 [DEBUG] switch_channel.c:1844 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HELD
  3532. 2024-03-19 14:49:05.744156 [DEBUG] switch_ivr.c:623 sofia/default/0879445198@41.160.32.115:5060 Command Execute playback(local_stream://moh)
  3533. EXECUTE sofia/default/0879445198@41.160.32.115:5060 playback(local_stream://moh)
  3534. 2024-03-19 14:49:05.744156 [DEBUG] mod_local_stream.c:871 Opening Stream [moh/8000] 8000hz
  3535. 2024-03-19 14:49:05.744156 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  3536. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3537. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3538. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3539. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3540. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  3541. 2024-03-19 14:49:05.864185 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za.
  3542. 2024-03-19 14:49:05.864185 [DEBUG] sofia.c:7999 Processing updated SDP
  3543. 2024-03-19 14:49:05.884168 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200]
  3544. 2024-03-19 14:49:05.924172 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200]
  3545. 2024-03-19 14:49:06.164161 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [received][100]
  3546. 2024-03-19 14:49:06.164161 [DEBUG] sofia.c:7094 Remote SDP:
  3547. v=0                                                                                                                                                                                                                
  3548. o=3cxPS 93449093120 500833452037 IN IP4 156.38.150.6                                                                                                                                                              
  3549. s=3cxPS Audio call                                                                                                                                                                                                
  3550. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  3551. t=0 0                                                                                                                                                                                                              
  3552. m=audio 9654 RTP/AVP 18 101                                                                                                                                                                                        
  3553. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  3554. a=fmtp:18 annexb=no                                                                                                                                                                                                
  3555. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3556.  
  3557. 2024-03-19 14:49:06.424157 [DEBUG] switch_ivr_play_say.c:1942 done playing file local_stream://moh
  3558. 2024-03-19 14:49:06.424157 [DEBUG] switch_channel.c:2029 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change HELD -> UNHELD
  3559. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3560. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3561. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3562. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3563. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:4767 sofia/default/1945384195@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  3564. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/1945384195@legalaidsa.nebular.co.za.
  3565. 2024-03-19 14:49:06.424157 [DEBUG] sofia.c:7999 Processing updated SDP
  3566. 2024-03-19 14:49:06.424157 [DEBUG] switch_core_io.c:941 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change UNHELD -> ACTIVE
  3567. 2024-03-19 14:49:06.424157 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [completed][200]
  3568. 2024-03-19 14:49:06.424157 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  3569. 2024-03-19 14:49:06.464180 [DEBUG] sofia.c:7084 Channel sofia/default/1945384195@legalaidsa.nebular.co.za entering state [ready][200]
  3570. 2024-03-19 14:49:06.784160 [NOTICE] switch_core_state_machine.c:385 sofia/default/5810@karlovac.nebular.co.za:5060 has executed the last dialplan instruction, hanging up.
  3571. 2024-03-19 14:49:06.784160 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/5810@karlovac.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  3572. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5810@karlovac.nebular.co.za:5060) State EXECUTE going to sleep
  3573. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 35 Tot 535920)
  3574. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5810@karlovac.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  3575. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5810@karlovac.nebular.co.za:5060) State HANGUP
  3576. 2024-03-19 14:49:06.784160 [DEBUG] mod_sofia.c:438 Channel sofia/default/5810@karlovac.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  3577. 2024-03-19 14:49:06.784160 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/5810@karlovac.nebular.co.za:5060
  3578. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:60 sofia/default/5810@karlovac.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  3579. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5810@karlovac.nebular.co.za:5060) State HANGUP going to sleep
  3580. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  3581. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 35 Tot 535920)
  3582. 2024-03-19 14:49:06.784160 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5810@karlovac.nebular.co.za:5060) State REPORTING
  3583. 2024-03-19 14:49:06.784160 [INFO] mod_json_cdr.c:271 Process [d165d54a-e5ff-11ee-8151-d17fbcf33421.cdr.json]
  3584. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:174 sofia/default/5810@karlovac.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  3585. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5810@karlovac.nebular.co.za:5060) State REPORTING going to sleep
  3586. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5810@karlovac.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  3587. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_session.c:1665 Session 535919 (sofia/default/5810@karlovac.nebular.co.za:5060) Locked, Waiting on external entities
  3588. 2024-03-19 14:49:06.804748 [NOTICE] switch_core_session.c:1683 Session 535919 (sofia/default/5810@karlovac.nebular.co.za:5060) Ended
  3589. 2024-03-19 14:49:06.804748 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5810@karlovac.nebular.co.za:5060 [CS_DESTROY]
  3590. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5810@karlovac.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535920)
  3591. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5810@karlovac.nebular.co.za:5060) State DESTROY
  3592. 2024-03-19 14:49:06.804748 [DEBUG] mod_sofia.c:343 sofia/default/5810@karlovac.nebular.co.za:5060 SOFIA DESTROY
  3593. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:181 sofia/default/5810@karlovac.nebular.co.za:5060 Standard DESTROY
  3594. 2024-03-19 14:49:06.804748 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5810@karlovac.nebular.co.za:5060) State DESTROY going to sleep
  3595. 2024-03-19 14:49:08.544159 [NOTICE] switch_channel.c:1104 New Channel sofia/default/27124315062@saqa.nebular.co.za:5060 [d73c8004-e5ff-11ee-8164-d17fbcf33421]
  3596. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_NEW (Cur 35 Tot 535921)
  3597. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:9873 sofia/default/27124315062@saqa.nebular.co.za:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  3598. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  3599. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [received][100]
  3600. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7094 Remote SDP:
  3601. v=0                                                                                                                                                                                                                
  3602. o=3cxPS 89657442304 283853717505 IN IP4 156.38.150.10                                                                                                                                                              
  3603. s=3cxPS Audio call                                                                                                                                                                                                
  3604. c=IN IP4 156.38.150.10                                                                                                                                                                                            
  3605. t=0 0                                                                                                                                                                                                              
  3606. m=audio 9524 RTP/AVP 8 0 18 101                                                                                                                                                                                    
  3607. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3608. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  3609. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  3610. a=fmtp:18 annexb=no                                                                                                                                                                                                
  3611. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  3612.  
  3613. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3614. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3615. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3616. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3617. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3618. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3619. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3620. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3621. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3622. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3623. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  3624. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:60:8000:1] ++++ is saved as a match
  3625. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3626. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3627. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  3628. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  3629. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3630. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/27124315062@saqa.nebular.co.za:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3631. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_codec.c:111 sofia/default/27124315062@saqa.nebular.co.za:5060 Original read codec set to PCMA:8
  3632. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3633. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_media.c:4767 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  3634. 2024-03-19 14:49:08.544159 [DEBUG] sofia.c:7507 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_NEW -> CS_INIT
  3635. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:603 (sofia/default/27124315062@saqa.nebular.co.za:5060) State NEW
  3636. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_INIT (Cur 35 Tot 535921)
  3637. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124315062@saqa.nebular.co.za:5060) State INIT
  3638. 2024-03-19 14:49:08.544159 [DEBUG] mod_sofia.c:90 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA INIT
  3639. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:40 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard INIT
  3640. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:48 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_INIT -> CS_ROUTING
  3641. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:627 (sofia/default/27124315062@saqa.nebular.co.za:5060) State INIT going to sleep
  3642. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_ROUTING (Cur 35 Tot 535921)
  3643. 2024-03-19 14:49:08.544159 [DEBUG] switch_channel.c:2249 (sofia/default/27124315062@saqa.nebular.co.za:5060) Callstate Change DOWN -> RINGING
  3644. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124315062@saqa.nebular.co.za:5060) State ROUTING
  3645. 2024-03-19 14:49:08.544159 [DEBUG] mod_sofia.c:143 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA ROUTING
  3646. 2024-03-19 14:49:08.544159 [DEBUG] switch_core_state_machine.c:236 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard ROUTING
  3647. 2024-03-19 14:49:08.544159 [INFO] mod_dialplan_xml.c:637 Processing 27124315062 <27124315062>->27124315224 in context default
  3648. 2024-03-19 14:49:08.544159 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected.
  3649. 2024-03-19 14:49:08.544159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3650. 2024-03-19 14:49:08.544159 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3651. 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3652. 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 27124315224
  3653. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '27124315224' limit 1
  3654. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27124315224' AND status=0 limit 1
  3655. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '27124315224' and status=0 LIMIT 1                                                                                                                                                                                                          
  3656. 2024-03-19 14:49:08.564176 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  3657. 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 27124315062 / 27124315062
  3658. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27124315224" LIMIT 1                                                                                                                                                            
  3659. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27124315224"  AND domains.domain="saqa.nebular.co.za" limit 1                                                                                            
  3660. 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  3661. 2024-03-19 14:49:08.564176 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 602496]
  3662. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "602496" AND deleted = 0 limit 1
  3663. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27124315224.*' OR blocked_patterns = '^2712431522.*' OR blocked_patterns = '^271243152.*' OR blocked_patterns = '^27124315.*' OR blocked_patterns = '^2712431.*' OR blocked_patterns = '^271243.*' OR blocked_patterns = '^27124.*' OR blocked_patterns = '^2712.*' OR blocked_patterns = '^271.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 111 limit 1                                                                              
  3664. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27124315224" AND (accountid = 0 OR status = 1) LIMIT 1
  3665. 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 1
  3666. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1                                                                                                                                                                                                  
  3667. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"27/0".....27124315224
  3668. 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 27124315224
  3669. 2024-03-19 14:49:08.564176 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0124315224
  3670. 2024-03-19 14:49:08.564176 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0124315224.*' OR patterns = '^012431522.*' OR patterns = '^01243152.*' OR patterns = '^0124315.*' OR patterns = '^012431.*' OR patterns = '^01243.*' OR patterns = '^0124.*' OR patterns = '^012.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 111 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                        
  3671. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0124315224" AND A.accountid = '111' limit 1                                                                                                                                                                        
  3672. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0124315224
  3673. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1                                                                                                                                                              
  3674. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  3675. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0124315224' OR number = '012431522' OR number = '01243152' OR number = '0124315' OR number = '012431' OR number = '01243' OR number = '0124' OR number = '012' OR number = '01' OR number = '0' OR number ='--') OR (number = '0124315224*' OR number = '012431522*' OR number = '01243152*' OR number = '0124315*' OR number = '012431*' OR number = '01243*' OR number = '0124*' OR number = '012*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '27124315062' OR number = '2712431506' OR number = '271243150' OR number = '27124315' OR number = '2712431' OR number = '271243' OR number = '27124' OR number = '2712' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27124315062*' OR number = '2712431506*' OR number = '271243150*' OR number = '27124315*' OR number = '2712431*' OR number = '271243*' OR number = '27124*' OR number = '2712*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                      
  3676. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3677. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0124315224' OR routing_prefix = '012431522' OR routing_prefix = '01243152' OR routing_prefix = '0124315' OR routing_prefix = '012431' OR routing_prefix = '01243' OR routing_prefix = '0124' OR routing_prefix = '012' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 13 limit 1                                                                                                                    
  3678. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3679. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 111
  3680. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 602496
  3681. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3882.8
  3682. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  3683. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 67
  3684. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3685. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3686. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 67 AND status = 0
  3687. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  3688. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1                                                                                                                                                              
  3689. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  3690. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3691. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8935
  3692. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3693. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3694. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  3695. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0124315224
  3696. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  3697. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 111
  3698. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3699. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3882.8 balance Accountid 111 !!!
  3700. 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  3701. 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 13
  3702. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
  3703. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  3704. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 13
  3705. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 778509
  3706. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10310.6483
  3707. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3708. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 83
  3709. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 83 AND status = 0
  3710. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  3711. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0124315224" LIMIT 1                                                                                                                                                              
  3712. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  3713. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3714. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8935
  3715. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3716. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3717. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  3718. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0124315224
  3719. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  3720. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 13
  3721. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3722. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10310.6483 balance Accountid 13 !!!
  3723. 2024-03-19 14:49:08.584161 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  3724. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111                                                                                                                                                                                                                
  3725. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3726. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Lossless Routing Status : 1
  3727. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  3728. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  3729. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  3730. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 111 AND status=0 LIMIT 1                                                                                                                                                                                              
  3731. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++111
  3732. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "111" AND deleted = 0 limit 1
  3733. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:111
  3734. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:111
  3735. 2024-03-19 14:49:08.584161 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 111
  3736. 2024-03-19 14:49:08.584161 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 111 limit 1
  3737. 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : saqa.nebular.co.za
  3738. 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  3739. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3740. 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  3741. 2024-03-19 14:49:08.604531 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  3742. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3743. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3744. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3745. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3746. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3747. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3748. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3749. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3750. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3751. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3752. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3753. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3754. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3755. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3756. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3757. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/,D943/,D890/,D002/,D891/,D007/,D869/".....27124315062
  3758. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 111 limit 1
  3759. 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : saqa.nebular.co.za
  3760. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  3761. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="602496"  AND domains.domain="saqa.nebular.co.za" limit 1                                                                                                
  3762. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1219 limit 1
  3763. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  3764. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  3765. 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforesaqa.nebular.co.za
  3766. 2024-03-19 14:49:08.604531 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  3767. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  3768. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  3769. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='602496' and uuid = 'd73c8004-e5ff-11ee-8164-d17fbcf33421' order by id desc limit 1                                                                                                                                                                
  3770. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='602496' order by id desc limit 1
  3771. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="602496"  AND domains.domain="saqa.nebular.co.za" limit 1                                                                                                
  3772. 2024-03-19 14:49:08.604531 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1219 limit 1
  3773. 2024-03-19 14:49:08.624166 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3774. <document type="freeswitch/xml">                                                                                                                                                                                  
  3775. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  3776. <context name="default">                                                                                                                                                                                          
  3777. <extension name="0124315224">                                                                                                                                                                                      
  3778. <condition field="destination_number" expression="27124315224">                                                                                                                                                    
  3779. <action application="set" data="effective_destination_number=0124315224"/>                                                                                                                                        
  3780. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  3781. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  3782. <action application="set" data="callstart=2024-03-19 14:49:08"/>                                                                                                                                                  
  3783. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  3784. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  3785. <action application="set" data="account_id=111"/>                                                                                                                                                                  
  3786. <action application="set" data="parent_id=13"/>                                                                                                                                                                    
  3787. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  3788. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  3789. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  3790. <action application="set" data="accountname=default"/>                                                                                                                                                            
  3791. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  3792. <action application="set" data="origination_rates_did=ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111"/>                            
  3793. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  3794. <action application="set" data="original_caller_id_name=27124315062"/>                                                                                                                                            
  3795. <action application="set" data="original_caller_id_number=27124315062"/>                                                                                                                                          
  3796. <action application="limit" data="db 602496 user_602496 50 "/>                                                                                                                                                    
  3797. <action application="set" data="effective_caller_id_name=27124315062"/>                                                                                                                                            
  3798. <action application="set" data="effective_caller_id_number=27124315062"/>                                                                                                                                          
  3799. <action application="set" data="receiver_accid=111"/>                                                                                                                                                              
  3800. <action application="export" data="domain_name=saqa.nebular.co.za"/>                                                                                                                                              
  3801. <action application="export" data="sip_to_host=saqa.nebular.co.za"/>                                                                                                                                              
  3802. <action application="export" data="presence_data=x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105"/>                                      
  3803. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  3804. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  3805. <action application="db" data="insert/pickup_any_group_${callgroup}/602496/${uuid}"/>                                                                                                                              
  3806. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  3807. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  3808. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  3809. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  3810. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  3811. <action application="export" data="did_user_domain=saqa.nebular.co.za"/>                                                                                                                                          
  3812. <action application="sleep" data="1000"/>                                                                                                                                                                          
  3813. <action application="ring_ready"/>                                                                                                                                                                                
  3814. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/602496@saqa.nebular.co.za^0124315224"/>                                                              
  3815. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  3816. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  3817. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  3818. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  3819. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  3820. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  3821. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  3822. <action application="set" data="variable_sip_to_host=saqa.nebular.co.za"/>                                                                                                                                        
  3823. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  3824. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  3825. <action application="set" data="userinfo_id=111"/>                                                                                                                                                                
  3826. <action application="set" data="sip_destination_number=602496"/>                                                                                                                                                  
  3827. <action application="set" data="destination_number=0124315224"/>                                                                                                                                                  
  3828. <action application="set" data="did_number=0124315224"/>                                                                                                                                                          
  3829. <action application="set" data="user_domain=saqa.nebular.co.za"/>                                                                                                                                                  
  3830. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  3831. <condition field="${cond(${user_data 602496@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                            
  3832. <action application="answer"/>                                                                                                                                                                                    
  3833. <action application="export" data="voicemail_alternate_greet_id=0124315224"/>                                                                                                                                      
  3834. <action application="voicemail" data="default $${domain_name} 602496"/>                                                                                                                                            
  3835. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  3836. </condition>                                                                                                                                                                                                      
  3837. </condition>                                                                                                                                                                                                      
  3838. </extension>                                                                                                                                                                                                      
  3839. </context>                                                                                                                                                                                                        
  3840. </section>                                                                                                                                                                                                        
  3841. </document>                                                                                                                                                                                                        
  3842. 2024-03-19 14:49:08.624166 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released.
  3843. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 parsing [default->0124315224] continue=false
  3844. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Regex (PASS) [0124315224] destination_number(27124315224) =~ /27124315224/ break=on-false
  3845. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_destination_number=0124315224)
  3846. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3847. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3848. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(callstart=2024-03-19 14:49:08)
  3849. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  3850. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(continue_on_fail=TRUE)
  3851. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(account_id=111)
  3852. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(parent_id=13)
  3853. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(entity_id=0)
  3854. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(call_processed=internal)
  3855. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(call_direction=inbound)
  3856. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(accountname=default)
  3857. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(filename1=astpp.pbx.lua)
  3858. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(origination_rates_did=ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111)                                                                                                                                                                                                          
  3859. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(origination_rates=0)
  3860. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(original_caller_id_name=27124315062)
  3861. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(original_caller_id_number=27124315062)
  3862. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action limit(db 602496 user_602496 50 )
  3863. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_caller_id_name=27124315062)
  3864. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(effective_caller_id_number=27124315062)
  3865. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(receiver_accid=111)
  3866. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(domain_name=saqa.nebular.co.za)
  3867. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(sip_to_host=saqa.nebular.co.za)
  3868. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(presence_data=x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105)
  3869. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(call_type=5)
  3870. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(calltype=SIP-DID)
  3871. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action db(insert/pickup_any_group_${callgroup}/602496/${uuid})
  3872. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(dialed_extension=transfer_call)
  3873. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(dialed_extension=transfer_call)
  3874. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3875. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3876. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(hangup_after_bridge=true)
  3877. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action export(did_user_domain=saqa.nebular.co.za)
  3878. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action sleep(1000)
  3879. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action ring_ready()
  3880. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/602496@saqa.nebular.co.za^0124315224)
  3881. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(on_busy_flag=1)
  3882. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(on_busy_destination=)
  3883. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(no_answer_flag=1)
  3884. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(no_answer_destination=)
  3885. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(not_register_flag=1)
  3886. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(not_register_destination=)
  3887. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(opensips_flag=0)
  3888. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(variable_sip_to_host=saqa.nebular.co.za)
  3889. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(opensips_domain=156.38.231.106)
  3890. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(leg_timeout=20)
  3891. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(userinfo_id=111)
  3892. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(sip_destination_number=602496)
  3893. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(destination_number=0124315224)
  3894. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(did_number=0124315224)
  3895. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action set(user_domain=saqa.nebular.co.za)
  3896. Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  3897. |--- Dialplan: Processing recursive conditions level:1 [0124315224_recur_1] require-nested=TRUE
  3898. |--- Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 Regex (FAIL) [0124315224_recur_1] ${cond(${user_data 602496@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  3899. |--- Dialplan: sofia/default/27124315062@saqa.nebular.co.za:5060 ANTI-Action hangup(${originate_disposition})
  3900. 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:286 (sofia/default/27124315062@saqa.nebular.co.za:5060) State Change CS_ROUTING -> CS_EXECUTE
  3901. 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:643 (sofia/default/27124315062@saqa.nebular.co.za:5060) State ROUTING going to sleep
  3902. 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/27124315062@saqa.nebular.co.za:5060) Running State Change CS_EXECUTE (Cur 35 Tot 535921)
  3903. 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/27124315062@saqa.nebular.co.za:5060) State EXECUTE
  3904. 2024-03-19 14:49:08.644164 [DEBUG] mod_sofia.c:198 sofia/default/27124315062@saqa.nebular.co.za:5060 SOFIA EXECUTE
  3905. 2024-03-19 14:49:08.644164 [DEBUG] switch_core_state_machine.c:328 sofia/default/27124315062@saqa.nebular.co.za:5060 Standard EXECUTE
  3906. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_destination_number=0124315224)
  3907. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_destination_number]=[0124315224]
  3908. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  3909. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3910. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3911. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3912. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(callstart=2024-03-19 14:49:08)
  3913. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [callstart]=[2024-03-19 14:49:08]
  3914. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(hangup_after_bridge=true)
  3915. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [hangup_after_bridge]=[true]
  3916. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(continue_on_fail=TRUE)
  3917. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [continue_on_fail]=[TRUE]
  3918. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(account_id=111)
  3919. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [account_id]=[111]
  3920. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(parent_id=13)
  3921. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [parent_id]=[13]
  3922. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(entity_id=0)
  3923. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [entity_id]=[0]
  3924. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(call_processed=internal)
  3925. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [call_processed]=[internal]
  3926. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(call_direction=inbound)
  3927. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [call_direction]=[inbound]
  3928. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(accountname=default)
  3929. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [accountname]=[default]
  3930. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(filename1=astpp.pbx.lua)
  3931. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [filename1]=[astpp.pbx.lua]
  3932. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(origination_rates_did=ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111)
  3933. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [origination_rates_did]=[ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111||ID:8935|CODE:^0124315224.*|DESTINATION:0124315224|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:111]                                                                                                                                                                  
  3934. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(origination_rates=0)
  3935. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [origination_rates]=[0]
  3936. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(original_caller_id_name=27124315062)
  3937. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [original_caller_id_name]=[27124315062]
  3938. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(original_caller_id_number=27124315062)
  3939. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [original_caller_id_number]=[27124315062]
  3940. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 limit(db 602496 user_602496 50 )
  3941. 2024-03-19 14:49:08.644164 [DEBUG] switch_limit.c:126 incr called: 602496_user_602496 max:50, interval:0
  3942. 2024-03-19 14:49:08.644164 [DEBUG] mod_db.c:194 Usage for 602496_user_602496 is now 1/50
  3943. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_caller_id_name=27124315062)
  3944. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_caller_id_name]=[27124315062]
  3945. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(effective_caller_id_number=27124315062)
  3946. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [effective_caller_id_number]=[27124315062]
  3947. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(receiver_accid=111)
  3948. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [receiver_accid]=[111]
  3949. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(domain_name=saqa.nebular.co.za)
  3950. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[saqa.nebular.co.za]
  3951. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(sip_to_host=saqa.nebular.co.za)
  3952. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[saqa.nebular.co.za]
  3953. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(presence_data=x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105)
  3954. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105]                                                                                                                                                                                                            
  3955. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(call_type=5)
  3956. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  3957. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(calltype=SIP-DID)
  3958. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [calltype]=[SIP-DID]
  3959. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 db(insert/pickup_any_group_/602496/d73c8004-e5ff-11ee-8164-d17fbcf33421)
  3960. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(dialed_extension=transfer_call)
  3961. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [dialed_extension]=[transfer_call]
  3962. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(dialed_extension=transfer_call)
  3963. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  3964. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  3965. 2024-03-19 14:49:08.644164 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  3966. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  3967. 2024-03-19 14:49:08.644164 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  3968. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 set(hangup_after_bridge=true)
  3969. 2024-03-19 14:49:08.644164 [DEBUG] mod_dptools.c:1548 SET sofia/default/27124315062@saqa.nebular.co.za:5060 [hangup_after_bridge]=[true]
  3970. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 export(did_user_domain=saqa.nebular.co.za)
  3971. 2024-03-19 14:49:08.644164 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[saqa.nebular.co.za]
  3972. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 sleep(1000)
  3973. 2024-03-19 14:49:08.984190 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+27628201391@41.160.32.115:5060 [d77e82a6-e5ff-11ee-818a-d17fbcf33421]
  3974. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_NEW (Cur 36 Tot 535922)
  3975. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:9873 sofia/default/+27628201391@41.160.32.115:5060 receiving invite from 156.38.231.106:5060 version: 1.6.20  64bit
  3976. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:9989 IP 156.38.231.106 Approved by acl "default[]". Access Granted.
  3977. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [received][100]
  3978. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7094 Remote SDP:
  3979. v=0                                                                                                                                                                                                                
  3980. o=HuaweiSoftX3000 50698838012561 50698838012561 IN IP4 41.160.32.115                                                                                                                                              
  3981. s=-                                                                                                                                                                                                                
  3982. c=IN IP4 41.160.32.115                                                                                                                                                                                            
  3983. t=0 0                                                                                                                                                                                                              
  3984. m=audio 22146 RTP/AVP 8 0 18 4 2 98 99 97                                                                                                                                                                          
  3985. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  3986. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  3987. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  3988. a=fmtp:18 annexb=yes                                                                                                                                                                                              
  3989. a=rtpmap:4 G723/8000                                                                                                                                                                                              
  3990. a=rtpmap:2 G726-32/8000                                                                                                                                                                                            
  3991. a=rtpmap:98 G726-40/8000                                                                                                                                                                                          
  3992. a=rtpmap:99 G726-32/8000                                                                                                                                                                                          
  3993. a=rtpmap:97 telephone-event/8000                                                                                                                                                                                  
  3994. a=fmtp:97 0-15                                                                                                                                                                                                    
  3995. a=ptime:20                                                                                                                                                                                                        
  3996.  
  3997. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  3998. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3999. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4000. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4001. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4002. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:60:8000:1]
  4003. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4004. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4005. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4006. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  4007. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:60:8000:1]
  4008. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4485 Audio Codec Compare [G729:18:8000:60:8000:1] is saved as a near-match
  4009. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  4010. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  4011. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  4012. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  4013. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:60:8000:1]
  4014. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  4015. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  4016. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  4017. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:60:8000:1]
  4018. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[G729:18:8000:20:8000:1]
  4019. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  4020. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  4021. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:60:8000:1]
  4022. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[G729:18:8000:20:8000:1]
  4023. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  4024. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-40:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  4025. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:60:8000:1]
  4026. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G729:18:8000:20:8000:1]
  4027. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  4028. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  4029. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 97@8000
  4030. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+27628201391@41.160.32.115:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4031. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_codec.c:111 sofia/default/+27628201391@41.160.32.115:5060 Original read codec set to PCMA:8
  4032. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 97@8000
  4033. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_media.c:4767 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf send payload to 97 recv payload to 97
  4034. 2024-03-19 14:49:08.984190 [DEBUG] sofia.c:7507 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_NEW -> CS_INIT
  4035. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+27628201391@41.160.32.115:5060) State NEW
  4036. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_INIT (Cur 36 Tot 535922)
  4037. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27628201391@41.160.32.115:5060) State INIT
  4038. 2024-03-19 14:49:08.984190 [DEBUG] mod_sofia.c:90 sofia/default/+27628201391@41.160.32.115:5060 SOFIA INIT
  4039. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:40 sofia/default/+27628201391@41.160.32.115:5060 Standard INIT
  4040. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_INIT -> CS_ROUTING
  4041. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+27628201391@41.160.32.115:5060) State INIT going to sleep
  4042. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_ROUTING (Cur 36 Tot 535922)
  4043. 2024-03-19 14:49:08.984190 [DEBUG] switch_channel.c:2249 (sofia/default/+27628201391@41.160.32.115:5060) Callstate Change DOWN -> RINGING
  4044. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27628201391@41.160.32.115:5060) State ROUTING
  4045. 2024-03-19 14:49:08.984190 [DEBUG] mod_sofia.c:143 sofia/default/+27628201391@41.160.32.115:5060 SOFIA ROUTING
  4046. 2024-03-19 14:49:08.984190 [DEBUG] switch_core_state_machine.c:236 sofia/default/+27628201391@41.160.32.115:5060 Standard ROUTING
  4047. 2024-03-19 14:49:08.984190 [INFO] mod_dialplan_xml.c:637 Processing +27628201391 <+27628201391>->D9570117030000 in context default
  4048. 2024-03-19 14:49:08.984190 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fed7021b8a0 Connected.
  4049. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4050. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4051. 2024-03-19 14:49:08.984190 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4052. 2024-03-19 14:49:08.984190 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : D9570117030000
  4053. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = 'D9570117030000' limit 1
  4054. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = 'D9570117030000' AND status=0 limit 1
  4055. 2024-03-19 14:49:08.984190 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = 'D9570117030000' and status=0 LIMIT 1                                                                                                                                                                                                      
  4056. 2024-03-19 14:49:09.004172 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] Custom Caller ID
  4057. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +27628201391 / <null>
  4058. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="D9570117030000" LIMIT 1                                                                                                                                                          
  4059. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="D9570117030000"  AND domains.domain="156.38.231.106" limit 1                                                                                            
  4060. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  4061. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 3673942894]
  4062. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  4063. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^D9570117030000.*' OR blocked_patterns = '^D957011703000.*' OR blocked_patterns = '^D95701170300.*' OR blocked_patterns = '^D9570117030.*' OR blocked_patterns = '^D957011703.*' OR blocked_patterns = '^D95701170.*' OR blocked_patterns = '^D9570117.*' OR blocked_patterns = '^D957011.*' OR blocked_patterns = '^D95701.*' OR blocked_patterns = '^D9570.*' OR blocked_patterns = '^D957.*' OR blocked_patterns = '^D95.*' OR blocked_patterns = '^D9.*' OR blocked_patterns = '^D.*' OR blocked_patterns ='--') AND accountid = 3 limit 1                                                                                                                                                                        
  4064. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="D9570117030000" AND (accountid = 0 OR status = 1) LIMIT 1
  4065. 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  4066. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 5 AND status=0 limit 1                                                                                                                                                                                                  
  4067. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570117030000
  4068. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27,D957/".....D9570117030000
  4069. 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : D9570117030000
  4070. 2024-03-19 14:49:09.004172 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0117030000
  4071. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0117030000.*' OR patterns = '^011703000.*' OR patterns = '^01170300.*' OR patterns = '^0117030.*' OR patterns = '^011703.*' OR patterns = '^01170.*' OR patterns = '^0117.*' OR patterns = '^011.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                          
  4072. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0117030000" AND A.accountid = '3' limit 1                                                                                                                                                                          
  4073. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0117030000
  4074. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0117030000" LIMIT 1                                                                                                                                                              
  4075. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call Direction : inbound
  4076. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0117030000' OR number = '011703000' OR number = '01170300' OR number = '0117030' OR number = '011703' OR number = '01170' OR number = '0117' OR number = '011' OR number = '01' OR number = '0' OR number ='--') OR (number = '0117030000*' OR number = '011703000*' OR number = '01170300*' OR number = '0117030*' OR number = '011703*' OR number = '01170*' OR number = '0117*' OR number = '011*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                        
  4077. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4078. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0117030000' OR routing_prefix = '011703000' OR routing_prefix = '01170300' OR routing_prefix = '0117030' OR routing_prefix = '011703' OR routing_prefix = '01170' OR routing_prefix = '0117' OR routing_prefix = '011' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                                                                      
  4079. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4080. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3
  4081. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 3673942894
  4082. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  4083. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4084. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 15
  4085. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4086. 2024-03-19 14:49:09.004172 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4087. 2024-03-19 14:49:09.004172 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0
  4088. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  4089. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0117030000" LIMIT 1                                                                                                                                                              
  4090. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP]  Call Direction : inbound
  4091. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4092. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 10873
  4093. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4094. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4095. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  4096. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Comment : 0117030000
  4097. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 171
  4098. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3
  4099. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4100. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
  4101. 2024-03-19 14:49:09.024173 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  4102. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max Length Duration : 100 minutes
  4103. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  4104. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  4105. 2024-03-19 14:49:09.024173 [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 = 3 AND status=0 LIMIT 1                                                                                                                                                                                                
  4106. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] sandip +++++109
  4107. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "109" AND deleted = 0 limit 1
  4108. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  4109. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:3
  4110. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  4111. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1
  4112. 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] User Domain : legalaidsa.nebular.co.za
  4113. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP]  Maxlength : 100
  4114. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4115. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [XML] Customer Recording Flag : 1
  4116. 2024-03-19 14:49:09.024173 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : inbound
  4117. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....+27628201391
  4118. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....<null>
  4119. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 109 limit 1
  4120. 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [XML] User Domain : legalaidsa.nebular.co.za
  4121. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  4122. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7682330505"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  4123. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1157 limit 1
  4124. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  4125. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  4126. 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domain beforelegalaidsa.nebular.co.za
  4127. 2024-03-19 14:49:09.024173 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] pickup_group_permission pickup_str
  4128. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] START:
  4129. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] API URL : https://voice.nebularcomms.co.za/api/
  4130. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Not Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='7682330505' and uuid = 'd77e82a6-e5ff-11ee-818a-d17fbcf33421' order by id desc limit 1                                                                                                                                                            
  4131. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT apns_token, callkit_token, mobile_type, id, uuid FROM dialer_device_info WHERE username='7682330505' order by id desc limit 1
  4132. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7682330505"  AND domains.domain="legalaidsa.nebular.co.za" limit 1                                                                                      
  4133. 2024-03-19 14:49:09.024173 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 1157 limit 1
  4134. 2024-03-19 14:49:09.044187 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4135. <document type="freeswitch/xml">                                                                                                                                                                                  
  4136. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  4137. <context name="default">                                                                                                                                                                                          
  4138. <extension name="0117030000">                                                                                                                                                                                      
  4139. <condition field="destination_number" expression="D9570117030000">                                                                                                                                                
  4140. <action application="set" data="effective_destination_number=0117030000"/>                                                                                                                                        
  4141. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  4142. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  4143. <action application="set" data="callstart=2024-03-19 14:49:09"/>                                                                                                                                                  
  4144. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  4145. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  4146. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  4147. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  4148. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  4149. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  4150. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  4151. <action application="set" data="accountname=default"/>                                                                                                                                                            
  4152. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                                                        
  4153. <action application="set" data="origination_rates_did=ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109"/>                                                                                                                                                                                                    
  4154. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  4155. <action application="set" data="original_caller_id_name=+27628201391"/>                                                                                                                                            
  4156. <action application="set" data="effective_caller_id_name=+27628201391"/>                                                                                                                                          
  4157. <action application="set" data="receiver_accid=109"/>                                                                                                                                                              
  4158. <action application="export" data="domain_name=legalaidsa.nebular.co.za"/>                                                                                                                                        
  4159. <action application="export" data="sip_to_host=legalaidsa.nebular.co.za"/>                                                                                                                                        
  4160. <action application="export" data="presence_data=x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115"/>                                                                      
  4161. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  4162. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  4163. <action application="db" data="insert/pickup_any_group_${callgroup}/7682330505/${uuid}"/>                                                                                                                          
  4164. <action application="set" data="dialed_extension=transfer_call"/>                                                                                                                                                  
  4165. <action application="export" data="dialed_extension=transfer_call"/>                                                                                                                                              
  4166. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                                                                                  
  4167. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                                                                                  
  4168. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  4169. <action application="export" data="did_user_domain=legalaidsa.nebular.co.za"/>                                                                                                                                    
  4170. <action application="sleep" data="1000"/>                                                                                                                                                                          
  4171. <action application="ring_ready"/>                                                                                                                                                                                
  4172. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/7682330505@legalaidsa.nebular.co.za^0117030000"/>                                                    
  4173. <action application="set" data="on_busy_flag=1"/>                                                                                                                                                                  
  4174. <action application="set" data="on_busy_destination="/>                                                                                                                                                            
  4175. <action application="set" data="no_answer_flag=1"/>                                                                                                                                                                
  4176. <action application="set" data="no_answer_destination="/>                                                                                                                                                          
  4177. <action application="set" data="not_register_flag=1"/>                                                                                                                                                            
  4178. <action application="set" data="not_register_destination="/>                                                                                                                                                      
  4179. <action application="set" data="opensips_flag=0"/>                                                                                                                                                                
  4180. <action application="set" data="variable_sip_to_host=legalaidsa.nebular.co.za"/>                                                                                                                                  
  4181. <action application="set" data="opensips_domain=156.38.231.106"/>                                                                                                                                                  
  4182. <action application="set" data="leg_timeout=20"/>                                                                                                                                                                  
  4183. <action application="set" data="userinfo_id=109"/>                                                                                                                                                                
  4184. <action application="set" data="sip_destination_number=7682330505"/>                                                                                                                                              
  4185. <action application="set" data="destination_number=0117030000"/>                                                                                                                                                  
  4186. <action application="set" data="did_number=0117030000"/>                                                                                                                                                          
  4187. <action application="set" data="user_domain=legalaidsa.nebular.co.za"/>                                                                                                                                            
  4188. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                                                                      
  4189. <condition field="${cond(${user_data 7682330505@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  4190. <action application="answer"/>                                                                                                                                                                                    
  4191. <action application="export" data="voicemail_alternate_greet_id=0117030000"/>                                                                                                                                      
  4192. <action application="voicemail" data="default $${domain_name} 7682330505"/>                                                                                                                                        
  4193. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  4194. </condition>                                                                                                                                                                                                      
  4195. </condition>                                                                                                                                                                                                      
  4196. </extension>                                                                                                                                                                                                      
  4197. </context>                                                                                                                                                                                                        
  4198. </section>                                                                                                                                                                                                        
  4199. </document>                                                                                                                                                                                                        
  4200. 2024-03-19 14:49:09.044187 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed7021b8a0 released.
  4201. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 parsing [default->0117030000] continue=false
  4202. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Regex (PASS) [0117030000] destination_number(D9570117030000) =~ /D9570117030000/ break=on-false
  4203. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(effective_destination_number=0117030000)
  4204. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4205. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4206. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(callstart=2024-03-19 14:49:09)
  4207. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  4208. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(continue_on_fail=TRUE)
  4209. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(account_id=3)
  4210. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(parent_id=0)
  4211. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(entity_id=3)
  4212. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(call_processed=internal)
  4213. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(call_direction=inbound)
  4214. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(accountname=default)
  4215. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(filename1=astpp.pbx.lua)
  4216. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(origination_rates_did=ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109)                                                                                                                                                                    
  4217. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(origination_rates=0)
  4218. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(original_caller_id_name=+27628201391)
  4219. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(effective_caller_id_name=+27628201391)
  4220. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(receiver_accid=109)
  4221. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(domain_name=legalaidsa.nebular.co.za)
  4222. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(sip_to_host=legalaidsa.nebular.co.za)
  4223. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(presence_data=x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115)
  4224. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(call_type=5)
  4225. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(calltype=SIP-DID)
  4226. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action db(insert/pickup_any_group_${callgroup}/7682330505/${uuid})
  4227. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(dialed_extension=transfer_call)
  4228. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(dialed_extension=transfer_call)
  4229. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  4230. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  4231. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(hangup_after_bridge=true)
  4232. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action export(did_user_domain=legalaidsa.nebular.co.za)
  4233. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action sleep(1000)
  4234. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action ring_ready()
  4235. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/${sofia_profile_name}/7682330505@legalaidsa.nebular.co.za^0117030000)
  4236. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(on_busy_flag=1)
  4237. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(on_busy_destination=)
  4238. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(no_answer_flag=1)
  4239. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(no_answer_destination=)
  4240. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(not_register_flag=1)
  4241. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(not_register_destination=)
  4242. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(opensips_flag=0)
  4243. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(variable_sip_to_host=legalaidsa.nebular.co.za)
  4244. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(opensips_domain=156.38.231.106)
  4245. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(leg_timeout=20)
  4246. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(userinfo_id=109)
  4247. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(sip_destination_number=7682330505)
  4248. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(destination_number=0117030000)
  4249. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(did_number=0117030000)
  4250. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action set(user_domain=legalaidsa.nebular.co.za)
  4251. Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  4252. |--- Dialplan: Processing recursive conditions level:1 [0117030000_recur_1] require-nested=TRUE
  4253. |--- Dialplan: sofia/default/+27628201391@41.160.32.115:5060 Regex (FAIL) [0117030000_recur_1] ${cond(${user_data 7682330505@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  4254. |--- Dialplan: sofia/default/+27628201391@41.160.32.115:5060 ANTI-Action hangup(${originate_disposition})
  4255. 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+27628201391@41.160.32.115:5060) State Change CS_ROUTING -> CS_EXECUTE
  4256. 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+27628201391@41.160.32.115:5060) State ROUTING going to sleep
  4257. 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+27628201391@41.160.32.115:5060) Running State Change CS_EXECUTE (Cur 36 Tot 535922)
  4258. 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+27628201391@41.160.32.115:5060) State EXECUTE
  4259. 2024-03-19 14:49:09.064168 [DEBUG] mod_sofia.c:198 sofia/default/+27628201391@41.160.32.115:5060 SOFIA EXECUTE
  4260. 2024-03-19 14:49:09.064168 [DEBUG] switch_core_state_machine.c:328 sofia/default/+27628201391@41.160.32.115:5060 Standard EXECUTE
  4261. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(effective_destination_number=0117030000)
  4262. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [effective_destination_number]=[0117030000]
  4263. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(bridge_pre_execute_bleg_app=sched_hangup)
  4264. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4265. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4266. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4267. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(callstart=2024-03-19 14:49:09)
  4268. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [callstart]=[2024-03-19 14:49:09]
  4269. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(hangup_after_bridge=true)
  4270. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [hangup_after_bridge]=[true]
  4271. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(continue_on_fail=TRUE)
  4272. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [continue_on_fail]=[TRUE]
  4273. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(account_id=3)
  4274. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [account_id]=[3]
  4275. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(parent_id=0)
  4276. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [parent_id]=[0]
  4277. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(entity_id=3)
  4278. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [entity_id]=[3]
  4279. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(call_processed=internal)
  4280. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [call_processed]=[internal]
  4281. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(call_direction=inbound)
  4282. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [call_direction]=[inbound]
  4283. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(accountname=default)
  4284. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [accountname]=[default]
  4285. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(filename1=astpp.pbx.lua)
  4286. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [filename1]=[astpp.pbx.lua]
  4287. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(origination_rates_did=ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109)                                                                                                                                                                            
  4288. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [origination_rates_did]=[ID:10873|CODE:^0117030000.*|DESTINATION:0117030000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:109]                                                                                                                            
  4289. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(origination_rates=0)
  4290. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [origination_rates]=[0]
  4291. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(original_caller_id_name=+27628201391)
  4292. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [original_caller_id_name]=[+27628201391]
  4293. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(effective_caller_id_name=+27628201391)
  4294. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [effective_caller_id_name]=[+27628201391]
  4295. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(receiver_accid=109)
  4296. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [receiver_accid]=[109]
  4297. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(domain_name=legalaidsa.nebular.co.za)
  4298. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[legalaidsa.nebular.co.za]
  4299. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(sip_to_host=legalaidsa.nebular.co.za)
  4300. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[legalaidsa.nebular.co.za]
  4301. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(presence_data=x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115)
  4302. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115]
  4303. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(call_type=5)
  4304. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[5]
  4305. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(calltype=SIP-DID)
  4306. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [calltype]=[SIP-DID]
  4307. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 db(insert/pickup_any_group_/7682330505/d77e82a6-e5ff-11ee-818a-d17fbcf33421)
  4308. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(dialed_extension=transfer_call)
  4309. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [dialed_extension]=[transfer_call]
  4310. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(dialed_extension=transfer_call)
  4311. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  4312. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  4313. 2024-03-19 14:49:09.064168 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  4314. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  4315. 2024-03-19 14:49:09.064168 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  4316. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 set(hangup_after_bridge=true)
  4317. 2024-03-19 14:49:09.064168 [DEBUG] mod_dptools.c:1548 SET sofia/default/+27628201391@41.160.32.115:5060 [hangup_after_bridge]=[true]
  4318. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 export(did_user_domain=legalaidsa.nebular.co.za)
  4319. 2024-03-19 14:49:09.064168 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [did_user_domain]=[legalaidsa.nebular.co.za]
  4320. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 sleep(1000)
  4321. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 ring_ready()
  4322. 2024-03-19 14:49:09.664199 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/27124315062@saqa.nebular.co.za:5060!
  4323. 2024-03-19 14:49:09.664199 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [early][180]
  4324. 2024-03-19 14:49:09.664199 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/27124315062@saqa.nebular.co.za:5060!
  4325. EXECUTE sofia/default/27124315062@saqa.nebular.co.za:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/602496@saqa.nebular.co.za^0124315224)
  4326. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [domain_name]=[saqa.nebular.co.za] to event
  4327. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [sip_to_host]=[saqa.nebular.co.za] to event
  4328. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [presence_data]=[x//13|||South African Qualifications Authority(602496)|||^0124315224.* // 0124315224 // 0.00000||||||DID|||156.38.231.105] to event                                                                                                                                                
  4329. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [call_type]=[5] to event
  4330. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  4331. 2024-03-19 14:49:09.664199 [DEBUG] switch_channel.c:1250 sofia/default/27124315062@saqa.nebular.co.za:5060 EXPORTING[export_vars] [did_user_domain]=[saqa.nebular.co.za] to event
  4332. 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4333. 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4334. 2024-03-19 14:49:09.664199 [NOTICE] switch_channel.c:1104 New Channel sofia/default/602496@saqa.nebular.co.za [d7e6b6f0-e5ff-11ee-81b2-d17fbcf33421]
  4335. 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:4819 (sofia/default/602496@saqa.nebular.co.za) State Change CS_NEW -> CS_INIT
  4336. 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:2963 sofia/default/602496@saqa.nebular.co.za Setting leg timeout to 30
  4337. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_INIT (Cur 37 Tot 535923)
  4338. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:627 (sofia/default/602496@saqa.nebular.co.za) State INIT
  4339. 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:90 sofia/default/602496@saqa.nebular.co.za SOFIA INIT
  4340. 2024-03-19 14:49:09.664199 [DEBUG] sofia_glue.c:1295 sofia/default/602496@saqa.nebular.co.za sending invite version: 1.6.20  64bit
  4341. Local SDP:                                                                                                                                                                                                        
  4342. v=0                                                                                                                                                                                                                
  4343. o=FreeSWITCH 1710835061 1710835062 IN IP4 156.38.231.107                                                                                                                                                          
  4344. s=FreeSWITCH                                                                                                                                                                                                      
  4345. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  4346. t=0 0                                                                                                                                                                                                              
  4347. m=audio 24688 RTP/AVP 8 101                                                                                                                                                                                        
  4348. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4349. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4350. a=fmtp:101 0-16                                                                                                                                                                                                    
  4351. a=ptime:20                                                                                                                                                                                                        
  4352. a=sendrecv                                                                                                                                                                                                        
  4353.  
  4354. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:40 sofia/default/602496@saqa.nebular.co.za Standard INIT
  4355. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:48 (sofia/default/602496@saqa.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4356. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:627 (sofia/default/602496@saqa.nebular.co.za) State INIT going to sleep
  4357. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_ROUTING (Cur 37 Tot 535923)
  4358. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:643 (sofia/default/602496@saqa.nebular.co.za) State ROUTING
  4359. 2024-03-19 14:49:09.664199 [DEBUG] mod_sofia.c:143 sofia/default/602496@saqa.nebular.co.za SOFIA ROUTING
  4360. 2024-03-19 14:49:09.664199 [DEBUG] switch_ivr_originate.c:67 (sofia/default/602496@saqa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4361. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:643 (sofia/default/602496@saqa.nebular.co.za) State ROUTING going to sleep
  4362. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 37 Tot 535923)
  4363. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:662 (sofia/default/602496@saqa.nebular.co.za) State CONSUME_MEDIA
  4364. 2024-03-19 14:49:09.664199 [DEBUG] switch_core_state_machine.c:662 (sofia/default/602496@saqa.nebular.co.za) State CONSUME_MEDIA going to sleep
  4365. 2024-03-19 14:49:09.664199 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [calling][0]
  4366. 2024-03-19 14:49:09.884161 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [proceeding][180]
  4367. 2024-03-19 14:49:09.884161 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/602496@saqa.nebular.co.za!
  4368. 2024-03-19 14:49:09.884161 [DEBUG] switch_channel.c:3346 (sofia/default/602496@saqa.nebular.co.za) Callstate Change DOWN -> RINGING
  4369. 2024-03-19 14:49:09.904176 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/27124315062@saqa.nebular.co.za:5060!
  4370. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 ring_ready()
  4371. 2024-03-19 14:49:10.084178 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+27628201391@41.160.32.115:5060!
  4372. 2024-03-19 14:49:10.084178 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [early][180]
  4373. 2024-03-19 14:49:10.084178 [NOTICE] mod_dptools.c:1028 Ring Ready sofia/default/+27628201391@41.160.32.115:5060!
  4374. EXECUTE sofia/default/+27628201391@41.160.32.115:5060 bridge({sip_invite_params=user=LOCAL}[leg_timeout=30]sofia/default/7682330505@legalaidsa.nebular.co.za^0117030000)
  4375. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [domain_name]=[legalaidsa.nebular.co.za] to event
  4376. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [sip_to_host]=[legalaidsa.nebular.co.za] to event
  4377. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^0117030000.* // 0117030000 // 0.00000||||||DID|||41.160.32.115] to event                                                                                                                                                                                    
  4378. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [call_type]=[5] to event
  4379. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  4380. 2024-03-19 14:49:10.084178 [DEBUG] switch_channel.c:1250 sofia/default/+27628201391@41.160.32.115:5060 EXPORTING[export_vars] [did_user_domain]=[legalaidsa.nebular.co.za] to event
  4381. 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4382. 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4383. 2024-03-19 14:49:10.084178 [NOTICE] switch_channel.c:1104 New Channel sofia/default/7682330505@legalaidsa.nebular.co.za [d8270f34-e5ff-11ee-81bb-d17fbcf33421]
  4384. 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:4819 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_NEW -> CS_INIT
  4385. 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:2963 sofia/default/7682330505@legalaidsa.nebular.co.za Setting leg timeout to 30
  4386. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_INIT (Cur 38 Tot 535924)
  4387. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7682330505@legalaidsa.nebular.co.za) State INIT
  4388. 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:90 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA INIT
  4389. 2024-03-19 14:49:10.084178 [DEBUG] sofia_glue.c:1295 sofia/default/7682330505@legalaidsa.nebular.co.za sending invite version: 1.6.20  64bit
  4390. Local SDP:                                                                                                                                                                                                        
  4391. v=0                                                                                                                                                                                                                
  4392. o=FreeSWITCH 1710835766 1710835767 IN IP4 156.38.231.107                                                                                                                                                          
  4393. s=FreeSWITCH                                                                                                                                                                                                      
  4394. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  4395. t=0 0                                                                                                                                                                                                              
  4396. m=audio 23984 RTP/AVP 8 101                                                                                                                                                                                        
  4397. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4398. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4399. a=fmtp:101 0-16                                                                                                                                                                                                    
  4400. a=ptime:20                                                                                                                                                                                                        
  4401. a=sendrecv                                                                                                                                                                                                        
  4402.  
  4403. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:40 sofia/default/7682330505@legalaidsa.nebular.co.za Standard INIT
  4404. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_INIT -> CS_ROUTING
  4405. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:627 (sofia/default/7682330505@legalaidsa.nebular.co.za) State INIT going to sleep
  4406. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_ROUTING (Cur 38 Tot 535924)
  4407. 2024-03-19 14:49:10.084178 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [calling][0]
  4408. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7682330505@legalaidsa.nebular.co.za) State ROUTING
  4409. 2024-03-19 14:49:10.084178 [DEBUG] mod_sofia.c:143 sofia/default/7682330505@legalaidsa.nebular.co.za SOFIA ROUTING
  4410. 2024-03-19 14:49:10.084178 [DEBUG] switch_ivr_originate.c:67 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4411. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:643 (sofia/default/7682330505@legalaidsa.nebular.co.za) State ROUTING going to sleep
  4412. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_CONSUME_MEDIA (Cur 38 Tot 535924)
  4413. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7682330505@legalaidsa.nebular.co.za) State CONSUME_MEDIA
  4414. 2024-03-19 14:49:10.084178 [DEBUG] switch_core_state_machine.c:662 (sofia/default/7682330505@legalaidsa.nebular.co.za) State CONSUME_MEDIA going to sleep
  4415. 2024-03-19 14:49:10.164208 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [proceeding][180]
  4416. 2024-03-19 14:49:10.164208 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/7682330505@legalaidsa.nebular.co.za!
  4417. 2024-03-19 14:49:10.164208 [DEBUG] switch_channel.c:3346 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change DOWN -> RINGING
  4418. 2024-03-19 14:49:10.164208 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+27628201391@41.160.32.115:5060!
  4419. 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [completing][200]
  4420. 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7094 Remote SDP:
  4421. v=0                                                                                                                                                                                                                
  4422. o=3cxPS 337154932736 38168166401 IN IP4 156.38.150.6                                                                                                                                                              
  4423. s=3cxPS Audio call                                                                                                                                                                                                
  4424. c=IN IP4 156.38.150.6                                                                                                                                                                                              
  4425. t=0 0                                                                                                                                                                                                              
  4426. m=audio 9656 RTP/AVP 8 101                                                                                                                                                                                        
  4427. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4428. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4429.  
  4430. 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/7682330505@legalaidsa.nebular.co.za entering state [ready][200]
  4431. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4432. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4433. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4434. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/7682330505@legalaidsa.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4435. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_codec.c:111 sofia/default/7682330505@legalaidsa.nebular.co.za Original read codec set to PCMA:8
  4436. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4437. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:4767 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  4438. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/7682330505@legalaidsa.nebular.co.za] 156.38.231.107 port 23984 -> 156.38.150.6 port 9656 codec: 8 ms: 20
  4439. 2024-03-19 14:49:10.204182 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4440. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7180 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf send payload to 101
  4441. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7187 sofia/default/7682330505@legalaidsa.nebular.co.za Set 2833 dtmf receive payload to 101
  4442. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7210 sofia/default/7682330505@legalaidsa.nebular.co.za Set rtp dtmf delay to 40
  4443. 2024-03-19 14:49:10.204182 [NOTICE] sofia.c:8218 Channel [sofia/default/7682330505@legalaidsa.nebular.co.za] has been answered
  4444. 2024-03-19 14:49:10.204182 [DEBUG] switch_channel.c:3773 (sofia/default/7682330505@legalaidsa.nebular.co.za) Callstate Change RINGING -> ACTIVE
  4445. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+27628201391@41.160.32.115:5060] 156.38.231.107 port 19502 -> 41.160.32.115 port 22146 codec: 8 ms: 20
  4446. 2024-03-19 14:49:10.204182 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4447. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7180 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf send payload to 97
  4448. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7187 sofia/default/+27628201391@41.160.32.115:5060 Set 2833 dtmf receive payload to 97
  4449. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_media.c:7210 sofia/default/+27628201391@41.160.32.115:5060 Set rtp dtmf delay to 40
  4450. 2024-03-19 14:49:10.204182 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+27628201391@41.160.32.115:5060:
  4451. v=0                                                                                                                                                                                                                
  4452. o=FreeSWITCH 1710840248 1710840249 IN IP4 156.38.231.107                                                                                                                                                          
  4453. s=FreeSWITCH                                                                                                                                                                                                      
  4454. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  4455. t=0 0                                                                                                                                                                                                              
  4456. m=audio 19502 RTP/AVP 8 97                                                                                                                                                                                        
  4457. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4458. a=rtpmap:97 telephone-event/8000                                                                                                                                                                                  
  4459. a=fmtp:97 0-16                                                                                                                                                                                                    
  4460. a=ptime:20                                                                                                                                                                                                        
  4461. a=sendrecv                                                                                                                                                                                                        
  4462.  
  4463. 2024-03-19 14:49:10.204182 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+27628201391@41.160.32.115:5060] has been answered
  4464. 2024-03-19 14:49:10.204182 [DEBUG] switch_channel.c:3773 (sofia/default/+27628201391@41.160.32.115:5060) Callstate Change RINGING -> ACTIVE
  4465. 2024-03-19 14:49:10.204182 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [completed][200]
  4466. 2024-03-19 14:49:10.204182 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/7682330505@legalaidsa.nebular.co.za]
  4467. 2024-03-19 14:49:10.204182 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/7682330505@legalaidsa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4468. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_state_machine.c:584 (sofia/default/7682330505@legalaidsa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 38 Tot 535924)
  4469. 2024-03-19 14:49:10.204182 [DEBUG] switch_core_state_machine.c:653 (sofia/default/7682330505@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA
  4470. 2024-03-19 14:49:10.204182 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4471. 2024-03-19 14:49:10.404165 [DEBUG] switch_ivr_bridge.c:546 sofia/default/7682330505@legalaidsa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  4472. 2024-03-19 14:49:10.424160 [DEBUG] switch_ivr.c:623 sofia/default/7682330505@legalaidsa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  4473. EXECUTE sofia/default/7682330505@legalaidsa.nebular.co.za sched_hangup(+6000 normal_clearing)
  4474. 2024-03-19 14:49:10.424160 [DEBUG] switch_scheduler.c:249 Added task 216741 switch_ivr_schedule_hangup (d8270f34-e5ff-11ee-81bb-d17fbcf33421) to run at 1710865750
  4475. 2024-03-19 14:49:10.484164 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.6:9656 to 156.38.231.105:9656
  4476. 2024-03-19 14:49:10.544190 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4477. 2024-03-19 14:49:10.624191 [DEBUG] sofia.c:7084 Channel sofia/default/+27628201391@41.160.32.115:5060 entering state [ready][200]
  4478. 2024-03-19 14:49:17.724180 [NOTICE] sofia.c:1012 Hangup sofia/default/0879445198@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  4479. 2024-03-19 14:49:17.724180 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0879445198@41.160.32.115:5060]
  4480. 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0879445198@41.160.32.115:5060 ending bridge by request from write function
  4481. 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/1945384195@legalaidsa.nebular.co.za]
  4482. 2024-03-19 14:49:17.744184 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/1945384195@legalaidsa.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  4483. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:653 (sofia/default/1945384195@legalaidsa.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  4484. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_HANGUP (Cur 38 Tot 535924)
  4485. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1945384195@legalaidsa.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  4486. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1945384195@legalaidsa.nebular.co.za) State HANGUP
  4487. 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:432 sofia/default/1945384195@legalaidsa.nebular.co.za Overriding SIP cause 480 with 200 from the other leg
  4488. 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:438 Channel sofia/default/1945384195@legalaidsa.nebular.co.za hanging up, cause: NORMAL_CLEARING
  4489. 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/1945384195@legalaidsa.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  4490. 2024-03-19 14:49:17.744184 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0879445198@41.160.32.115:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  4491. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_session.c:2815 sofia/default/0879445198@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  4492. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0879445198@41.160.32.115:5060) State EXECUTE going to sleep
  4493. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 38 Tot 535924)
  4494. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0879445198@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  4495. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0879445198@41.160.32.115:5060) State HANGUP
  4496. 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:438 Channel sofia/default/0879445198@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  4497. 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/1945384195@legalaidsa.nebular.co.za
  4498. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:60 sofia/default/1945384195@legalaidsa.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  4499. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1945384195@legalaidsa.nebular.co.za) State HANGUP going to sleep
  4500. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:619 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  4501. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_REPORTING (Cur 38 Tot 535924)
  4502. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:60 sofia/default/0879445198@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  4503. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0879445198@41.160.32.115:5060) State HANGUP going to sleep
  4504. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  4505. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 38 Tot 535924)
  4506. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0879445198@41.160.32.115:5060) State REPORTING
  4507. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1945384195@legalaidsa.nebular.co.za) State REPORTING
  4508. 2024-03-19 14:49:17.744184 [INFO] mod_json_cdr.c:271 Process [c8dc4af8-e5ff-11ee-80c8-d17fbcf33421.cdr.json]
  4509. 2024-03-19 14:49:17.744184 [INFO] mod_json_cdr.c:271 Process [c9844c80-e5ff-11ee-80f0-d17fbcf33421.cdr.json]
  4510. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:174 sofia/default/1945384195@legalaidsa.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  4511. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1945384195@legalaidsa.nebular.co.za) State REPORTING going to sleep
  4512. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:610 (sofia/default/1945384195@legalaidsa.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  4513. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_session.c:1665 Session 535914 (sofia/default/1945384195@legalaidsa.nebular.co.za) Locked, Waiting on external entities
  4514. 2024-03-19 14:49:17.744184 [NOTICE] switch_core_session.c:1683 Session 535914 (sofia/default/1945384195@legalaidsa.nebular.co.za) Ended
  4515. 2024-03-19 14:49:17.744184 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/1945384195@legalaidsa.nebular.co.za [CS_DESTROY]
  4516. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1945384195@legalaidsa.nebular.co.za) Running State Change CS_DESTROY (Cur 37 Tot 535924)
  4517. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1945384195@legalaidsa.nebular.co.za) State DESTROY
  4518. 2024-03-19 14:49:17.744184 [DEBUG] mod_sofia.c:343 sofia/default/1945384195@legalaidsa.nebular.co.za SOFIA DESTROY
  4519. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:181 sofia/default/1945384195@legalaidsa.nebular.co.za Standard DESTROY
  4520. 2024-03-19 14:49:17.744184 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1945384195@legalaidsa.nebular.co.za) State DESTROY going to sleep
  4521. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:174 sofia/default/0879445198@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  4522. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0879445198@41.160.32.115:5060) State REPORTING going to sleep
  4523. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0879445198@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  4524. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_session.c:1665 Session 535913 (sofia/default/0879445198@41.160.32.115:5060) Locked, Waiting on external entities
  4525. 2024-03-19 14:49:17.764220 [NOTICE] switch_core_session.c:1683 Session 535913 (sofia/default/0879445198@41.160.32.115:5060) Ended
  4526. 2024-03-19 14:49:17.764220 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0879445198@41.160.32.115:5060 [CS_DESTROY]
  4527. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0879445198@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 36 Tot 535924)
  4528. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0879445198@41.160.32.115:5060) State DESTROY
  4529. 2024-03-19 14:49:17.764220 [DEBUG] mod_sofia.c:343 sofia/default/0879445198@41.160.32.115:5060 SOFIA DESTROY
  4530. 2024-03-19 14:49:17.764220 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7feda861f120 0x7feda861f120
  4531. 2024-03-19 14:49:17.764220 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7feda861f120 0x7feda861f120
  4532. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:181 sofia/default/0879445198@41.160.32.115:5060 Standard DESTROY
  4533. 2024-03-19 14:49:17.764220 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0879445198@41.160.32.115:5060) State DESTROY going to sleep
  4534. 2024-03-19 14:49:17.924185 [DEBUG] switch_scheduler.c:144 Deleting task 216738 switch_ivr_schedule_hangup (c9844c80-e5ff-11ee-80f0-d17fbcf33421)
  4535. 2024-03-19 14:49:18.524174 [NOTICE] sofia.c:1012 Hangup sofia/default/0788236240 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  4536. 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0788236240]
  4537. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0788236240) State EXCHANGE_MEDIA going to sleep
  4538. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788236240) Running State Change CS_HANGUP (Cur 36 Tot 535924)
  4539. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0788236240) Callstate Change ACTIVE -> HANGUP
  4540. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0788236240) State HANGUP
  4541. 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:438 Channel sofia/default/0788236240 hanging up, cause: NORMAL_CLEARING
  4542. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:60 sofia/default/0788236240 Standard HANGUP, cause: NORMAL_CLEARING
  4543. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0788236240) State HANGUP going to sleep
  4544. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0788236240) State Change CS_HANGUP -> CS_REPORTING
  4545. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0788236240) Running State Change CS_REPORTING (Cur 36 Tot 535924)
  4546. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0788236240) State REPORTING
  4547. 2024-03-19 14:49:18.524174 [INFO] mod_json_cdr.c:271 Process [ace044bc-e5ff-11ee-bf64-d17fbcf33421.cdr.json]
  4548. 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0788236240 ending bridge by request from write function
  4549. 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0392551473@legalaidsa.nebular.co.za:5060]
  4550. 2024-03-19 14:49:18.524174 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0788236240 skip receive message [UNBRIDGE] (channel is hungup already)
  4551. 2024-03-19 14:49:18.524174 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0392551473@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  4552. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_session.c:2815 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  4553. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep
  4554. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 36 Tot 535924)
  4555. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  4556. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State HANGUP
  4557. 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:432 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Overriding SIP cause 480 with 200 from the other leg
  4558. 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:438 Channel sofia/default/0392551473@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  4559. 2024-03-19 14:49:18.524174 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0392551473@legalaidsa.nebular.co.za:5060
  4560. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:60 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  4561. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep
  4562. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  4563. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 36 Tot 535924)
  4564. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State REPORTING
  4565. 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [completing][200]
  4566. 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7094 Remote SDP:
  4567. v=0                                                                                                                                                                                                                
  4568. o=3cxPS 160004308992 234713251841 IN IP4 156.38.150.10                                                                                                                                                            
  4569. s=3cxPS Audio call                                                                                                                                                                                                
  4570. c=IN IP4 156.38.150.10                                                                                                                                                                                            
  4571. t=0 0                                                                                                                                                                                                              
  4572. m=audio 9526 RTP/AVP 8 101                                                                                                                                                                                        
  4573. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4574. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4575.  
  4576. 2024-03-19 14:49:18.524174 [INFO] mod_json_cdr.c:271 Process [acd3a93c-e5ff-11ee-bf41-d17fbcf33421.cdr.json]
  4577. 2024-03-19 14:49:18.524174 [DEBUG] sofia.c:7084 Channel sofia/default/602496@saqa.nebular.co.za entering state [ready][200]
  4578. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4579. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4580. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4581. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/602496@saqa.nebular.co.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4582. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_codec.c:111 sofia/default/602496@saqa.nebular.co.za Original read codec set to PCMA:8
  4583. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4584. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:4767 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  4585. 2024-03-19 14:49:18.524174 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/602496@saqa.nebular.co.za] 156.38.231.107 port 24688 -> 156.38.150.10 port 9526 codec: 8 ms: 20
  4586. 2024-03-19 14:49:18.524174 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4587. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7180 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf send payload to 101
  4588. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7187 sofia/default/602496@saqa.nebular.co.za Set 2833 dtmf receive payload to 101
  4589. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7210 sofia/default/602496@saqa.nebular.co.za Set rtp dtmf delay to 40
  4590. 2024-03-19 14:49:18.544195 [NOTICE] sofia.c:8218 Channel [sofia/default/602496@saqa.nebular.co.za] has been answered
  4591. 2024-03-19 14:49:18.544195 [DEBUG] switch_channel.c:3773 (sofia/default/602496@saqa.nebular.co.za) Callstate Change RINGING -> ACTIVE
  4592. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:174 sofia/default/0788236240 Standard REPORTING, cause: NORMAL_CLEARING
  4593. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0788236240) State REPORTING going to sleep
  4594. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0788236240) State Change CS_REPORTING -> CS_DESTROY
  4595. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_session.c:1665 Session 535897 (sofia/default/0788236240) Locked, Waiting on external entities
  4596. 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1683 Session 535897 (sofia/default/0788236240) Ended
  4597. 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0788236240 [CS_DESTROY]
  4598. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0788236240) Running State Change CS_DESTROY (Cur 35 Tot 535924)
  4599. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0788236240) State DESTROY
  4600. 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:343 sofia/default/0788236240 SOFIA DESTROY
  4601. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:181 sofia/default/0788236240 Standard DESTROY
  4602. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0788236240) State DESTROY going to sleep
  4603. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/27124315062@saqa.nebular.co.za:5060] 156.38.231.107 port 31420 -> 156.38.150.10 port 9524 codec: 8 ms: 20
  4604. 2024-03-19 14:49:18.544195 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4605. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7180 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf send payload to 101
  4606. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7187 sofia/default/27124315062@saqa.nebular.co.za:5060 Set 2833 dtmf receive payload to 101
  4607. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_media.c:7210 sofia/default/27124315062@saqa.nebular.co.za:5060 Set rtp dtmf delay to 40
  4608. 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/27124315062@saqa.nebular.co.za:5060:
  4609. v=0                                                                                                                                                                                                                
  4610. o=FreeSWITCH 1710828338 1710828339 IN IP4 156.38.231.107                                                                                                                                                          
  4611. s=FreeSWITCH                                                                                                                                                                                                      
  4612. c=IN IP4 156.38.231.107                                                                                                                                                                                            
  4613. t=0 0                                                                                                                                                                                                              
  4614. m=audio 31420 RTP/AVP 8 101                                                                                                                                                                                        
  4615. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  4616. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4617. a=fmtp:101 0-16                                                                                                                                                                                                    
  4618. a=ptime:20                                                                                                                                                                                                        
  4619. a=sendrecv                                                                                                                                                                                                        
  4620.  
  4621. 2024-03-19 14:49:18.544195 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/27124315062@saqa.nebular.co.za:5060] has been answered
  4622. 2024-03-19 14:49:18.544195 [DEBUG] switch_channel.c:3773 (sofia/default/27124315062@saqa.nebular.co.za:5060) Callstate Change RINGING -> ACTIVE
  4623. 2024-03-19 14:49:18.544195 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [completed][200]
  4624. 2024-03-19 14:49:18.544195 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/602496@saqa.nebular.co.za]
  4625. 2024-03-19 14:49:18.544195 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/602496@saqa.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4626. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:584 (sofia/default/602496@saqa.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 35 Tot 535924)
  4627. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:653 (sofia/default/602496@saqa.nebular.co.za) State EXCHANGE_MEDIA
  4628. 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4629. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:174 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  4630. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep
  4631. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  4632. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_session.c:1665 Session 535896 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities
  4633. 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1683 Session 535896 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Ended
  4634. 2024-03-19 14:49:18.544195 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0392551473@legalaidsa.nebular.co.za:5060 [CS_DESTROY]
  4635. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 34 Tot 535924)
  4636. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State DESTROY
  4637. 2024-03-19 14:49:18.544195 [DEBUG] mod_sofia.c:343 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 SOFIA DESTROY
  4638. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:181 sofia/default/0392551473@legalaidsa.nebular.co.za:5060 Standard DESTROY
  4639. 2024-03-19 14:49:18.544195 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0392551473@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep
  4640. 2024-03-19 14:49:18.564304 [DEBUG] sofia.c:7084 Channel sofia/default/27124315062@saqa.nebular.co.za:5060 entering state [ready][200]
  4641. 2024-03-19 14:49:18.724173 [DEBUG] switch_ivr_bridge.c:546 sofia/default/602496@saqa.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  4642. 2024-03-19 14:49:18.744173 [DEBUG] switch_ivr.c:623 sofia/default/602496@saqa.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  4643. EXECUTE sofia/default/602496@saqa.nebular.co.za sched_hangup(+6000 normal_clearing)
  4644. 2024-03-19 14:49:18.744173 [DEBUG] switch_scheduler.c:249 Added task 216742 switch_ivr_schedule_hangup (d7e6b6f0-e5ff-11ee-81b2-d17fbcf33421) to run at 1710865758
  4645. 2024-03-19 14:49:18.744173 [DEBUG] switch_scheduler.c:144 Deleting task 216729 switch_ivr_schedule_hangup (ace044bc-e5ff-11ee-bf64-d17fbcf33421)
  4646. 2024-03-19 14:49:18.784241 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.10:9524 to 156.38.231.105:9524
  4647. 2024-03-19 14:49:18.804196 [INFO] switch_rtp.c:7268 Auto Changing audio port from 156.38.150.10:9526 to 156.38.231.105:9526
  4648. 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [completing][200]
  4649. 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7094 Remote SDP:
  4650. v=0                                                                                                                                                                                                                
  4651. o=- 20002 20002 IN IP4 102.219.180.81                                                                                                                                                                              
  4652. s=SDP data                                                                                                                                                                                                        
  4653. i=(o=IN IP4 102.219.180.66)                                                                                                                                                                                        
  4654. c=IN IP4 102.219.180.81                                                                                                                                                                                            
  4655. t=0 0                                                                                                                                                                                                              
  4656. m=audio 12752 RTP/AVP 18 101                                                                                                                                                                                      
  4657. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  4658. a=fmtp:18 annexb=no                                                                                                                                                                                                
  4659. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4660. a=fmtp:101 0-15                                                                                                                                                                                                    
  4661. a=ptime:20                                                                                                                                                                                                        
  4662.  
  4663. 2024-03-19 14:49:19.344175 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [ready][200]
  4664. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  4665. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  4666. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  4667. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  4668. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4669. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5805@karlovac.nebular.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
  4670. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_codec.c:111 sofia/default/5805@karlovac.nebular.co.za Original read codec set to G729:18
  4671. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4672. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:4767 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  4673. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5805@karlovac.nebular.co.za] 156.38.231.107 port 25874 -> 102.219.180.81 port 12752 codec: 18 ms: 20
  4674. 2024-03-19 14:49:19.344175 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4675. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7180 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101
  4676. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7187 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf receive payload to 101
  4677. 2024-03-19 14:49:19.344175 [DEBUG] switch_core_media.c:7210 sofia/default/5805@karlovac.nebular.co.za Set rtp dtmf delay to 40
  4678. 2024-03-19 14:49:19.344175 [NOTICE] sofia.c:8218 Channel [sofia/default/5805@karlovac.nebular.co.za] has been answered
  4679. 2024-03-19 14:49:19.344175 [DEBUG] switch_channel.c:3773 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change RINGING -> ACTIVE
  4680. 2024-03-19 14:49:19.364179 [DEBUG] switch_core_codec.c:248 sofia/default/0734382646@41.160.32.115:5060 Restore previous codec G729:18.
  4681. 2024-03-19 14:49:19.364179 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/5805@karlovac.nebular.co.za]
  4682. 2024-03-19 14:49:19.364179 [DEBUG] switch_channel.c:2047 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change RING_WAIT -> ACTIVE
  4683. 2024-03-19 14:49:19.364179 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4684. 2024-03-19 14:49:19.364179 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_EXCHANGE_MEDIA (Cur 34 Tot 535924)
  4685. 2024-03-19 14:49:19.364179 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5805@karlovac.nebular.co.za) State EXCHANGE_MEDIA
  4686. 2024-03-19 14:49:19.364179 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4687. 2024-03-19 14:49:19.384156 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [calling][0]
  4688. 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:7084 Channel sofia/default/5805@karlovac.nebular.co.za entering state [ready][200]
  4689. 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:7094 Remote SDP:
  4690. v=0                                                                                                                                                                                                                
  4691. o=- 20002 20003 IN IP4 102.219.180.66                                                                                                                                                                              
  4692. s=SDP data                                                                                                                                                                                                        
  4693. c=IN IP4 102.219.180.66                                                                                                                                                                                            
  4694. t=0 0                                                                                                                                                                                                              
  4695. m=audio 12752 RTP/AVP 18 101                                                                                                                                                                                      
  4696. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  4697. a=fmtp:18 annexb=no                                                                                                                                                                                                
  4698. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  4699. a=fmtp:101 0-15                                                                                                                                                                                                    
  4700. a=ptime:20                                                                                                                                                                                                        
  4701.  
  4702. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  4703. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  4704. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  4705. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  4706. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4707. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4708. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:4767 sofia/default/5805@karlovac.nebular.co.za Set 2833 dtmf send payload to 101 recv payload to 101
  4709. 2024-03-19 14:49:19.544194 [DEBUG] sofia.c:8061 Processing updated SDP
  4710. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6867 Audio params changed for sofia/default/5805@karlovac.nebular.co.za from 102.219.180.81:12752 to 102.219.180.66:12752
  4711. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/5805@karlovac.nebular.co.za] 156.38.231.107 port 25874 -> 102.219.180.66 port 12752 codec: 18 ms: 20
  4712. 2024-03-19 14:49:19.544194 [DEBUG] switch_core_media.c:6907 AUDIO RTP CHANGING DEST TO: [102.219.180.66:12752]
  4713. 2024-03-19 14:49:19.544194 [DEBUG] switch_ivr_bridge.c:546 sofia/default/5805@karlovac.nebular.co.za Bridge execute app sched_hangup(+6000 normal_clearing)
  4714. 2024-03-19 14:49:19.564175 [DEBUG] switch_ivr.c:623 sofia/default/5805@karlovac.nebular.co.za Command Execute sched_hangup(+6000 normal_clearing)
  4715. EXECUTE sofia/default/5805@karlovac.nebular.co.za sched_hangup(+6000 normal_clearing)
  4716. 2024-03-19 14:49:19.564175 [DEBUG] switch_scheduler.c:249 Added task 216743 switch_ivr_schedule_hangup (ce730c4a-e5ff-11ee-8129-d17fbcf33421) to run at 1710865759
  4717. 2024-03-19 14:49:19.704168 [NOTICE] sofia.c:1012 Hangup sofia/default/5805@karlovac.nebular.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  4718. 2024-03-19 14:49:19.704168 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/5805@karlovac.nebular.co.za]
  4719. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:653 (sofia/default/5805@karlovac.nebular.co.za) State EXCHANGE_MEDIA going to sleep
  4720. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_HANGUP (Cur 34 Tot 535924)
  4721. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5805@karlovac.nebular.co.za) Callstate Change ACTIVE -> HANGUP
  4722. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5805@karlovac.nebular.co.za) State HANGUP
  4723. 2024-03-19 14:49:19.704168 [DEBUG] mod_sofia.c:438 Channel sofia/default/5805@karlovac.nebular.co.za hanging up, cause: NORMAL_CLEARING
  4724. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:60 sofia/default/5805@karlovac.nebular.co.za Standard HANGUP, cause: NORMAL_CLEARING
  4725. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5805@karlovac.nebular.co.za) State HANGUP going to sleep
  4726. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_HANGUP -> CS_REPORTING
  4727. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_REPORTING (Cur 34 Tot 535924)
  4728. 2024-03-19 14:49:19.704168 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5805@karlovac.nebular.co.za) State REPORTING
  4729. 2024-03-19 14:49:19.704168 [INFO] mod_json_cdr.c:271 Process [ce730c4a-e5ff-11ee-8129-d17fbcf33421.cdr.json]
  4730. 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:706 sofia/default/5805@karlovac.nebular.co.za ending bridge by request from write function
  4731. 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0734382646@41.160.32.115:5060]
  4732. 2024-03-19 14:49:19.724164 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/5805@karlovac.nebular.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  4733. 2024-03-19 14:49:19.724164 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/0734382646@41.160.32.115:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  4734. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:2815 sofia/default/0734382646@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  4735. 2024-03-19 14:49:19.724164 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fed4810e810 released.
  4736. 2024-03-19 14:49:19.724164 [DEBUG] switch_cpp.cpp:1112 sofia/default/0734382646@41.160.32.115:5060 destroy/unlink session from object
  4737. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:2815 sofia/default/0734382646@41.160.32.115:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  4738. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0734382646@41.160.32.115:5060) State EXECUTE going to sleep
  4739. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_HANGUP (Cur 34 Tot 535924)
  4740. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0734382646@41.160.32.115:5060) Callstate Change ACTIVE -> HANGUP
  4741. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0734382646@41.160.32.115:5060) State HANGUP
  4742. 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:432 sofia/default/0734382646@41.160.32.115:5060 Overriding SIP cause 480 with 200 from the other leg
  4743. 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:438 Channel sofia/default/0734382646@41.160.32.115:5060 hanging up, cause: NORMAL_CLEARING
  4744. 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0734382646@41.160.32.115:5060
  4745. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:60 sofia/default/0734382646@41.160.32.115:5060 Standard HANGUP, cause: NORMAL_CLEARING
  4746. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0734382646@41.160.32.115:5060) State HANGUP going to sleep
  4747. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_HANGUP -> CS_REPORTING
  4748. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_REPORTING (Cur 34 Tot 535924)
  4749. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0734382646@41.160.32.115:5060) State REPORTING
  4750. 2024-03-19 14:49:19.724164 [INFO] mod_json_cdr.c:271 Process [c31ef656-e5ff-11ee-8073-d17fbcf33421.cdr.json]
  4751. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:174 sofia/default/5805@karlovac.nebular.co.za Standard REPORTING, cause: NORMAL_CLEARING
  4752. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5805@karlovac.nebular.co.za) State REPORTING going to sleep
  4753. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5805@karlovac.nebular.co.za) State Change CS_REPORTING -> CS_DESTROY
  4754. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_session.c:1665 Session 535917 (sofia/default/5805@karlovac.nebular.co.za) Locked, Waiting on external entities
  4755. 2024-03-19 14:49:19.724164 [NOTICE] switch_core_session.c:1683 Session 535917 (sofia/default/5805@karlovac.nebular.co.za) Ended
  4756. 2024-03-19 14:49:19.724164 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5805@karlovac.nebular.co.za [CS_DESTROY]
  4757. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5805@karlovac.nebular.co.za) Running State Change CS_DESTROY (Cur 33 Tot 535924)
  4758. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5805@karlovac.nebular.co.za) State DESTROY
  4759. 2024-03-19 14:49:19.724164 [DEBUG] mod_sofia.c:343 sofia/default/5805@karlovac.nebular.co.za SOFIA DESTROY
  4760. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:181 sofia/default/5805@karlovac.nebular.co.za Standard DESTROY
  4761. 2024-03-19 14:49:19.724164 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5805@karlovac.nebular.co.za) State DESTROY going to sleep
  4762. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:174 sofia/default/0734382646@41.160.32.115:5060 Standard REPORTING, cause: NORMAL_CLEARING
  4763. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0734382646@41.160.32.115:5060) State REPORTING going to sleep
  4764. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0734382646@41.160.32.115:5060) State Change CS_REPORTING -> CS_DESTROY
  4765. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_session.c:1665 Session 535910 (sofia/default/0734382646@41.160.32.115:5060) Locked, Waiting on external entities
  4766. 2024-03-19 14:49:19.744157 [NOTICE] switch_core_session.c:1683 Session 535910 (sofia/default/0734382646@41.160.32.115:5060) Ended
  4767. 2024-03-19 14:49:19.744157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0734382646@41.160.32.115:5060 [CS_DESTROY]
  4768. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0734382646@41.160.32.115:5060) Running State Change CS_DESTROY (Cur 32 Tot 535924)
  4769. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0734382646@41.160.32.115:5060) State DESTROY
  4770. 2024-03-19 14:49:19.744157 [DEBUG] mod_sofia.c:343 sofia/default/0734382646@41.160.32.115:5060 SOFIA DESTROY
  4771. 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7feda86f1648 0x7feda86f1650
  4772. 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7feda86f1648 0x7feda86f1650
  4773. 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7feda86f16c8 0x7feda86f16c8
  4774. 2024-03-19 14:49:19.744157 [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7feda86f16c8 0x7feda86f16c8
  4775. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:181 sofia/default/0734382646@41.160.32.115:5060 Standard DESTROY
  4776. 2024-03-19 14:49:19.744157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0734382646@41.160.32.115:5060) State DESTROY going to sleep
  4777. 2024-03-19 14:49:19.964162 [NOTICE] sofia.c:1012 Hangup sofia/default/0514479915@legalaidsa.nebular.co.za:5060 [CS_EXECUTE] [NORMAL_CLEARING]
  4778. 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0514479915@legalaidsa.nebular.co.za:5060]
  4779. 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:706 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 ending bridge by request from write function
  4780. 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/0627410147]
  4781. 2024-03-19 14:49:19.964162 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/0627410147 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  4782. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:653 (sofia/default/0627410147) State EXCHANGE_MEDIA going to sleep
  4783. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0627410147) Running State Change CS_HANGUP (Cur 32 Tot 535924)
  4784. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0627410147) Callstate Change ACTIVE -> HANGUP
  4785. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0627410147) State HANGUP
  4786. 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:432 sofia/default/0627410147 Overriding SIP cause 480 with 200 from the other leg
  4787. 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:438 Channel sofia/default/0627410147 hanging up, cause: NORMAL_CLEARING
  4788. 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/0627410147 skip receive message [UNBRIDGE] (channel is hungup already)
  4789. 2024-03-19 14:49:19.964162 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  4790. 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/0627410147
  4791. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:60 sofia/default/0627410147 Standard HANGUP, cause: NORMAL_CLEARING
  4792. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0627410147) State HANGUP going to sleep
  4793. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0627410147) State Change CS_HANGUP -> CS_REPORTING
  4794. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0627410147) Running State Change CS_REPORTING (Cur 32 Tot 535924)
  4795. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_session.c:2815 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  4796. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0627410147) State REPORTING
  4797. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:650 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State EXECUTE going to sleep
  4798. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_HANGUP (Cur 32 Tot 535924)
  4799. 2024-03-19 14:49:19.964162 [INFO] mod_json_cdr.c:271 Process [f888877c-e5fe-11ee-b6fe-d17fbcf33421.cdr.json]
  4800. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Callstate Change ACTIVE -> HANGUP
  4801. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State HANGUP
  4802. 2024-03-19 14:49:19.964162 [DEBUG] mod_sofia.c:438 Channel sofia/default/0514479915@legalaidsa.nebular.co.za:5060 hanging up, cause: NORMAL_CLEARING
  4803. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:60 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard HANGUP, cause: NORMAL_CLEARING
  4804. 2024-03-19 14:49:19.964162 [DEBUG] switch_core_state_machine.c:852 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State HANGUP going to sleep
  4805. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:619 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State Change CS_HANGUP -> CS_REPORTING
  4806. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:584 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_REPORTING (Cur 32 Tot 535924)
  4807. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State REPORTING
  4808. 2024-03-19 14:49:19.984630 [INFO] mod_json_cdr.c:271 Process [f87b5d7c-e5fe-11ee-b6db-d17fbcf33421.cdr.json]
  4809. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:174 sofia/default/0627410147 Standard REPORTING, cause: NORMAL_CLEARING
  4810. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0627410147) State REPORTING going to sleep
  4811. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0627410147) State Change CS_REPORTING -> CS_DESTROY
  4812. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_session.c:1665 Session 535797 (sofia/default/0627410147) Locked, Waiting on external entities
  4813. 2024-03-19 14:49:19.984630 [NOTICE] switch_core_session.c:1683 Session 535797 (sofia/default/0627410147) Ended
  4814. 2024-03-19 14:49:19.984630 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0627410147 [CS_DESTROY]
  4815. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0627410147) Running State Change CS_DESTROY (Cur 31 Tot 535924)
  4816. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0627410147) State DESTROY
  4817. 2024-03-19 14:49:19.984630 [DEBUG] mod_sofia.c:343 sofia/default/0627410147 SOFIA DESTROY
  4818. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:181 sofia/default/0627410147 Standard DESTROY
  4819. 2024-03-19 14:49:19.984630 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0627410147) State DESTROY going to sleep
  4820. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:174 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard REPORTING, cause: NORMAL_CLEARING
  4821. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:938 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State REPORTING going to sleep
  4822. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:610 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State Change CS_REPORTING -> CS_DESTROY
  4823. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_session.c:1665 Session 535796 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Locked, Waiting on external entities
  4824. 2024-03-19 14:49:20.004341 [NOTICE] switch_core_session.c:1683 Session 535796 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Ended
  4825. 2024-03-19 14:49:20.004341 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/0514479915@legalaidsa.nebular.co.za:5060 [CS_DESTROY]
  4826. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:741 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) Running State Change CS_DESTROY (Cur 30 Tot 535924)
  4827. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State DESTROY
  4828. 2024-03-19 14:49:20.004341 [DEBUG] mod_sofia.c:343 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 SOFIA DESTROY
  4829. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:181 sofia/default/0514479915@legalaidsa.nebular.co.za:5060 Standard DESTROY
  4830. 2024-03-19 14:49:20.004341 [DEBUG] switch_core_state_machine.c:751 (sofia/default/0514479915@legalaidsa.nebular.co.za:5060) State DESTROY going to sleep
  4831. 2024-03-19 14:49:20.064160 [DEBUG] switch_scheduler.c:144 Deleting task 216687 switch_ivr_schedule_hangup (f888877c-e5fe-11ee-b6fe-d17fbcf33421)
  4832. 2024-03-19 14:49:20.064160 [DEBUG] switch_scheduler.c:144 Deleting task 216743 switch_ivr_schedule_hangup (ce730c4a-e5ff-11ee-8129-d17fbcf33421)
  4833.