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