From test, 1 Year ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. +OK log level  [7]
  2. 2023-05-23 10:29:51.074216 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/166@65.109.0.34 [b29c08d2-942b-4269-a816-12cde25cf95f]
  3. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/166@65.109.0.34) Running State Change CS_NEW (Cur 1 Tot 18615)
  4. 2023-05-23 10:29:51.074216 99.93% [INFO] sofia.c:10462 sofia/default/166@65.109.0.34 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: d3b37078-73e6-123c-91b6-9600017f4e11                                                                                                                                            
  5. 2023-05-23 10:29:51.074216 99.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
  6. 2023-05-23 10:29:51.074216 99.93% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
  7. 2023-05-23 10:29:51.074216 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/166@65.109.0.34 entering state [received][100]
  8. 2023-05-23 10:29:51.074216 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  9. v=0                                                                                                                                                                        
  10. o=FreeSWITCH 1684800544 1684800545 IN IP4 65.109.0.34                                                                                                                      
  11. s=FreeSWITCH                                                                                                                                                                
  12. c=IN IP4 65.109.0.34                                                                                                                                                        
  13. t=0 0                                                                                                                                                                      
  14. m=audio 30046 RTP/AVP 8 18 101                                                                                                                                              
  15. a=rtpmap:8 PCMA/8000                                                                                                                                                        
  16. a=rtpmap:18 G729/8000                                                                                                                                                      
  17. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  18. a=fmtp:101 0-15                                                                                                                                                            
  19. a=ptime:20                                                                                                                                                                  
  20.  
  21. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  25. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  26. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  27. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  28. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  29. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  30. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/166@65.109.0.34 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  31. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/166@65.109.0.34 Original read codec set to PCMA:8
  32. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  33. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/166@65.109.0.34 Set 2833 dtmf send payload to 101 recv payload to 101
  34. 2023-05-23 10:29:51.074216 99.93% [DEBUG] sofia.c:7933 (sofia/default/166@65.109.0.34) State Change CS_NEW -> CS_INIT
  35. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/166@65.109.0.34) State NEW
  36. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/166@65.109.0.34) Running State Change CS_INIT (Cur 1 Tot 18615)
  37. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/166@65.109.0.34) State INIT
  38. 2023-05-23 10:29:51.074216 99.93% [DEBUG] mod_sofia.c:97 sofia/default/166@65.109.0.34 SOFIA INIT
  39. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/166@65.109.0.34 Standard INIT
  40. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/166@65.109.0.34) State Change CS_INIT -> CS_ROUTING
  41. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/166@65.109.0.34) State INIT going to sleep
  42. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/166@65.109.0.34) Running State Change CS_ROUTING (Cur 1 Tot 18615)
  43. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_channel.c:2380 (sofia/default/166@65.109.0.34) Callstate Change DOWN -> RINGING
  44. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/166@65.109.0.34) State ROUTING
  45. 2023-05-23 10:29:51.074216 99.93% [DEBUG] mod_sofia.c:158 sofia/default/166@65.109.0.34 SOFIA ROUTING
  46. 2023-05-23 10:29:51.074216 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/166@65.109.0.34 Standard ROUTING
  47. 2023-05-23 10:29:51.074216 99.93% [INFO] mod_dialplan_xml.c:639 Processing 166 <166>->1911 in context default
  48. 2023-05-23 10:29:51.094216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  49. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  50. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                  
  51. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  52. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1911
  53. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1911' AND status=0 limit 1                                                                                                                                                                
  54. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERyour
  55. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1911' limit 1                                                                                                                                                                          
  57. 2023-05-23 10:29:51.114216 99.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  58. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "166" / 166
  59. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1911" LIMIT 1                                                                                                                                                                
  60. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  62. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 65.109.0.34
  63. 2023-05-23 10:29:51.114216 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5318119729]
  64. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5318119729" AND deleted = 0 limit 1
  65. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =259
  66. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1911" AND (accountid = 0 OR status = 1) LIMIT 1                                                                                                                                                                          
  67. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  68. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 259
  69. 2023-05-23 10:29:51.114216 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^1911.*' OR patterns = '^191.*' OR patterns = '^19.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 259 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                        
  70. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1911" AND A.accountid = '259' limit 1                                                                                        
  71. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1911
  72. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1911" LIMIT 1                                                                                                                                                                
  73. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  75. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '1911' OR number = '191' OR number = '19' OR number = '1' OR number ='--') OR (number = '1911*' OR number = '191*' OR number = '19*' OR number = '1*' OR number ='--') OR (number = '166' OR number = '16' OR number = '1' OR number ='--') OR (number = '166*' OR number = '16*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                      
  76. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  77. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1911' OR routing_prefix = '191' OR routing_prefix = '19' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1    
  78. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  79. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 259
  80. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5318119729
  81. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =259
  82. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 90
  83. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  84. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  85. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  86. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  87. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  88. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  89. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1911" LIMIT 1                                                                                                                                                                
  90. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  91. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  92. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  93. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 49
  94. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  95. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  96. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  97. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1911
  98. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 1
  99. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 259
  100. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  101. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =259
  102. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your90 balance Accountid 259 !!!
  103. 2023-05-23 10:29:51.134218 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  104. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  105. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  106. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  107. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 259 AND status=0 LIMIT 1                                                                                                        
  108. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "259" AND deleted = 0 limit 1
  109. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =259
  110. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:259
  111. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:259
  112. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 259
  113. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  114. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  115. 2023-05-23 10:29:51.134218 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  116. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  117. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  118. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5318119729" limit 1                  
  119. 2023-05-23 10:29:51.134218 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  120. <document type="freeswitch/xml">                                                                                                                                            
  121. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                      
  122. <context name="default">                                                                                                                                                    
  123. <extension name="1911">                                                                                                                                                    
  124. <condition field="destination_number" expression="1911">                                                                                                                    
  125. <action application="set" data="effective_destination_number=1911"/>                                                                                                        
  126. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                
  127. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                      
  128. <action application="set" data="notify_flag=0"/>                                                                                                                            
  129. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                              
  130. <action application="set" data="type=0"/>                                                                                                                                  
  131. <action application="set" data="callstart=2023-05-23 08:29:51"/>                                                                                                            
  132. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                
  133. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                    
  134. <action application="set" data="account_id=259"/>                                                                                                                          
  135. <action application="set" data="parent_id=0"/>                                                                                                                              
  136. <action application="set" data="entity_id=0"/>                                                                                                                              
  137. <action application="set" data="call_processed=internal"/>                                                                                                                  
  138. <action application="set" data="call_direction=inbound"/>                                                                                                                  
  139. <action application="set" data="accountname=default"/>                                                                                                                      
  140. <action application="export" data="t38_passthru=true"/>                                                                                                                    
  141. <action application="set" data="fax_enable_t38=true"/>                                                                                                                      
  142. <action application="set" data="fax_enable_t38_request=true"/>                                                                                                              
  143. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                                  
  144. <action application="sleep" data="1000"/>                                                                                                                                  
  145. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>                                                      
  146. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>                                                                                                        
  147. <action application="say" data="en name_spelled iterated 90.00"/>                                                                                                          
  148. <action application="set" data="origination_rates_did=ID:49|CODE:^1911.*|DESTINATION:1911|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:1|ACCID:259"/>                                                                                                                                        
  149. <action application="set" data="origination_rates=0"/>                                                                                                                      
  150. <action application="set" data="original_caller_id_name="166""/>                                                                                                            
  151. <action application="set" data="original_caller_id_number=166"/>                                                                                                            
  152. <action application="export" data="is_recording=1"/>                                                                                                                        
  153. <action application="export" data="media_bug_answer_req=true"/>                                                                                                            
  154. <action application="export" data="record_sample_rate=8000"/>                                                                                                              
  155. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_259.wav"/>                                                          
  156. <action application="set" data="effective_caller_id_name="166""/>                                                                                                          
  157. <action application="set" data="effective_caller_id_number=166"/>                                                                                                          
  158. <action application="set" data="receiver_accid=259"/>                                                                                                                      
  159. <action application="export" data="domain_name="/>                                                                                                                          
  160. <action application="export" data="sip_to_host="/>                                                                                                                          
  161. <action application="export" data="presence_data=x|||PK(5318119729)|||^1911.* // 1911 // 0.00000|||||||||DID|||65.109.0.34"/>                                              
  162. <action application="export" data="call_type=0"/>                                                                                                                          
  163. <action application="set" data="calltype=DID-LOCAL"/>                                                                                                                      
  164. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                          
  165. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                        
  166. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                            
  167. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                          
  168. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/5318119729@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060"/>                                                                                                                                                                  
  169. <condition field="${cond(${user_data 5318119729@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                  
  170. <action application="answer"/>                                                                                                                                              
  171. <action application="export" data="voicemail_alternate_greet_id=1911"/>                                                                                                    
  172. <action application="voicemail" data="default $${domain_name} 5318119729"/>                                                                                                
  173. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                        
  174. </condition>                                                                                                                                                                
  175. <action application="set" data="did_id=49"/>                                                                                                                                
  176. <action application="set" data="destination_number=1911"/>                                                                                                                  
  177. <action application="set" data="leg_timeout=0"/>                                                                                                                            
  178. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                      
  179. <action application="set" data="is_local_extension=1"/>                                                                                                                    
  180. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                  
  181. </condition>                                                                                                                                                                
  182. </extension>                                                                                                                                                                
  183. </context>                                                                                                                                                                  
  184. </section>                                                                                                                                                                  
  185. </document>                                                                                                                                                                
  186. Dialplan: sofia/default/166@65.109.0.34 parsing [default->1911] continue=false
  187. Dialplan: sofia/default/166@65.109.0.34 Regex (PASS) [1911] destination_number(1911) =~ /1911/ break=on-false
  188. Dialplan: sofia/default/166@65.109.0.34 Action set(effective_destination_number=1911)
  189. Dialplan: sofia/default/166@65.109.0.34 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  190. Dialplan: sofia/default/166@65.109.0.34 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  191. Dialplan: sofia/default/166@65.109.0.34 Action set(notify_flag=0)
  192. Dialplan: sofia/default/166@65.109.0.34 Action set(notify_credit_limit=1.00000)
  193. Dialplan: sofia/default/166@65.109.0.34 Action set(type=0)
  194. Dialplan: sofia/default/166@65.109.0.34 Action set(callstart=2023-05-23 08:29:51)
  195. Dialplan: sofia/default/166@65.109.0.34 Action set(hangup_after_bridge=true)
  196. Dialplan: sofia/default/166@65.109.0.34 Action set(continue_on_fail=TRUE)
  197. Dialplan: sofia/default/166@65.109.0.34 Action set(account_id=259)
  198. Dialplan: sofia/default/166@65.109.0.34 Action set(parent_id=0)
  199. Dialplan: sofia/default/166@65.109.0.34 Action set(entity_id=0)
  200. Dialplan: sofia/default/166@65.109.0.34 Action set(call_processed=internal)
  201. Dialplan: sofia/default/166@65.109.0.34 Action set(call_direction=inbound)
  202. Dialplan: sofia/default/166@65.109.0.34 Action set(accountname=default)
  203. Dialplan: sofia/default/166@65.109.0.34 Action export(t38_passthru=true)
  204. Dialplan: sofia/default/166@65.109.0.34 Action set(fax_enable_t38=true)
  205. Dialplan: sofia/default/166@65.109.0.34 Action set(fax_enable_t38_request=true)
  206. Dialplan: sofia/default/166@65.109.0.34 Action set(filename1=astpp.pbx.lua)
  207. Dialplan: sofia/default/166@65.109.0.34 Action sleep(1000)
  208. Dialplan: sofia/default/166@65.109.0.34 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  209. Dialplan: sofia/default/166@65.109.0.34 Action set(ringback=%(2000,4000,440.0,480.0))
  210. Dialplan: sofia/default/166@65.109.0.34 Action say(en name_spelled iterated 90.00)
  211. Dialplan: sofia/default/166@65.109.0.34 Action set(origination_rates_did=ID:49|CODE:^1911.*|DESTINATION:1911|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:1|ACCID:259)                                                                                                                      
  212. Dialplan: sofia/default/166@65.109.0.34 Action set(origination_rates=0)
  213. Dialplan: sofia/default/166@65.109.0.34 Action set(original_caller_id_name=)
  214. Dialplan: sofia/default/166@65.109.0.34 Action set(original_caller_id_number=166)
  215. Dialplan: sofia/default/166@65.109.0.34 Action export(is_recording=1)
  216. Dialplan: sofia/default/166@65.109.0.34 Action export(media_bug_answer_req=true)
  217. Dialplan: sofia/default/166@65.109.0.34 Action export(record_sample_rate=8000)
  218. Dialplan: sofia/default/166@65.109.0.34 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_259.wav)
  219. Dialplan: sofia/default/166@65.109.0.34 Action set(effective_caller_id_name=)
  220. Dialplan: sofia/default/166@65.109.0.34 Action set(effective_caller_id_number=166)
  221. Dialplan: sofia/default/166@65.109.0.34 Action set(receiver_accid=259)
  222. Dialplan: sofia/default/166@65.109.0.34 Action export(domain_name=)
  223. Dialplan: sofia/default/166@65.109.0.34 Action export(sip_to_host=)
  224. Dialplan: sofia/default/166@65.109.0.34 Action export(presence_data=x|||PK(5318119729)|||^1911.* // 1911 // 0.00000|||||||||DID|||65.109.0.34)
  225. Dialplan: sofia/default/166@65.109.0.34 Action export(call_type=0)
  226. Dialplan: sofia/default/166@65.109.0.34 Action set(calltype=DID-LOCAL)
  227. Dialplan: sofia/default/166@65.109.0.34 Action set(daily_call_credit_limit=0.00000)
  228. Dialplan: sofia/default/166@65.109.0.34 Action set(monthly_call_credit_limit=0.00000)
  229. Dialplan: sofia/default/166@65.109.0.34 Action set(daily_call_used_limit=0.00000)
  230. Dialplan: sofia/default/166@65.109.0.34 Action set(monthly_call_used_limit=0.00000)
  231. Dialplan: sofia/default/166@65.109.0.34 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/5318119729@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)                                                                                                                                                  
  232. Dialplan: sofia/default/166@65.109.0.34 Action set(did_id=49)
  233. Dialplan: sofia/default/166@65.109.0.34 Action set(destination_number=1911)
  234. Dialplan: sofia/default/166@65.109.0.34 Action set(leg_timeout=0)
  235. Dialplan: sofia/default/166@65.109.0.34 Action set(call_type_vm_flag=1)
  236. Dialplan: sofia/default/166@65.109.0.34 Action set(is_local_extension=1)
  237. Dialplan: sofia/default/166@65.109.0.34 Action lua(did_call_forwarding.lua)
  238. |--- Dialplan: Processing recursive conditions level:1 [1911_recur_1] require-nested=TRUE
  239. |--- Dialplan: sofia/default/166@65.109.0.34 Regex (PASS) [1911_recur_1] ${cond(${user_data 5318119729@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false                                                                                                                                                            
  240. |--- Dialplan: sofia/default/166@65.109.0.34 Action answer()
  241. |--- Dialplan: sofia/default/166@65.109.0.34 Action export(voicemail_alternate_greet_id=1911)
  242. |--- Dialplan: sofia/default/166@65.109.0.34 Action voicemail(default $${domain_name} 5318119729)
  243. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/default/166@65.109.0.34) State Change CS_ROUTING -> CS_EXECUTE
  244. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/166@65.109.0.34) State ROUTING going to sleep
  245. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/166@65.109.0.34) Running State Change CS_EXECUTE (Cur 1 Tot 18615)
  246. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/166@65.109.0.34) State EXECUTE
  247. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_sofia.c:213 sofia/default/166@65.109.0.34 SOFIA EXECUTE
  248. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/default/166@65.109.0.34 Standard EXECUTE
  249. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(effective_destination_number=1911)
  250. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [effective_destination_number]=[1911]
  251. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(bridge_pre_execute_bleg_app=sched_hangup)
  252. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [bridge_pre_execute_bleg_app]=[sched_hangup]
  253. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  254. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  255. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(notify_flag=0)
  256. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [notify_flag]=[0]
  257. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(notify_credit_limit=1.00000)
  258. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [notify_credit_limit]=[1.00000]
  259. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(type=0)
  260. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [type]=[0]
  261. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(callstart=2023-05-23 08:29:51)
  262. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [callstart]=[2023-05-23 08:29:51]
  263. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(hangup_after_bridge=true)
  264. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [hangup_after_bridge]=[true]
  265. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(continue_on_fail=TRUE)
  266. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [continue_on_fail]=[TRUE]
  267. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(account_id=259)
  268. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [account_id]=[259]
  269. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(parent_id=0)
  270. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [parent_id]=[0]
  271. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(entity_id=0)
  272. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [entity_id]=[0]
  273. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(call_processed=internal)
  274. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [call_processed]=[internal]
  275. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(call_direction=inbound)
  276. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [call_direction]=[inbound]
  277. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(accountname=default)
  278. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [accountname]=[default]
  279. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(t38_passthru=true)
  280. 2023-05-23 10:29:51.154218 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  281. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(fax_enable_t38=true)
  282. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [fax_enable_t38]=[true]
  283. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(fax_enable_t38_request=true)
  284. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [fax_enable_t38_request]=[true]
  285. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(filename1=astpp.pbx.lua)
  286. 2023-05-23 10:29:51.154218 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [filename1]=[astpp.pbx.lua]
  287. EXECUTE [depth=0] sofia/default/166@65.109.0.34 sleep(1000)
  288. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/166@65.109.0.34
  289. 2023-05-23 10:29:52.154220 99.90% [INFO] switch_core_session.c:2797 Sending early media
  290. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/166@65.109.0.34] 102.220.232.19 port 27032 -> 65.109.0.34 port 30046 codec: 8 ms: 20                                                                                                                                                                        
  291. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  292. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_core_media.c:9089 sofia/default/166@65.109.0.34 Set 2833 dtmf send payload to 101
  293. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_core_media.c:9096 sofia/default/166@65.109.0.34 Set 2833 dtmf receive payload to 101
  294. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_core_media.c:9119 sofia/default/166@65.109.0.34 Set rtp dtmf delay to 40
  295. 2023-05-23 10:29:52.154220 99.90% [DEBUG] mod_sofia.c:2610 Ring SDP:
  296. v=0                                                                                                                                                                        
  297. o=FreeSWITCH 1684803560 1684803561 IN IP4 102.220.232.19                                                                                                                    
  298. s=FreeSWITCH                                                                                                                                                                
  299. c=IN IP4 102.220.232.19                                                                                                                                                    
  300. t=0 0                                                                                                                                                                      
  301. m=audio 27032 RTP/AVP 8 101                                                                                                                                                
  302. a=rtpmap:8 PCMA/8000                                                                                                                                                        
  303. a=rtpmap:101 telephone-event/8000                                                                                                                                          
  304. a=fmtp:101 0-15                                                                                                                                                            
  305. a=ptime:20                                                                                                                                                                  
  306. a=sendrecv                                                                                                                                                                  
  307.  
  308. 2023-05-23 10:29:52.154220 99.90% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/166@65.109.0.34!
  309. 2023-05-23 10:29:52.154220 99.90% [DEBUG] switch_channel.c:3622 (sofia/default/166@65.109.0.34) Callstate Change RINGING -> EARLY
  310. EXECUTE [depth=0] sofia/default/166@65.109.0.34 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  311. 2023-05-23 10:29:52.174215 99.90% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000                                                                                                                                                
  312. 2023-05-23 10:29:52.174215 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  313. 2023-05-23 10:29:52.174215 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/166@65.109.0.34 entering state [early][183]
  314. 2023-05-23 10:29:53.094216 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  315. 2023-05-23 10:29:53.474220 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  316. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(ringback=%(2000,4000,440.0,480.0))
  317. 2023-05-23 10:29:53.474220 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [ringback]=[%(2000,4000,440.0,480.0)]
  318. EXECUTE [depth=0] sofia/default/166@65.109.0.34 say(en name_spelled iterated 90.00)
  319. 2023-05-23 10:29:53.494216 99.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  320. 2023-05-23 10:29:56.094219 99.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/9.wav!digits/0.wav!ascii/46.wav!digits/0.wav!digits/0.wav
  321. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(origination_rates_did=ID:49|CODE:^1911.*|DESTINATION:1911|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:1|ACCID:259)                                                                                                                      
  322. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [origination_rates_did]=[ID:49|CODE:^1911.*|DESTINATION:1911|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:1|ACCID:259]                                                                        
  323. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(origination_rates=0)
  324. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [origination_rates]=[0]
  325. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(original_caller_id_name=)
  326. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [original_caller_id_name]=[UNDEF]
  327. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(original_caller_id_number=166)
  328. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [original_caller_id_number]=[166]
  329. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(is_recording=1)
  330. 2023-05-23 10:29:56.094219 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  331. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(media_bug_answer_req=true)
  332. 2023-05-23 10:29:56.094219 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  333. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(record_sample_rate=8000)
  334. 2023-05-23 10:29:56.094219 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  335. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/b29c08d2-942b-4269-a816-12cde25cf95fDID-LOCAL_259.wav)                                                                                                                                                                        
  336. 2023-05-23 10:29:56.094219 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/b29c08d2-942b-4269-a816-12cde25cf95fDID-LOCAL_259.wav]                                                                                                                                        
  337. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(effective_caller_id_name=)
  338. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [effective_caller_id_name]=[UNDEF]
  339. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(effective_caller_id_number=166)
  340. 2023-05-23 10:29:56.094219 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [effective_caller_id_number]=[166]
  341. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(receiver_accid=259)
  342. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [receiver_accid]=[259]
  343. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(domain_name=)
  344. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  345. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(sip_to_host=)
  346. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  347. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(presence_data=x|||PK(5318119729)|||^1911.* // 1911 // 0.00000|||||||||DID|||65.109.0.34)
  348. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK(5318119729)|||^1911.* // 1911 // 0.00000|||||||||DID|||65.109.0.34]                                                                                                                                                                        
  349. EXECUTE [depth=0] sofia/default/166@65.109.0.34 export(call_type=0)
  350. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  351. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(calltype=DID-LOCAL)
  352. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [calltype]=[DID-LOCAL]
  353. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(daily_call_credit_limit=0.00000)
  354. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [daily_call_credit_limit]=[0.00000]
  355. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(monthly_call_credit_limit=0.00000)
  356. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [monthly_call_credit_limit]=[0.00000]
  357. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(daily_call_used_limit=0.00000)
  358. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [daily_call_used_limit]=[0.00000]
  359. EXECUTE [depth=0] sofia/default/166@65.109.0.34 set(monthly_call_used_limit=0.00000)
  360. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/166@65.109.0.34 [monthly_call_used_limit]=[0.00000]
  361. EXECUTE [depth=0] sofia/default/166@65.109.0.34 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za;fs_path=sip:102.220.232.100:5060)                                                                                                                                                              
  362. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [t38_passthru]=[true] to event
  363. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [is_recording]=[1] to event
  364. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  365. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  366. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/b29c08d2-942b-4269-a816-12cde25cf95fDID-LOCAL_259.wav] to event                                                                                              
  367. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [presence_data]=[x|||PK(5318119729)|||^1911.* // 1911 // 0.00000|||||||||DID|||65.109.0.34] to event                                                                                                                              
  368. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_channel.c:1269 sofia/default/166@65.109.0.34 EXPORTING[export_vars] [call_type]=[0] to event
  369. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  370. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  371. 2023-05-23 10:29:56.114215 99.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za [58aeb996-f250-4a8a-95c7-ab4224c56a88]
  372. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_sofia.c:5121 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
  373. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 2 Tot 18616)                                                                                                                                                                          
  374. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State INIT
  375. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_sofia.c:97 sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za SOFIA INIT
  376. 2023-05-23 10:29:56.114215 99.90% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100:5060 Setting proxy route to sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za
  377. 2023-05-23 10:29:56.114215 99.90% [INFO] sofia_glue.c:1651 sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za sending invite call-id: (null)
  378. 2023-05-23 10:29:56.114215 99.90% [DEBUG] sofia_glue.c:1654 sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za sending invite version: 1.10.7 -release 64bit
  379. Local SDP:                                                                                                                                                                  
  380. v=0                                                                                                                                                                        
  381. o=FreeSWITCH 1684812618 1684812619 IN IP4 102.220.232.19                                                                                                                    
  382. s=FreeSWITCH                                                                                                                                                                
  383. c=IN IP4 102.220.232.19                                                                                                                                                    
  384. t=0 0
  385. m=audio 17978 RTP/AVP 8 101
  386. a=rtpmap:8 PCMA/8000
  387. a=rtpmap:101 telephone-event/8000
  388. a=fmtp:101 0-15
  389. a=ptime:20
  390. a=sendrecv
  391.  
  392. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za Standard INIT
  393. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
  394. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
  395. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 2 Tot 18616)
  396. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State ROUTING
  397. 2023-05-23 10:29:56.114215 99.90% [DEBUG] mod_sofia.c:158 sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
  398. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  399. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
  400. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 18616)
  401. 2023-05-23 10:29:56.114215 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
  402. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA
  403. 2023-05-23 10:29:56.114215 99.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) State CONSUME_MEDIA going to sleep
  404. 2023-05-23 10:29:56.874222 99.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6710@102.220.232.19 [5297f555-5a69-478d-b2e7-74e620054c32]
  405. 2023-05-23 10:29:56.874222 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6710@102.220.232.19) Running State Change CS_NEW (Cur 3 Tot 18617)
  406. 2023-05-23 10:29:56.874222 99.90% [INFO] sofia.c:10462 sofia/default/6710@102.220.232.19 receiving invite from 208.109.36.193:64484 version: 1.10.7 -release 64bit call-id: 1884158129-1622981772-1934360778
  407. 2023-05-23 10:29:56.874222 99.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 208.109.36.193:0.
  408. 2023-05-23 10:29:56.874222 99.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [+441519470264@102.220.232.19] from ip 208.109.36.193
  409. 2023-05-23 10:29:56.874222 99.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6710@102.220.232.19) State NEW
  410. 2023-05-23 10:29:56.874222 99.90% [DEBUG] sofia.c:2419 detaching session 5297f555-5a69-478d-b2e7-74e620054c32
  411. 2023-05-23 10:29:57.254220 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za entering state [proceeding][180]
  412. 2023-05-23 10:29:57.254220 99.90% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za!
  413. 2023-05-23 10:29:57.254220 99.90% [DEBUG] switch_channel.c:3494 (sofia/default/5318119729@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
  414. 2023-05-23 10:29:57.274222 99.90% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms
  415. 2023-05-23 10:29:57.274222 99.90% [DEBUG] switch_core_codec.c:223 sofia/default/166@65.109.0.34 Push codec L16:100
  416. 2023-05-23 10:29:57.274222 99.90% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,4000,440.0,480.0)]
  417.