From Putrid Hummingbird, 4 Years ago, written in Plain Text.
- view diff
Embed
  1. 2020-03-23 09:14:32.011003 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="freeswitch/xml">
  3. <section name="dialplan" description="ASTPP Dialplan">
  4. <context name="default">
  5. <extension name="1987654">
  6. <condition field="destination_number" expression="1987654">
  7. <action application="set" data="effective_destination_number=1987654"/>
  8. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  9. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  10. <action application="set" data="callstart=2020-03-23 08:14:32"/>
  11. <action application="set" data="hangup_after_bridge=true"/>
  12. <action application="set" data="continue_on_fail=TRUE"/>
  13. <action application="set" data="account_id=153"/>
  14. <action application="set" data="parent_id=0"/>
  15. <action application="set" data="entity_id=0"/>
  16. <action application="set" data="call_processed=internal"/>
  17. <action application="set" data="call_direction=inbound"/>
  18. <action application="set" data="accountname=TEST"/>
  19. <action application="set" data="origination_rates_did=ID:81|CODE:^1987654.*|DESTINATION:1987654|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:4"/>
  20. <action application="set" data="origination_rates=0"/>
  21. <action application="set" data="original_caller_id_name=myname"/>
  22. <action application="set" data="original_caller_id_number=USERNAME2"/>
  23. <action application="limit" data="db 5799631331 user_5799631331 2 !SWITCH_CONGESTION"/>
  24. <action application="limit" data="hash CPS_5799631331 CPS_user_5799631331 1/1 !SWITCH_CONGESTION"/>
  25. <action application="set" data="effective_caller_id_name=myname"/>
  26. <action application="set" data="effective_caller_id_number=USERNAME2"/>
  27. <action application="set" data="receiver_accid=4"/>
  28. <action application="export" data="presence_data=x|||TDS-Office(5799631331)|||^1987654.* // 1987654 // 0.00000||||||DID"/>
  29. <action application="export" data="call_type=10"/>
  30. <action application="set" data="did_calltype=10"/>
  31. <action application="set" data="did_extensions=11"/>
  32. <action application="set" data="ringback=0"/>
  33. <action application="set" data="module_name=pbx"/>
  34. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  35. <action application="set" data="sip_h_P-Accountcode=4"/>
  36.     <action application="answer"/>
  37. <action application="ivr" data="mytestivr0"/>
  38. </condition>
  39.