From sahil, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-02-26 01:14:04.262959 [NOTICE] switch_channel.c:1118 New Channel sofia/default/2001@kfc.voipbox.co.il [4f4348ce-dfc8-48c2-ba30-6b0a09e63cd9]
  2. 2021-02-26 01:14:04.262959 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_NEW (Cur 1 Tot 29)
  3. 2021-02-26 01:14:04.262959 [DEBUG] sofia.c:10280 sofia/default/2001@kfc.voipbox.co.il receiving invite from 185.184.17.14:5060 version: 1.10.5 -release-17-25569c1631 64bit                                                                                                                                                  
  4. 2021-02-26 01:14:04.262959 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.184.17.14:0.
  5. 2021-02-26 01:14:04.262959 [DEBUG] sofia.c:10403 IP 185.184.17.14 Approved by acl "default[]". Access Granted.
  6. 2021-02-26 01:14:04.282954 [DEBUG] sofia.c:7326 Channel sofia/default/2001@kfc.voipbox.co.il entering state [received][100]
  7. 2021-02-26 01:14:04.282954 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0                                                                                                                                                            
  9. o=Z 0 0 IN IP4 117.247.91.162                                                                                                                                  
  10. s=Z                                                                                                                                                            
  11. c=IN IP4 117.247.91.162                                                                                                                                        
  12. t=0 0                                                                                                                                                          
  13. m=audio 8000 RTP/AVP 3 110 8 0 98 101                                                                                                                          
  14. a=rtpmap:110 speex/8000                                                                                                                                        
  15. a=rtpmap:98 iLBC/8000                                                                                                                                          
  16. a=fmtp:98 mode=20                                                                                                                                              
  17. a=rtpmap:101 telephone-event/8000                                                                                                                              
  18. a=fmtp:101 0-15                                                                                                                                                
  19.  
  20. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  21. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  22. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  23. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  24. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  26. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  31. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  32. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  37. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  38. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/2001@kfc.voipbox.co.il PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  39. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_codec.c:111 sofia/default/2001@kfc.voipbox.co.il Original read codec set to PCMA:8
  40. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  41. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_media.c:5911 sofia/default/2001@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2021-02-26 01:14:04.282954 [DEBUG] sofia.c:7760 (sofia/default/2001@kfc.voipbox.co.il) State Change CS_NEW -> CS_INIT
  43. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:604 (sofia/default/2001@kfc.voipbox.co.il) State NEW
  44. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_INIT (Cur 1 Tot 29)
  45. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2001@kfc.voipbox.co.il) State INIT
  46. 2021-02-26 01:14:04.282954 [DEBUG] mod_sofia.c:93 sofia/default/2001@kfc.voipbox.co.il SOFIA INIT
  47. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:40 sofia/default/2001@kfc.voipbox.co.il Standard INIT
  48. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2001@kfc.voipbox.co.il) State Change CS_INIT -> CS_ROUTING
  49. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2001@kfc.voipbox.co.il) State INIT going to sleep
  50. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_ROUTING (Cur 1 Tot 29)
  51. 2021-02-26 01:14:04.282954 [DEBUG] switch_channel.c:2332 (sofia/default/2001@kfc.voipbox.co.il) Callstate Change DOWN -> RINGING
  52. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2001@kfc.voipbox.co.il) State ROUTING
  53. 2021-02-26 01:14:04.282954 [DEBUG] mod_sofia.c:154 sofia/default/2001@kfc.voipbox.co.il SOFIA ROUTING
  54. 2021-02-26 01:14:04.282954 [DEBUG] switch_core_state_machine.c:236 sofia/default/2001@kfc.voipbox.co.il Standard ROUTING
  55. 2021-02-26 01:14:04.282954 [INFO] mod_dialplan_xml.c:637 Processing 2001 <2001>->202 in context default
  56. 2021-02-26 01:14:04.282954 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')                                                                                                                    
  57. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2021-02-26 01:14:04.302937 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  59. 2021-02-26 01:14:04.302937 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 202
  60. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '202' limit 1                                                                                                                                        
  61. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '202' AND status=0 limit 1                                                                                                                                              
  62. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '202' and status=0 LIMIT 1                                                                                                          
  63. 2021-02-26 01:14:04.302937 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  64. 2021-02-26 01:14:04.302937 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 2001 / 2001
  65. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [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 ="202" LIMIT 1        
  66. 2021-02-26 01:14:04.302937 [DEBUG] switch_cpp.cpp:1447 [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="202"  AND domains.domain="kfc.voipbox.co.il" limit 1                                                                                                        
  67. 2021-02-26 01:14:04.322941 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
  68. 2021-02-26 01:14:04.322941 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 700376]
  69. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "700376" AND deleted = 0 limit 1
  70. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [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 ="202" AND A.accountid = '29' limit 1                                                                        
  71. 2021-02-26 01:14:04.322941 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 202
  72. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [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 ="202" LIMIT 1        
  73. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [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="202"  AND domains.domain="kfc.voipbox.co.il" limit 1                                                                                                        
  74. 2021-02-26 01:14:04.322941 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : local
  75. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="202" AND (accountid = 0 OR status = 1) LIMIT 1                                                                                                                                                        
  76. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [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 = '^202.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 29 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                          
  77. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '202' OR number = '20' OR number = '2' OR number ='--') OR (number = '202*' OR number = '20*' OR number = '2*' OR number ='--') OR (number = '2001' OR number = '200' OR number = '20' OR number = '2' OR number ='--') OR (number = '2001*' OR number = '200*' OR number = '20*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                    
  78. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  79. 2021-02-26 01:14:04.322941 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '202' OR routing_prefix = '20' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1            
  80. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  81. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 29
  82. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 700376
  83. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0
  84. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  85. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
  86. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  87. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  88. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  89. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
  90. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
  91. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 29 !!!
  92. 2021-02-26 01:14:04.342969 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  93. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  94. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [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="202"  AND domains.domain="kfc.voipbox.co.il" limit 1                                                                                                        
  95. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 29 AND status=0 LIMIT 1                                                                                      
  96. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  97. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 29 limit 1
  98. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 29 limit 1                                                                                                                                                  
  99. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainkfc.voipbox.co.il
  100. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [LOCAL CALL] is_recording1
  101. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
  102. 2021-02-26 01:14:04.342969 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
  103. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  104. 2021-02-26 01:14:04.342969 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 29
  105. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 29 limit 1                                                                                                                                                  
  106. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1                                                                                                                    
  107. 2021-02-26 01:14:04.342969 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1                                                                                                                            
  108. 2021-02-26 01:14:04.362948 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1
  109. 2021-02-26 01:14:04.362948 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable
  110. 2021-02-26 01:14:04.362948 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  111. 2021-02-26 01:14:04.362948 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  112. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                        
  113. <document type="freeswitch/xml">                                                                                                                              
  114. <section name="dialplan" description="ASTPP Dialplan">                                                                                                        
  115. <context name="default">                                                                                                                                      
  116. <extension name="202">                                                                                                                                        
  117. <condition field="destination_number" expression="202">                                                                                                        
  118. <action application="set" data="effective_destination_number=202"/>                                                                                            
  119. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                    
  120. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                          
  121. <action application="set" data="callstart=2021-02-26 06:14:04"/>                                                                                              
  122. <action application="set" data="hangup_after_bridge=true"/>                                                                                                    
  123. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                      
  124. <action application="set" data="account_id=29"/>                                                                                                              
  125. <action application="set" data="parent_id=0"/>                                                                                                                
  126. <action application="set" data="entity_id=0"/>                                                                                                                
  127. <action application="set" data="call_processed=internal"/>                                                                                                    
  128. <action application="set" data="call_direction=local"/>                                                                                                        
  129. <action application="set" data="accountname=default"/>                                                                                                        
  130. <action application="set" data="filename1=astpp.pbx.lua"/>                                                                                                    
  131. <action application="set" data="origination_rates=ID:0|CODE:^202.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29"/>                                                                                                                              
  132. <action application="set" data="original_caller_id_name=2001"/>                                                                                                
  133. <action application="set" data="original_caller_id_number=2001"/>                                                                                              
  134. <action application="limit" data="hash inbound 202 1 !USER_BUSY" />                                                                                            
  135. <action application="set" data="effective_caller_id_name=2001"/>                                                                                              
  136. <action application="set" data="effective_caller_id_number=2001"/>                                                                                            
  137. <action application="set" data="calltype=LOCAL"/>                                                                                                              
  138. <action application="set" data="receiver_accid=29"/>                                                                                                          
  139. <action application="set" data="sip_h_X-call-type=did"/>                                                                                                      
  140. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>                                                                                            
  141. <action application="db" data="insert/pickup_any_group_${callgroup}/202/${uuid}"/>                                                                            
  142. <action application="set" data="dialed_extension=transfer_call"/>                                                                                              
  143. <action application="export" data="dialed_extension=transfer_call"/>                                                                                          
  144. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>                                                              
  145. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>                                                              
  146. <action application="set" data="hangup_after_bridge=true"/>                                                                                                    
  147. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=29}[leg_timeout=60 ] sofia/${sofia_profile_name}/202@kfc.voipbox.co.il"/>                                                                                                    
  148. <action application="set" data="on_busy_flag=1"/>                                                                                                              
  149. <action application="set" data="on_busy_destination="/>                                                                                                        
  150. <action application="set" data="no_answer_flag=1"/>                                                                                                            
  151. <action application="set" data="no_answer_destination="/>                                                                                                      
  152. <action application="set" data="not_register_flag=1"/>                                                                                                        
  153. <action application="set" data="not_register_destination="/>                                                                                                  
  154. <action application="set" data="opensips_flag=0"/>                                                                                                            
  155. <action application="set" data="variable_sip_to_host=kfc.voipbox.co.il"/>                                                                                      
  156. <action application="set" data="opensips_domain=185.184.17.14"/>                                                                                              
  157. <action application="set" data="leg_timeout=60"/>                                                                                                              
  158. <action application="set" data="userinfo_id=29"/>                                                                                                              
  159. <action application="set" data="sip_destination_number=202"/>                                                                                                  
  160. <action application="set" data="did_number=202"/>                                                                                                              
  161. <action application="set" data="user_domain=kfc.voipbox.co.il"/>                                                                                              
  162. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>                                                                                  
  163. <condition field="${cond(${user_data 202@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                            
  164. <action application="answer"/>                                                                                                                                
  165. <action application="export" data="voicemail_alternate_greet_id=202"/>                                                                                        
  166. <action application="voicemail" data="default $${domain_name} 202"/>                                                                                          
  167. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                            
  168. </condition>                                                                                                                                                  
  169. </condition>                                                                                                                                                  
  170. </extension>                                                                                                                                                  
  171. </context>                                                                                                                                                    
  172. </section>                                                                                                                                                    
  173. </document>                                                                                                                                                    
  174. Dialplan: sofia/default/2001@kfc.voipbox.co.il parsing [default->202] continue=false
  175. Dialplan: sofia/default/2001@kfc.voipbox.co.il Regex (PASS) [202] destination_number(202) =~ /202/ break=on-false
  176. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(effective_destination_number=202)
  177. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_app=sched_hangup)
  178. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  179. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(callstart=2021-02-26 06:14:04)
  180. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(hangup_after_bridge=true)
  181. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(continue_on_fail=TRUE)
  182. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(account_id=29)
  183. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(parent_id=0)
  184. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(entity_id=0)
  185. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(call_processed=internal)
  186. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(call_direction=local)
  187. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(accountname=default)
  188. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(filename1=astpp.pbx.lua)
  189. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(origination_rates=ID:0|CODE:^202.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)                                                                                                      
  190. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(original_caller_id_name=2001)
  191. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(original_caller_id_number=2001)
  192. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action limit(hash inbound 202 1 !USER_BUSY)
  193. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(effective_caller_id_name=2001)
  194. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(effective_caller_id_number=2001)
  195. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(calltype=LOCAL)
  196. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(receiver_accid=29)
  197. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(sip_h_X-call-type=did)
  198. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(sip_h_X-did-call-type=DID-LOCAL)
  199. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action db(insert/pickup_any_group_${callgroup}/202/${uuid})
  200. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(dialed_extension=transfer_call)
  201. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action export(dialed_extension=transfer_call)
  202. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  203. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  204. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(hangup_after_bridge=true)
  205. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=29}[leg_timeout=60 ] sofia/${sofia_profile_name}/202@kfc.voipbox.co.il)                                                                            
  206. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(on_busy_flag=1)
  207. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(on_busy_destination=)
  208. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(no_answer_flag=1)
  209. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(no_answer_destination=)
  210. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(not_register_flag=1)
  211. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(not_register_destination=)
  212. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(opensips_flag=0)
  213. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(variable_sip_to_host=kfc.voipbox.co.il)
  214. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(opensips_domain=185.184.17.14)
  215. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(leg_timeout=60)
  216. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(userinfo_id=29)
  217. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(sip_destination_number=202)
  218. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(did_number=202)
  219. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action set(user_domain=kfc.voipbox.co.il)
  220. Dialplan: sofia/default/2001@kfc.voipbox.co.il Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  221. |--- Dialplan: Processing recursive conditions level:1 [202_recur_1] require-nested=TRUE
  222. |--- Dialplan: sofia/default/2001@kfc.voipbox.co.il Regex (FAIL) [202_recur_1] ${cond(${user_data 202@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false                                                                                                                                  
  223. |--- Dialplan: sofia/default/2001@kfc.voipbox.co.il ANTI-Action hangup(${originate_disposition})
  224. 2021-02-26 01:14:04.382947 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2001@kfc.voipbox.co.il) State Change CS_ROUTING -> CS_EXECUTE
  225. 2021-02-26 01:14:04.382947 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2001@kfc.voipbox.co.il) State ROUTING going to sleep
  226. 2021-02-26 01:14:04.382947 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_EXECUTE (Cur 1 Tot 29)
  227. 2021-02-26 01:14:04.382947 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2001@kfc.voipbox.co.il) State EXECUTE
  228. 2021-02-26 01:14:04.382947 [DEBUG] mod_sofia.c:209 sofia/default/2001@kfc.voipbox.co.il SOFIA EXECUTE
  229. 2021-02-26 01:14:04.382947 [DEBUG] switch_core_state_machine.c:329 sofia/default/2001@kfc.voipbox.co.il Standard EXECUTE
  230. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(effective_destination_number=202)
  231. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [effective_destination_number]=[202]
  232. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(bridge_pre_execute_bleg_app=sched_hangup)
  233. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [bridge_pre_execute_bleg_app]=[sched_hangup]
  234. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  235. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  236. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(callstart=2021-02-26 06:14:04)
  237. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [callstart]=[2021-02-26 06:14:04]
  238. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(hangup_after_bridge=true)
  239. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [hangup_after_bridge]=[true]
  240. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(continue_on_fail=TRUE)
  241. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [continue_on_fail]=[TRUE]
  242. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(account_id=29)
  243. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [account_id]=[29]
  244. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(parent_id=0)
  245. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [parent_id]=[0]
  246. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(entity_id=0)
  247. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [entity_id]=[0]
  248. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(call_processed=internal)
  249. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [call_processed]=[internal]
  250. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(call_direction=local)
  251. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [call_direction]=[local]
  252. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(accountname=default)
  253. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [accountname]=[default]
  254. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(filename1=astpp.pbx.lua)
  255. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [filename1]=[astpp.pbx.lua]
  256. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(origination_rates=ID:0|CODE:^202.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)                                                                                                      
  257. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [origination_rates]=[ID:0|CODE:^202.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29]                                                              
  258. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(original_caller_id_name=2001)
  259. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [original_caller_id_name]=[2001]
  260. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(original_caller_id_number=2001)
  261. 2021-02-26 01:14:04.382947 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [original_caller_id_number]=[2001]
  262. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il limit(hash inbound 202 1 !USER_BUSY)
  263. 2021-02-26 01:14:04.382947 [DEBUG] switch_limit.c:124 incr called: inbound_202 max:1, interval:0
  264. 2021-02-26 01:14:04.382947 [DEBUG] mod_hash.c:196 Usage for inbound_202 is now 1/1
  265. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(effective_caller_id_name=2001)
  266. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [effective_caller_id_name]=[2001]
  267. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(effective_caller_id_number=2001)
  268. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [effective_caller_id_number]=[2001]
  269. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(calltype=LOCAL)
  270. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [calltype]=[LOCAL]
  271. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(receiver_accid=29)
  272. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [receiver_accid]=[29]
  273. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(sip_h_X-call-type=did)
  274. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [sip_h_X-call-type]=[did]
  275. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(sip_h_X-did-call-type=DID-LOCAL)
  276. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [sip_h_X-did-call-type]=[DID-LOCAL]
  277. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il db(insert/pickup_any_group_/202/4f4348ce-dfc8-48c2-ba30-6b0a09e63cd9)
  278. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(dialed_extension=transfer_call)
  279. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [dialed_extension]=[transfer_call]
  280. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il export(dialed_extension=transfer_call)
  281. 2021-02-26 01:14:04.402948 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  282. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  283. 2021-02-26 01:14:04.402948 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  284. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  285. 2021-02-26 01:14:04.402948 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  286. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il set(hangup_after_bridge=true)
  287. 2021-02-26 01:14:04.402948 [DEBUG] mod_dptools.c:1672 SET sofia/default/2001@kfc.voipbox.co.il [hangup_after_bridge]=[true]
  288. EXECUTE [depth=0] sofia/default/2001@kfc.voipbox.co.il bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=29}[leg_timeout=60 ] sofia/default/202@kfc.voipbox.co.il)                                                                                          
  289. 2021-02-26 01:14:04.402948 [DEBUG] switch_channel.c:1264 sofia/default/2001@kfc.voipbox.co.il EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event                                                                                                                                                              
  290. 2021-02-26 01:14:04.402948 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  291. 2021-02-26 01:14:04.402948 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  292. 2021-02-26 01:14:04.402948 [NOTICE] switch_channel.c:1118 New Channel sofia/default/202@kfc.voipbox.co.il [37ccb393-f074-4013-8854-0fa149a33e79]
  293. 2021-02-26 01:14:04.402948 [DEBUG] mod_sofia.c:5089 (sofia/default/202@kfc.voipbox.co.il) State Change CS_NEW -> CS_INIT
  294. 2021-02-26 01:14:04.402948 [DEBUG] switch_ivr_originate.c:3111 sofia/default/202@kfc.voipbox.co.il Setting leg timeout to 60
  295. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_INIT (Cur 2 Tot 30)
  296. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:628 (sofia/default/202@kfc.voipbox.co.il) State INIT
  297. 2021-02-26 01:14:04.402948 [DEBUG] mod_sofia.c:93 sofia/default/202@kfc.voipbox.co.il SOFIA INIT
  298. 2021-02-26 01:14:04.402948 [DEBUG] sofia_glue.c:1618 sofia/default/202@kfc.voipbox.co.il sending invite version: 1.10.5 -release-17-25569c1631 64bit
  299. Local SDP:                                                                                                                                                    
  300. v=0                                                                                                                                                            
  301. o=FreeSWITCH 1614304452 1614304453 IN IP4 185.184.17.138                                                                                                      
  302. s=FreeSWITCH                                                                                                                                                  
  303. c=IN IP4 185.184.17.138                                                                                                                                        
  304. t=0 0                                                                                                                                                          
  305. m=audio 15592 RTP/AVP 8 101                                                                                                                                    
  306. a=rtpmap:8 PCMA/8000                                                                                                                                          
  307. a=rtpmap:101 telephone-event/8000                                                                                                                              
  308. a=fmtp:101 0-16                                                                                                                                                
  309. a=ptime:20                                                                                                                                                    
  310. a=sendrecv                                                                                                                                                    
  311.  
  312. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:40 sofia/default/202@kfc.voipbox.co.il Standard INIT
  313. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:48 (sofia/default/202@kfc.voipbox.co.il) State Change CS_INIT -> CS_ROUTING
  314. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:628 (sofia/default/202@kfc.voipbox.co.il) State INIT going to sleep
  315. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_ROUTING (Cur 2 Tot 30)
  316. 2021-02-26 01:14:04.402948 [DEBUG] sofia.c:7326 Channel sofia/default/202@kfc.voipbox.co.il entering state [calling][0]
  317. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:644 (sofia/default/202@kfc.voipbox.co.il) State ROUTING
  318. 2021-02-26 01:14:04.402948 [DEBUG] mod_sofia.c:154 sofia/default/202@kfc.voipbox.co.il SOFIA ROUTING
  319. 2021-02-26 01:14:04.402948 [DEBUG] switch_ivr_originate.c:67 (sofia/default/202@kfc.voipbox.co.il) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  320. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:644 (sofia/default/202@kfc.voipbox.co.il) State ROUTING going to sleep
  321. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 30)
  322. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:663 (sofia/default/202@kfc.voipbox.co.il) State CONSUME_MEDIA
  323. 2021-02-26 01:14:04.402948 [DEBUG] switch_core_state_machine.c:663 (sofia/default/202@kfc.voipbox.co.il) State CONSUME_MEDIA going to sleep
  324. 2021-02-26 01:14:04.902984 [DEBUG] sofia.c:7326 Channel sofia/default/202@kfc.voipbox.co.il entering state [proceeding][180]
  325. 2021-02-26 01:14:04.902984 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/202@kfc.voipbox.co.il!
  326. 2021-02-26 01:14:04.902984 [DEBUG] switch_channel.c:3437 (sofia/default/202@kfc.voipbox.co.il) Callstate Change DOWN -> RINGING
  327. 2021-02-26 01:14:04.902984 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/2001@kfc.voipbox.co.il!
  328. 2021-02-26 01:14:04.902984 [DEBUG] sofia.c:7326 Channel sofia/default/2001@kfc.voipbox.co.il entering state [early][180]
  329. 2021-02-26 01:14:04.902984 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/2001@kfc.voipbox.co.il!
  330. 2021-02-26 01:14:05.883104 [DEBUG] sofia.c:7326 Channel sofia/default/202@kfc.voipbox.co.il entering state [completing][200]
  331. 2021-02-26 01:14:05.883104 [DEBUG] sofia.c:7336 Remote SDP:
  332. v=0                                                                                                                                                            
  333. o=- 20072 20072 IN IP4 10.0.0.1                                                                                                                                
  334. s=SDP data                                                                                                                                                    
  335. c=IN IP4 10.0.0.1                                                                                                                                              
  336. t=0 0                                                                                                                                                          
  337. m=audio 10144 RTP/AVP 8 101                                                                                                                                    
  338. a=rtpmap:8 PCMA/8000                                                                                                                                          
  339. a=rtpmap:101 telephone-event/8000                                                                                                                              
  340. a=fmtp:101 0-15                                                                                                                                                
  341. a=ptime:20                                                                                                                                                    
  342. a=oldoip:10.0.0.1                                                                                                                                              
  343. a=oldcip:10.0.0.1                                                                                                                                              
  344.  
  345. 2021-02-26 01:14:05.883104 [DEBUG] sofia.c:7326 Channel sofia/default/202@kfc.voipbox.co.il entering state [ready][200]
  346. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  347. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  348. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  349. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/202@kfc.voipbox.co.il PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  350. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_codec.c:111 sofia/default/202@kfc.voipbox.co.il Original read codec set to PCMA:8
  351. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  352. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:5911 sofia/default/202@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 recv payload to 101
  353. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/202@kfc.voipbox.co.il] 185.184.17.138 port 15592 -> 10.0.0.1 port 10144 codec: 8 ms: 20                                                                                                                                                  
  354. 2021-02-26 01:14:05.883104 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  355. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8977 sofia/default/202@kfc.voipbox.co.il Set 2833 dtmf send payload to 101
  356. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8984 sofia/default/202@kfc.voipbox.co.il Set 2833 dtmf receive payload to 101
  357. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:9007 sofia/default/202@kfc.voipbox.co.il Set rtp dtmf delay to 40
  358. 2021-02-26 01:14:05.883104 [NOTICE] sofia.c:8504 Channel [sofia/default/202@kfc.voipbox.co.il] has been answered
  359. 2021-02-26 01:14:05.883104 [DEBUG] switch_channel.c:3865 (sofia/default/202@kfc.voipbox.co.il) Callstate Change RINGING -> ACTIVE
  360. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/2001@kfc.voipbox.co.il] 185.184.17.138 port 30614 -> 117.247.91.162 port 8000 codec: 8 ms: 20                                                                                                                                            
  361. 2021-02-26 01:14:05.883104 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  362. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8977 sofia/default/2001@kfc.voipbox.co.il Set 2833 dtmf send payload to 101
  363. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:8984 sofia/default/2001@kfc.voipbox.co.il Set 2833 dtmf receive payload to 101
  364. 2021-02-26 01:14:05.883104 [DEBUG] switch_core_media.c:9007 sofia/default/2001@kfc.voipbox.co.il Set rtp dtmf delay to 40
  365. 2021-02-26 01:14:05.883104 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/2001@kfc.voipbox.co.il:
  366. v=0                                                                                                                                                            
  367. o=FreeSWITCH 1614289431 1614289432 IN IP4 185.184.17.138                                                                                                      
  368. s=FreeSWITCH                                                                                                                                                  
  369. c=IN IP4 185.184.17.138                                                                                                                                        
  370. t=0 0                                                                                                                                                          
  371. m=audio 30614 RTP/AVP 8 101                                                                                                                                    
  372. a=rtpmap:8 PCMA/8000                                                                                                                                          
  373. a=rtpmap:101 telephone-event/8000                                                                                                                              
  374. a=fmtp:101 0-16                                                                                                                                                
  375. a=ptime:20                                                                                                                                                    
  376. a=sendrecv                                                                                                                                                    
  377.  
  378. 2021-02-26 01:14:05.883104 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/2001@kfc.voipbox.co.il] has been answered
  379. 2021-02-26 01:14:05.922946 [DEBUG] switch_channel.c:3865 (sofia/default/2001@kfc.voipbox.co.il) Callstate Change RINGING -> ACTIVE
  380. 2021-02-26 01:14:05.922946 [DEBUG] sofia.c:7326 Channel sofia/default/2001@kfc.voipbox.co.il entering state [completed][200]
  381. 2021-02-26 01:14:05.922946 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/202@kfc.voipbox.co.il]
  382. 2021-02-26 01:14:05.922946 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/202@kfc.voipbox.co.il) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  383. 2021-02-26 01:14:05.922946 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 30)
  384. 2021-02-26 01:14:05.922946 [DEBUG] switch_core_state_machine.c:654 (sofia/default/202@kfc.voipbox.co.il) State EXCHANGE_MEDIA
  385. 2021-02-26 01:14:05.922946 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  386. 2021-02-26 01:14:06.102937 [DEBUG] switch_ivr_bridge.c:655 sofia/default/202@kfc.voipbox.co.il Bridge execute app sched_hangup(+6000 normal_clearing)
  387. 2021-02-26 01:14:06.122959 [DEBUG] switch_ivr.c:632 sofia/default/202@kfc.voipbox.co.il Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  388. EXECUTE [depth=0] sofia/default/202@kfc.voipbox.co.il sched_hangup(+6000 normal_clearing)
  389. 2021-02-26 01:14:06.122959 [DEBUG] switch_scheduler.c:252 Added task 16 switch_ivr_schedule_hangup (37ccb393-f074-4013-8854-0fa149a33e79) to run at 1614326046
  390. 2021-02-26 01:14:06.182943 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  391. 2021-02-26 01:14:06.302956 [INFO] switch_rtp.c:7719 Auto Changing audio port from 10.0.0.1:10144 to 212.235.126.7:10144
  392. 2021-02-26 01:14:37.922980 [DEBUG] sofia.c:7326 Channel sofia/default/2001@kfc.voipbox.co.il entering state [terminating][0]
  393. 2021-02-26 01:14:37.922980 [NOTICE] sofia.c:8559 Hangup sofia/default/2001@kfc.voipbox.co.il [CS_EXECUTE] [NORMAL_UNSPECIFIED]
  394. 2021-02-26 01:14:37.922980 [DEBUG] mod_hash.c:296 Usage for inbound_202 is now 0
  395. 2021-02-26 01:14:37.922980 [DEBUG] switch_ivr_bridge.c:826 sofia/default/2001@kfc.voipbox.co.il ending bridge by request from read function
  396. 2021-02-26 01:14:37.922980 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/2001@kfc.voipbox.co.il]
  397. 2021-02-26 01:14:37.942960 [DEBUG] switch_ivr_bridge.c:820 sofia/default/2001@kfc.voipbox.co.il ending bridge by request from write function
  398. 2021-02-26 01:14:37.942960 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/202@kfc.voipbox.co.il]
  399. 2021-02-26 01:14:37.942960 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/202@kfc.voipbox.co.il [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  400. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:654 (sofia/default/202@kfc.voipbox.co.il) State EXCHANGE_MEDIA going to sleep
  401. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_HANGUP (Cur 2 Tot 30)
  402. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:848 (sofia/default/202@kfc.voipbox.co.il) Callstate Change ACTIVE -> HANGUP
  403. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:850 (sofia/default/202@kfc.voipbox.co.il) State HANGUP
  404. 2021-02-26 01:14:37.942960 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/202@kfc.voipbox.co.il skip receive message [UNBRIDGE] (channel is hungup already)
  405. 2021-02-26 01:14:37.942960 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/2001@kfc.voipbox.co.il skip receive message [UNBRIDGE] (channel is hungup already)
  406. 2021-02-26 01:14:37.942960 [DEBUG] mod_sofia.c:453 Channel sofia/default/202@kfc.voipbox.co.il hanging up, cause: NORMAL_CLEARING
  407. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_session.c:2905 sofia/default/2001@kfc.voipbox.co.il skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)                                                                                                                                              
  408. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2001@kfc.voipbox.co.il) State EXECUTE going to sleep
  409. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_HANGUP (Cur 2 Tot 30)
  410. 2021-02-26 01:14:37.942960 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/202@kfc.voipbox.co.il
  411. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:60 sofia/default/202@kfc.voipbox.co.il Standard HANGUP, cause: NORMAL_CLEARING
  412. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:850 (sofia/default/202@kfc.voipbox.co.il) State HANGUP going to sleep
  413. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:620 (sofia/default/202@kfc.voipbox.co.il) State Change CS_HANGUP -> CS_REPORTING
  414. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:585 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_REPORTING (Cur 2 Tot 30)
  415. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:848 (sofia/default/2001@kfc.voipbox.co.il) Callstate Change ACTIVE -> HANGUP
  416. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:936 (sofia/default/202@kfc.voipbox.co.il) State REPORTING
  417. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2001@kfc.voipbox.co.il) State HANGUP
  418. 2021-02-26 01:14:37.942960 [DEBUG] mod_sofia.c:453 Channel sofia/default/2001@kfc.voipbox.co.il hanging up, cause: NORMAL_UNSPECIFIED
  419. 2021-02-26 01:14:37.942960 [INFO] mod_json_cdr.c:271 Process [37ccb393-f074-4013-8854-0fa149a33e79.cdr.json]
  420. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:60 sofia/default/2001@kfc.voipbox.co.il Standard HANGUP, cause: NORMAL_UNSPECIFIED
  421. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2001@kfc.voipbox.co.il) State HANGUP going to sleep
  422. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:620 (sofia/default/2001@kfc.voipbox.co.il) State Change CS_HANGUP -> CS_REPORTING
  423. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_REPORTING (Cur 2 Tot 30)
  424. 2021-02-26 01:14:37.942960 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2001@kfc.voipbox.co.il) State REPORTING
  425. 2021-02-26 01:14:37.942960 [INFO] mod_json_cdr.c:271 Process [4f4348ce-dfc8-48c2-ba30-6b0a09e63cd9.cdr.json]
  426. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:174 sofia/default/202@kfc.voipbox.co.il Standard REPORTING, cause: NORMAL_CLEARING
  427. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:936 (sofia/default/202@kfc.voipbox.co.il) State REPORTING going to sleep
  428. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:611 (sofia/default/202@kfc.voipbox.co.il) State Change CS_REPORTING -> CS_DESTROY
  429. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_session.c:1726 Session 30 (sofia/default/202@kfc.voipbox.co.il) Locked, Waiting on external entities
  430. 2021-02-26 01:14:37.962939 [NOTICE] switch_core_session.c:1744 Session 30 (sofia/default/202@kfc.voipbox.co.il) Ended
  431. 2021-02-26 01:14:37.962939 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/202@kfc.voipbox.co.il [CS_DESTROY]
  432. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:739 (sofia/default/202@kfc.voipbox.co.il) Running State Change CS_DESTROY (Cur 1 Tot 30)
  433. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:749 (sofia/default/202@kfc.voipbox.co.il) State DESTROY
  434. 2021-02-26 01:14:37.962939 [DEBUG] mod_sofia.c:364 sofia/default/202@kfc.voipbox.co.il SOFIA DESTROY
  435. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:181 sofia/default/202@kfc.voipbox.co.il Standard DESTROY
  436. 2021-02-26 01:14:37.962939 [DEBUG] switch_core_state_machine.c:749 (sofia/default/202@kfc.voipbox.co.il) State DESTROY going to sleep
  437. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:174 sofia/default/2001@kfc.voipbox.co.il Standard REPORTING, cause: NORMAL_UNSPECIFIED
  438. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2001@kfc.voipbox.co.il) State REPORTING going to sleep
  439. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:611 (sofia/default/2001@kfc.voipbox.co.il) State Change CS_REPORTING -> CS_DESTROY
  440. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_session.c:1726 Session 29 (sofia/default/2001@kfc.voipbox.co.il) Locked, Waiting on external entities
  441. 2021-02-26 01:14:37.982940 [NOTICE] switch_core_session.c:1744 Session 29 (sofia/default/2001@kfc.voipbox.co.il) Ended
  442. 2021-02-26 01:14:37.982940 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/2001@kfc.voipbox.co.il [CS_DESTROY]
  443. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:739 (sofia/default/2001@kfc.voipbox.co.il) Running State Change CS_DESTROY (Cur 0 Tot 30)
  444. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2001@kfc.voipbox.co.il) State DESTROY
  445. 2021-02-26 01:14:37.982940 [DEBUG] mod_sofia.c:364 sofia/default/2001@kfc.voipbox.co.il SOFIA DESTROY
  446. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:181 sofia/default/2001@kfc.voipbox.co.il Standard DESTROY
  447. 2021-02-26 01:14:37.982940 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2001@kfc.voipbox.co.il) State DESTROY going to sleep
  448. 2021-02-26 01:14:38.142955 [DEBUG] switch_scheduler.c:147 Deleting task 16 switch_ivr_schedule_hangup (37ccb393-f074-4013-8854-0fa149a33e79)
  449.