From sahil, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-03-15 10:12:58.789132 [NOTICE] switch_channel.c:1118 New Channel sofia/default/200@kfc.voipbox.co.il [d00a2730-b78e-4580-9c51-d3f5482e167d]
  2. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_NEW (Cur 1 Tot 202)
  3. 2021-03-15 10:12:58.789132 [DEBUG] sofia.c:10280 sofia/default/200@kfc.voipbox.co.il receiving invite from 185.184.17.14:5060 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-03-15 10:12:58.789132 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.184.17.14:0.
  5. 2021-03-15 10:12:58.789132 [DEBUG] sofia.c:10403 IP 185.184.17.14 Approved by acl "default[]". Access Granted.
  6. 2021-03-15 10:12:58.789132 [DEBUG] sofia.c:7326 Channel sofia/default/200@kfc.voipbox.co.il entering state [received][100]
  7. 2021-03-15 10:12:58.789132 [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-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  21. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  22. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  23. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  24. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  26. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  33. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  34. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  35. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
  37. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  38. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/200@kfc.voipbox.co.il PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  39. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_codec.c:111 sofia/default/200@kfc.voipbox.co.il Original read codec set to PCMA:8
  40. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  41. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_media.c:5911 sofia/default/200@kfc.voipbox.co.il Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2021-03-15 10:12:58.789132 [DEBUG] sofia.c:7760 (sofia/default/200@kfc.voipbox.co.il) State Change CS_NEW -> CS_INIT
  43. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:604 (sofia/default/200@kfc.voipbox.co.il) State NEW
  44. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_INIT (Cur 1 Tot 202)
  45. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:628 (sofia/default/200@kfc.voipbox.co.il) State INIT
  46. 2021-03-15 10:12:58.789132 [DEBUG] mod_sofia.c:93 sofia/default/200@kfc.voipbox.co.il SOFIA INIT
  47. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:40 sofia/default/200@kfc.voipbox.co.il Standard INIT
  48. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:48 (sofia/default/200@kfc.voipbox.co.il) State Change CS_INIT -> CS_ROUTING
  49. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:628 (sofia/default/200@kfc.voipbox.co.il) State INIT going to sleep
  50. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_ROUTING (Cur 1 Tot 202)
  51. 2021-03-15 10:12:58.789132 [DEBUG] switch_channel.c:2332 (sofia/default/200@kfc.voipbox.co.il) Callstate Change DOWN -> RINGING
  52. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:644 (sofia/default/200@kfc.voipbox.co.il) State ROUTING
  53. 2021-03-15 10:12:58.789132 [DEBUG] mod_sofia.c:154 sofia/default/200@kfc.voipbox.co.il SOFIA ROUTING
  54. 2021-03-15 10:12:58.789132 [DEBUG] switch_core_state_machine.c:236 sofia/default/200@kfc.voipbox.co.il Standard ROUTING
  55. 2021-03-15 10:12:58.789132 [INFO] mod_dialplan_xml.c:637 Processing 200 <200>->190 in context default
  56. 2021-03-15 10:12:58.809130 [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-03-15 10:12:58.809130 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2021-03-15 10:12:58.809130 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 190
  59. 2021-03-15 10:12:58.809130 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '190' AND status=0 limit 1
  60. 2021-03-15 10:12:58.809130 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : KFC / 0737893105
  61. 2021-03-15 10:12:58.809130 [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 ="190" LIMIT 1
  62. 2021-03-15 10:12:58.809130 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="190" limit 1
  63. 2021-03-15 10:12:58.809130 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
  64. 2021-03-15 10:12:58.809130 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 700376]
  65. 2021-03-15 10:12:58.809130 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "700376" AND deleted = 0 limit 1
  66. 2021-03-15 10:12:58.809130 [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 ="190" AND A.accountid = '29' limit 1
  67. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 190
  68. 2021-03-15 10:12:58.829089 [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 ="190" LIMIT 1
  69. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="190" limit 1
  70. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : local
  71. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="190" AND (accountid = 0 OR status = 1) LIMIT 1
  72. 2021-03-15 10:12:58.829089 [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 = '^190.*' OR patterns = '^19.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 29 ORDER BY LENGTH(PKGPTR.patterns) DESC
  73. 2021-03-15 10:12:58.829089 [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 = '190' OR number = '19' OR number = '1' OR number ='--') OR (number = '190*' OR number = '19*' OR number = '1*' OR number ='--') OR (number = '0737893105' OR number = '073789310' OR number = '07378931' OR number = '0737893' OR number = '073789' OR number = '07378' OR number = '0737' OR number = '073' OR number = '07' OR number = '0' OR number ='--') OR (number = '0737893105*' OR number = '073789310*' OR number = '07378931*' OR number = '0737893*' OR number = '073789*' OR number = '07378*' OR number = '0737*' OR number = '073*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  74. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  75. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '190' OR routing_prefix = '19' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  76. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  77. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 29
  78. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 700376
  79. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0
  80. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  81. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
  82. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  83. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  84. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  85. 2021-03-15 10:12:58.829089 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
  86. 2021-03-15 10:12:58.829089 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
  87. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 29 !!!
  88. 2021-03-15 10:12:58.829089 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  89. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  90. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="190" limit 1
  91. 2021-03-15 10:12:58.829089 [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
  92. 2021-03-15 10:12:58.829089 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  93. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  94. 2021-03-15 10:12:58.829089 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  95. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  96. <document type="freeswitch/xml">
  97. <section name="dialplan" description="ASTPP Dialplan">
  98. <context name="default">
  99. <extension name="190">
  100. <condition field="destination_number" expression="190">
  101. <action application="set" data="effective_destination_number=190"/>
  102. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  103. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  104. <action application="set" data="callstart=2021-03-15 14:12:58"/>
  105. <action application="set" data="hangup_after_bridge=true"/>
  106. <action application="set" data="continue_on_fail=TRUE"/>
  107. <action application="set" data="account_id=29"/>
  108. <action application="set" data="parent_id=0"/>
  109. <action application="set" data="entity_id=0"/>
  110. <action application="set" data="call_processed=internal"/>
  111. <action application="set" data="call_direction=local"/>
  112. <action application="set" data="accountname=default"/>
  113. <action application="set" data="origination_rates=ID:0|CODE:^190.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29"/>
  114. <action application="set" data="original_caller_id_name=KFC"/>
  115. <action application="set" data="original_caller_id_number=0737893105"/>
  116. <action application="set" data="effective_caller_id_name=KFC"/>
  117. <action application="set" data="effective_caller_id_number=0737893105"/>
  118. <action application="set" data="calltype=LOCAL"/>
  119. <action application="set" data="receiver_accid=29"/>
  120. <action application="export" data="presence_data=x|||KFC(700376)|||^190.* // Local // 0||||||Local|||117.247.91.162"/>
  121. <action application="set" data="sip_h_X-call-type=did"/>
  122. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  123. <action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=190@${domain_name}}[leg_timeout=60]sofia/${sofia_profile_name}/190@185.184.17.14"/>
  124. <condition field="${cond(${user_data 190@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  125. <action application="answer"/>
  126. <action application="export" data="voicemail_alternate_greet_id=190"/>
  127. <action application="voicemail" data="default $${domain_name} 190"/>
  128. <anti-action application="hangup" data="${originate_disposition}"/>
  129. </condition>
  130. </condition>
  131. </extension>
  132. </context>
  133. </section>
  134. </document>
  135. Dialplan: sofia/default/200@kfc.voipbox.co.il parsing [default->190] continue=false
  136. Dialplan: sofia/default/200@kfc.voipbox.co.il Regex (PASS) [190] destination_number(190) =~ /190/ break=on-false
  137. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(effective_destination_number=190)
  138. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_app=sched_hangup)
  139. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  140. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(callstart=2021-03-15 14:12:58)
  141. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(hangup_after_bridge=true)
  142. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(continue_on_fail=TRUE)
  143. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(account_id=29)
  144. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(parent_id=0)
  145. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(entity_id=0)
  146. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(call_processed=internal)
  147. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(call_direction=local)
  148. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(accountname=default)
  149. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(origination_rates=ID:0|CODE:^190.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)
  150. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(original_caller_id_name=KFC)
  151. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(original_caller_id_number=0737893105)
  152. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(effective_caller_id_name=KFC)
  153. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(effective_caller_id_number=0737893105)
  154. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(calltype=LOCAL)
  155. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(receiver_accid=29)
  156. Dialplan: sofia/default/200@kfc.voipbox.co.il Action export(presence_data=x|||KFC(700376)|||^190.* // Local // 0||||||Local|||117.247.91.162)
  157. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(sip_h_X-call-type=did)
  158. Dialplan: sofia/default/200@kfc.voipbox.co.il Action set(sip_h_X-did-call-type=DID-LOCAL)
  159. Dialplan: sofia/default/200@kfc.voipbox.co.il Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=190@${domain_name}}[leg_timeout=60]sofia/${sofia_profile_name}/190@185.184.17.14)
  160. |--- Dialplan: Processing recursive conditions level:1 [190_recur_1] require-nested=TRUE
  161. |--- Dialplan: sofia/default/200@kfc.voipbox.co.il Regex (FAIL) [190_recur_1] ${cond(${user_data 190@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  162. |--- Dialplan: sofia/default/200@kfc.voipbox.co.il ANTI-Action hangup(${originate_disposition})
  163. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:287 (sofia/default/200@kfc.voipbox.co.il) State Change CS_ROUTING -> CS_EXECUTE
  164. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:644 (sofia/default/200@kfc.voipbox.co.il) State ROUTING going to sleep
  165. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_EXECUTE (Cur 1 Tot 202)
  166. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:651 (sofia/default/200@kfc.voipbox.co.il) State EXECUTE
  167. 2021-03-15 10:12:58.869125 [DEBUG] mod_sofia.c:209 sofia/default/200@kfc.voipbox.co.il SOFIA EXECUTE
  168. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:329 sofia/default/200@kfc.voipbox.co.il Standard EXECUTE
  169. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(effective_destination_number=190)
  170. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [effective_destination_number]=[190]
  171. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(bridge_pre_execute_bleg_app=sched_hangup)
  172. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [bridge_pre_execute_bleg_app]=[sched_hangup]
  173. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  174. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  175. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(callstart=2021-03-15 14:12:58)
  176. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [callstart]=[2021-03-15 14:12:58]
  177. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(hangup_after_bridge=true)
  178. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [hangup_after_bridge]=[true]
  179. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(continue_on_fail=TRUE)
  180. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [continue_on_fail]=[TRUE]
  181. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(account_id=29)
  182. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [account_id]=[29]
  183. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(parent_id=0)
  184. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [parent_id]=[0]
  185. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(entity_id=0)
  186. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [entity_id]=[0]
  187. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(call_processed=internal)
  188. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [call_processed]=[internal]
  189. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(call_direction=local)
  190. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [call_direction]=[local]
  191. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(accountname=default)
  192. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [accountname]=[default]
  193. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(origination_rates=ID:0|CODE:^190.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29)
  194. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [origination_rates]=[ID:0|CODE:^190.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:3|MARKUP:0|CI:0|ACCID:29]
  195. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(original_caller_id_name=KFC)
  196. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [original_caller_id_name]=[KFC]
  197. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(original_caller_id_number=0737893105)
  198. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [original_caller_id_number]=[0737893105]
  199. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(effective_caller_id_name=KFC)
  200. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [effective_caller_id_name]=[KFC]
  201. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(effective_caller_id_number=0737893105)
  202. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [effective_caller_id_number]=[0737893105]
  203. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(calltype=LOCAL)
  204. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [calltype]=[LOCAL]
  205. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(receiver_accid=29)
  206. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [receiver_accid]=[29]
  207. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il export(presence_data=x|||KFC(700376)|||^190.* // Local // 0||||||Local|||117.247.91.162)
  208. 2021-03-15 10:12:58.869125 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||KFC(700376)|||^190.* // Local // 0||||||Local|||117.247.91.162]
  209. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(sip_h_X-call-type=did)
  210. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [sip_h_X-call-type]=[did]
  211. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il set(sip_h_X-did-call-type=DID-LOCAL)
  212. 2021-03-15 10:12:58.869125 [DEBUG] mod_dptools.c:1672 SET sofia/default/200@kfc.voipbox.co.il [sip_h_X-did-call-type]=[DID-LOCAL]
  213. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il bridge({sip_invite_params=user=LOCAL,sip_from_uri=190@185.184.17.138}[leg_timeout=60]sofia/default/190@185.184.17.14)
  214. 2021-03-15 10:12:58.869125 [DEBUG] switch_channel.c:1264 sofia/default/200@kfc.voipbox.co.il EXPORTING[export_vars] [presence_data]=[x|||KFC(700376)|||^190.* // Local // 0||||||Local|||117.247.91.162] to event
  215. 2021-03-15 10:12:58.869125 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  216. 2021-03-15 10:12:58.869125 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  217. 2021-03-15 10:12:58.869125 [NOTICE] switch_channel.c:1118 New Channel sofia/default/190@185.184.17.14 [4a56a22e-9d36-447c-becf-93a86a4b2414]
  218. 2021-03-15 10:12:58.869125 [DEBUG] mod_sofia.c:5089 (sofia/default/190@185.184.17.14) State Change CS_NEW -> CS_INIT
  219. 2021-03-15 10:12:58.869125 [DEBUG] switch_ivr_originate.c:3111 sofia/default/190@185.184.17.14 Setting leg timeout to 60
  220. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@185.184.17.14) Running State Change CS_INIT (Cur 2 Tot 203)
  221. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@185.184.17.14) State INIT
  222. 2021-03-15 10:12:58.869125 [DEBUG] mod_sofia.c:93 sofia/default/190@185.184.17.14 SOFIA INIT
  223. 2021-03-15 10:12:58.869125 [DEBUG] sofia_glue.c:1618 sofia/default/190@185.184.17.14 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  224. Local SDP:
  225. v=0
  226. o=FreeSWITCH 1615783606 1615783607 IN IP4 185.184.17.138
  227. s=FreeSWITCH
  228. c=IN IP4 185.184.17.138
  229. t=0 0
  230. m=audio 33972 RTP/AVP 8 101
  231. a=rtpmap:8 PCMA/8000
  232. a=rtpmap:101 telephone-event/8000
  233. a=fmtp:101 0-16
  234. a=ptime:20
  235. a=sendrecv
  236.  
  237. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:40 sofia/default/190@185.184.17.14 Standard INIT
  238. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:48 (sofia/default/190@185.184.17.14) State Change CS_INIT -> CS_ROUTING
  239. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:628 (sofia/default/190@185.184.17.14) State INIT going to sleep
  240. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@185.184.17.14) Running State Change CS_ROUTING (Cur 2 Tot 203)
  241. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@185.184.17.14) State ROUTING
  242. 2021-03-15 10:12:58.869125 [DEBUG] mod_sofia.c:154 sofia/default/190@185.184.17.14 SOFIA ROUTING
  243. 2021-03-15 10:12:58.869125 [DEBUG] switch_ivr_originate.c:67 (sofia/default/190@185.184.17.14) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  244. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:644 (sofia/default/190@185.184.17.14) State ROUTING going to sleep
  245. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@185.184.17.14) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 203)
  246. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:663 (sofia/default/190@185.184.17.14) State CONSUME_MEDIA
  247. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:663 (sofia/default/190@185.184.17.14) State CONSUME_MEDIA going to sleep
  248. 2021-03-15 10:12:58.869125 [DEBUG] sofia.c:7326 Channel sofia/default/190@185.184.17.14 entering state [calling][0]
  249. 2021-03-15 10:12:58.869125 [DEBUG] sofia.c:7326 Channel sofia/default/190@185.184.17.14 entering state [terminated][404]
  250. 2021-03-15 10:12:58.869125 [NOTICE] sofia.c:8559 Hangup sofia/default/190@185.184.17.14 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  251. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@185.184.17.14) Running State Change CS_HANGUP (Cur 2 Tot 203)
  252. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:848 (sofia/default/190@185.184.17.14) Callstate Change DOWN -> HANGUP
  253. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@185.184.17.14) State HANGUP
  254. 2021-03-15 10:12:58.869125 [DEBUG] mod_sofia.c:453 Channel sofia/default/190@185.184.17.14 hanging up, cause: UNALLOCATED_NUMBER
  255. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:60 sofia/default/190@185.184.17.14 Standard HANGUP, cause: UNALLOCATED_NUMBER
  256. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:850 (sofia/default/190@185.184.17.14) State HANGUP going to sleep
  257. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:620 (sofia/default/190@185.184.17.14) State Change CS_HANGUP -> CS_REPORTING
  258. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:585 (sofia/default/190@185.184.17.14) Running State Change CS_REPORTING (Cur 2 Tot 203)
  259. 2021-03-15 10:12:58.869125 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@185.184.17.14) State REPORTING
  260. 2021-03-15 10:12:58.869125 [INFO] mod_json_cdr.c:271 Process [4a56a22e-9d36-447c-becf-93a86a4b2414.cdr.json]
  261. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:174 sofia/default/190@185.184.17.14 Standard REPORTING, cause: UNALLOCATED_NUMBER
  262. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:936 (sofia/default/190@185.184.17.14) State REPORTING going to sleep
  263. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:611 (sofia/default/190@185.184.17.14) State Change CS_REPORTING -> CS_DESTROY
  264. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_session.c:1726 Session 203 (sofia/default/190@185.184.17.14) Locked, Waiting on external entities
  265. 2021-03-15 10:12:58.889094 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  266. 2021-03-15 10:12:58.889094 [NOTICE] switch_core_session.c:1744 Session 203 (sofia/default/190@185.184.17.14) Ended
  267. 2021-03-15 10:12:58.889094 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/190@185.184.17.14 [CS_DESTROY]
  268. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:739 (sofia/default/190@185.184.17.14) Running State Change CS_DESTROY (Cur 1 Tot 203)
  269. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@185.184.17.14) State DESTROY
  270. 2021-03-15 10:12:58.889094 [DEBUG] mod_sofia.c:364 sofia/default/190@185.184.17.14 SOFIA DESTROY
  271. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:181 sofia/default/190@185.184.17.14 Standard DESTROY
  272. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:749 (sofia/default/190@185.184.17.14) State DESTROY going to sleep
  273. 2021-03-15 10:12:58.889094 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: UNALLOCATED_NUMBER
  274. EXECUTE [depth=0] sofia/default/200@kfc.voipbox.co.il hangup(UNALLOCATED_NUMBER)
  275. 2021-03-15 10:12:58.889094 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/200@kfc.voipbox.co.il [CS_EXECUTE] [UNALLOCATED_NUMBER]
  276. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_session.c:2905 sofia/default/200@kfc.voipbox.co.il skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  277. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:651 (sofia/default/200@kfc.voipbox.co.il) State EXECUTE going to sleep
  278. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_HANGUP (Cur 1 Tot 203)
  279. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:848 (sofia/default/200@kfc.voipbox.co.il) Callstate Change RINGING -> HANGUP
  280. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:850 (sofia/default/200@kfc.voipbox.co.il) State HANGUP
  281. 2021-03-15 10:12:58.889094 [DEBUG] mod_sofia.c:447 sofia/default/200@kfc.voipbox.co.il Overriding SIP cause 404 with 404 from the other leg
  282. 2021-03-15 10:12:58.889094 [DEBUG] mod_sofia.c:453 Channel sofia/default/200@kfc.voipbox.co.il hanging up, cause: UNALLOCATED_NUMBER
  283. 2021-03-15 10:12:58.889094 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 404
  284. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:60 sofia/default/200@kfc.voipbox.co.il Standard HANGUP, cause: UNALLOCATED_NUMBER
  285. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:850 (sofia/default/200@kfc.voipbox.co.il) State HANGUP going to sleep
  286. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:620 (sofia/default/200@kfc.voipbox.co.il) State Change CS_HANGUP -> CS_REPORTING
  287. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:585 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_REPORTING (Cur 1 Tot 203)
  288. 2021-03-15 10:12:58.889094 [DEBUG] switch_core_state_machine.c:936 (sofia/default/200@kfc.voipbox.co.il) State REPORTING
  289. 2021-03-15 10:12:58.889094 [INFO] mod_json_cdr.c:271 Process [d00a2730-b78e-4580-9c51-d3f5482e167d.cdr.json]
  290. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:174 sofia/default/200@kfc.voipbox.co.il Standard REPORTING, cause: UNALLOCATED_NUMBER
  291. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:936 (sofia/default/200@kfc.voipbox.co.il) State REPORTING going to sleep
  292. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:611 (sofia/default/200@kfc.voipbox.co.il) State Change CS_REPORTING -> CS_DESTROY
  293. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_session.c:1726 Session 202 (sofia/default/200@kfc.voipbox.co.il) Locked, Waiting on external entities
  294. 2021-03-15 10:12:58.909081 [NOTICE] switch_core_session.c:1744 Session 202 (sofia/default/200@kfc.voipbox.co.il) Ended
  295. 2021-03-15 10:12:58.909081 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/200@kfc.voipbox.co.il [CS_DESTROY]
  296. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:739 (sofia/default/200@kfc.voipbox.co.il) Running State Change CS_DESTROY (Cur 0 Tot 203)
  297. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:749 (sofia/default/200@kfc.voipbox.co.il) State DESTROY
  298. 2021-03-15 10:12:58.909081 [DEBUG] mod_sofia.c:364 sofia/default/200@kfc.voipbox.co.il SOFIA DESTROY
  299. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:181 sofia/default/200@kfc.voipbox.co.il Standard DESTROY
  300. 2021-03-15 10:12:58.909081 [DEBUG] switch_core_state_machine.c:749 (sofia/default/200@kfc.voipbox.co.il) State DESTROY going to sleep
  301.