The h exten is triggered when the channel is hangup, so you cannot send any voice data on it.<div><br></div><div>Leandro<br><br><div class="gmail_quote">2013/2/21 Enrico  Pasqualotto <span dir="ltr">&lt;<a href="mailto:e.pasqualotto@netspin.it" target="_blank">e.pasqualotto@netspin.it</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">Yes, correct now it works for Dial.<br>
I think is the same with &quot;c&quot; option on Queue, do you think there&#39;s a way to do it on h exten? <br>My goal is to inject my dialplan on hangup macro.<br><br>Enrico.<br><hr><div class="im"><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
<div class="gmail_quote"><br><div>If you choose to go with the Dial command and use the &quot;g&quot; option, you have not to use the &quot;h&quot; extension, but just provide a next priority. Your dialplan has to be:</div>

<div><br></div><div>[from-test]<br>exten =&gt; _X.,1,Dial(SIP/${EXTEN},60,rjtTg)<br><b>exten =&gt; _X.,2,Goto(play,s,1)</b><br><br>[play]<br>exten =&gt; s,1,Noop(play)<br>exten =&gt; s,2,Saydigits(123579)<br></div><div><br>

</div><div>Leandro</div></div>
<br></blockquote><br></div><div class="im">-- <br><div><span name="x"></span>-- <br>Pasqualotto Enrico<br>cell. <a href="tel:%2B39%203473292620" value="+393473292620" target="_blank">+39 3473292620</a><br>skype://epasqualotto :: <a href="http://www.linkedin.com/in/epasqualotto" target="_blank">http://www.linkedin.com/in/epasqualotto</a><br>
<a href="http://www.netspin.it" target="_blank">http://www.netspin.it</a> :: <a href="mailto:e.pasqualotto@netspin.it" target="_blank">e.pasqualotto@netspin.it</a> <span name="x"></span><br></div></div></div></div><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></div>