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