<div dir="ltr"><div>The dialplan below takes calls from foobar and sends them to call center queue foobar, if that queue is busy it sends them to busy. If they speak to an agent and end a call the call ends because of hangup_after_bridge. I would like calls after they speak to agent be routed to survey, but still have busy work if the queue hits max time.</div><div><br></div>  <extension name="foobar"><br>    <condition field="destination_number" expression="^foobar$"><br>      <action application="export" data="dialed_extension=$1"/><br>      <action application="set" data="hangup_after_bridge=true"/><br>      <action application="set" data="bypass_media=false"/><br>      <action application="set" data="record_concat_video=true"/><br>      <action application="set" data="enable_file_write_buffering=false"/><br>      <action application="record_session" data="/recordings/${uuid}.mp4"/><br>      <action application="callcenter" data="<a href="mailto:foobar@foo.vocinity.com">foobar@foo.vocinity.com</a>"/><br>      <action application="bridge" data="sofia/gateway/vocinity-gateway/busy"/><br>    </condition><br>  </extension><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>><><br>nathan stratton</div></div></div></div></div>