<div>Any application with audio stream like playback or background will not work in h priority, use of g in Dial() and c in Queue() is best approach for the same. </div><div> </div><div>Refer following link for h priority detail explanation<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+h+extension">http://www.voip-info.org/wiki/view/Asterisk+h+extension</a></div><div> </div><div>Regards,</div><div> </div><div>Bharat<br></div><div class="gmail_quote">On Thu, Feb 21, 2013 at 3:53 PM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">On Thursday 21 February 2013, Enrico Pasqualotto wrote:<br>
> Hi all, I'm trying to setup a Quiz/feedback for caller of call center when<br>
> a agent hangup. I use Asterisk 1.8.16 and I'm trying with Queue and Dial<br>
> with options c and g but every time I try to play something I got:<br>
> ..... stuff deleted .....<br>
> This is my dialplan:<br>
<div class="im">><br>
> [from-test]<br>
> exten => _X.,1,Dial(SIP/${EXTEN},60,rjtTg)<br>
</div>> exten => h,1,Goto(play,s,1)<br>
<div class="im">><br>
> [play]<br>
> exten => s,1,Noop(play)<br>
> exten => s,2,Saydigits(123579)<br>
><br>
><br>
</div>> Anyone can help me?<br>
<br>
By the time you reach extension h, it's too late for playing audio; the call<br>
has already been hung up, and the process of freeing up resources has begun.<br>
<br>
If you are using the g modifier to the Dial() command then the call doesn't<br>
jump to extension h, but carries on with the next step if the far end hangs<br>
up. So what you probably want is something more like this:<br>
<div class="im"><br>
[from-test]<br>
exten => _X.,1,Dial(SIP/${EXTEN},60,rjtTg)<br>
</div>exten => _X.,2,Noop(play)<br>
exten => _X.,3,Saydigits(123579)<br>
<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Bharat Lalcheta