Advertisement
BoberDiversant

Untitled

Oct 17th, 2019
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.59 KB | None | 0 0
  1. <include>
  2.     <context name="outgoing-release-2-6-ms9-fmba">
  3.         <extension name="ext">
  4.             <condition>
  5.                 <action application="log" data="INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"/>
  6.                 <action application="wait_for_answer"/>
  7.  
  8.                 <action application="sched_hangup" data="+600 CHANNEL_HANGUP_COMPLETE"/>
  9.  
  10.                 <action application="set" data="RECORD_STEREO=true"/>
  11.                 <action application="record_session" data="$${recordings_dir}/${Client}/${Campaign}/${CallTaskId}.wav"/>
  12.  
  13.                 <action application="set" data="SleepTime=1500"/>
  14.                 <action application="sleep" data="${SleepTime}"/>
  15.                 <action application="set" data="ringback=${ru-ring}"/>
  16.  
  17.                 <!-- 2 options to dispatch scenario processing, choose 1: -->
  18.                 <!-- option 1: request sipservlet obtained from broker (ms cluster load balancing)-->
  19.                 <!-- <action application="set" data="ServletBrokerApi=http://voicebot:8111"></action> -->
  20.                 <!-- option 2: use specified sipservlet -->
  21.                 <action application="set" data="SipServlet=sipservlet_ms9"></action>
  22.  
  23.                 <action application="lua" data="lua/sdk/outgoing-release-2.6.lua"/>
  24.             </condition>
  25.         </extension>
  26.     </context>
  27. </include>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement