<br><br><div class="gmail_quote">2013/2/21 Enrico Pasqualotto <span dir="ltr"><<a href="mailto:e.pasqualotto@netspin.it" target="_blank">e.pasqualotto@netspin.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all, I'm trying to setup a Quiz/feedback for caller of call center when a agent hangup.<br>
I use Asterisk 1.8.16 and I'm trying with Queue and Dial with options c and g but every time I try to play something I got:<br>
<br>
-- Executing [301@from-test:1] Dial("SIP/300-00000045", "SIP/301,60,rjtTg") in new stack<br>
-- Called SIP/301<br>
-- SIP/301-00000046 is ringing<br>
-- SIP/301-00000046 answered SIP/300-00000045<br>
-- Auto fallthrough, channel 'SIP/300-00000045' status is 'ANSWER'<br>
-- Executing [h@from-test:1] Goto("SIP/300-00000045", "play,s,1") in new stack<br>
-- Goto (play,s,1)<br>
-- Executing [s@play:1] NoOp("SIP/300-00000045", "play") in new stack<br>
-- Executing [s@play:2] SayDigits("SIP/300-00000045", "123579") in new stack<br>
[Feb 21 10:35:00] WARNING[31945]: file.c:833 ast_readaudio_callback: Failed to write frame<br>
-- <SIP/300-00000045> Playing 'digits/1.ulaw' (language 'en')<br>
== Spawn extension (play, s, 2) exited non-zero on 'SIP/300-00000045'<br>
<br>
This is my dialplan:<br>
<br>
[from-test]<br>
exten => _X.,1,Dial(SIP/${EXTEN},60,rjtTg)<br>
exten => h,1,Goto(play,s,1)<br>
<br>
[play]<br>
exten => s,1,Noop(play)<br>
exten => s,2,Saydigits(123579)<br>
<br>
<br>
Anyone can help me?<br>
<br>
Thanks<br>
<br>
Enrico.<br>
<br></blockquote><div><br></div><div>If you choose to go with the Dial command and use the "g" option, you have not to use the "h" extension, but just provide a next priority. Your dialplan has to be:</div>
<div><br></div><div>[from-test]<br>exten => _X.,1,Dial(SIP/${EXTEN},60,rjtTg)<br><b>exten => _X.,2,Goto(play,s,1)</b><br><br>[play]<br>exten => s,1,Noop(play)<br>exten => s,2,Saydigits(123579)<br></div><div><br>
</div><div>Leandro</div></div>