Advertisement
BoberDiversant

Untitled

Oct 23rd, 2019
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.52 KB | None | 0 0
  1. <include>
  2.     <context name="outgoing-release-2-6-ms7">
  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.  
  16.                 <!-- 2 options to dispatch scenario processing, choose 1: -->
  17.                 <!-- option 1: request sipservlet obtained from broker (ms cluster load balancing)-->
  18.                 <!-- <action application="set" data="ServletBrokerApi=http://voicebot:8111"></action> -->
  19.                 <!-- option 2: use specified sipservlet -->
  20.                 <action application="set" data="SipServlet=sipservlet_ms7"></action>
  21.  
  22.                 <action application="lua" data="lua/sdk/outgoing-release-2.6.lua"/>
  23.             </condition>
  24.         </extension>
  25.     </context>
  26. </include>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement