Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <include>
- <context name="outgoing-release-2-6-ms7">
- <extension name="ext">
- <condition>
- <action application="log" data="INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"/>
- <action application="wait_for_answer"/>
- <action application="sched_hangup" data="+600 CHANNEL_HANGUP_COMPLETE"/>
- <action application="set" data="RECORD_STEREO=true"/>
- <action application="record_session" data="$${recordings_dir}/${Client}/${Campaign}/${CallTaskId}.wav"/>
- <action application="set" data="SleepTime=1500"/>
- <action application="sleep" data="${SleepTime}"/>
- <!-- 2 options to dispatch scenario processing, choose 1: -->
- <!-- option 1: request sipservlet obtained from broker (ms cluster load balancing)-->
- <!-- <action application="set" data="ServletBrokerApi=http://voicebot:8111"></action> -->
- <!-- option 2: use specified sipservlet -->
- <action application="set" data="SipServlet=sipservlet_ms7"></action>
- <action application="lua" data="lua/sdk/outgoing-release-2.6.lua"/>
- </condition>
- </extension>
- </context>
- </include>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement