public.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <include>
  2. <context name="public">
  3. <extension name="unloop">
  4. <condition field="${unroll_loops}" expression="^true$"/>
  5. <condition field="${sip_looped_call}" expression="^true$">
  6. <action application="deflect" data="${destination_number}"/>
  7. </condition>
  8. </extension>
  9. <!--
  10. Tag anything pass thru here as an outside_call so you can make sure not
  11. to create any routing loops based on the conditions that it came from
  12. the outside of the switch.
  13. -->
  14. <extension name="outside_call" continue="true">
  15. <condition>
  16. <action application="set" data="outside_call=true"/>
  17. <action application="export" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
  18. </condition>
  19. </extension>
  20. <extension name="call_debug" continue="true">
  21. <condition field="${call_debug}" expression="^true$" break="never">
  22. <action application="info"/>
  23. </condition>
  24. </extension>
  25. <extension name="adhearsion">
  26. <condition>
  27. <action application="rayo" data=""/>
  28. </condition>
  29. </extension>
  30. </context>
  31. </include>