From Akash, 5 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Duke_inboun_recording_issue
  1. <document type="freeswitch/xml">
  2. <section name="dialplan" description="ASTPP Dialplan">
  3. <context name="default">
  4. <extension name="0242436859">
  5. <condition field="destination_number" expression="0242436859">
  6. <action application="set" data="effective_destination_number=0242436859"/>
  7. <action application="sched_hangup" data="+6000 normal_clearing"/>
  8. <action application="set" data="callstart=2019-02-11 07:58:40"/>
  9. <action application="set" data="hangup_after_bridge=true"/>
  10. <action application="set" data="continue_on_fail=true"/>
  11. <action application="set" data="account_id=1336"/>
  12. <action application="set" data="parent_id=0"/>
  13. <action application="set" data="entity_id=0"/>
  14. <action application="set" data="call_processed=internal"/>
  15. <action application="set" data="call_direction=inbound"/>
  16. <action application="set" data="accountname=default"/>
  17. <action application="export" data="t38_passthru=true"/>
  18. <action application="set" data="fax_enable_t38=true"/>
  19. <action application="set" data="fax_enable_t38_request=true"/>
  20. <action application="set" data="origination_rates_did=ID:3|CODE:^.0242436859.*|DESTINATION:0242436859|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|ACCID:1336"/>
  21. <action application="set" data="origination_rates=ID:972383|CODE:^024.*|DESTINATION:MTN-DID|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:1|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:1336"/>
  22. <action application="export" data="is_recording=1"/>
  23. <action application="export" data="media_bug_answer_req=true"/>
  24. <action application="export" data="RECORD_STEREO=true"/>
  25. <action application="export" data="record_sample_rate=8000"/>
  26. <action application="export" data="execute_on_answer=record_session $${base_dir}/recordings/${strftime(%Y-%m-%d-%H:%M:%S)}_7869533357.wav"/>
  27. <action application="set" data="receiver_accid=1336"/>
  28. <action application="limit" data="db 0242436859 did_0242436859 2 !SWITCH_CONGESTION"/>
  29. <action application="set" data="calltype=OTHER"/>
  30. <action application="bridge" data="sofia/default/0242436859@144.76.119.21"/>
  31. </condition>
  32. </extension>
  33. </context>
  34. </section>
  35. </document>
  36.