Hi Tino,<div><br></div><div>I think you can do it by using dummy queue number. for example create &quot;500&quot; queue in freepbx. and replace your goto command in ext-queues-custom with </div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">exten =&gt; 5000,n,Goto(ext-queues,500,1)</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Regards</span></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br><div class="gmail_quote">On Sat, Aug 7, 2010 at 7:06 PM, Tino <span dir="ltr">&lt;<a href="mailto:tino@sparksupport.com">tino@sparksupport.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote">In my Asterisk server following things have been done to detect answering machines before the answered call connects to the agents in queue.<br><br>In extension_additional.conf<br><br>==============================<br>

[ext-queues]<br>
include =&gt; ext-queues-custom<br>exten =&gt; 5000,20,Macro(user-callerid,)        ; changed the priority to 20<br>...............<br>==============================<br><br>In extension_custom.conf  added following amd dialplan<br>


<br>=======================<br>[ext-queues-custom]<br>exten =&gt; 5000,1,Answer()<br>exten =&gt; 5000,n,AMD(2500|1500|300|5000|120|50|4|384)<br>exten =&gt; 5000,n,GotoIf($[&quot;${AMDSTATUS}&quot; = &quot;MACHINE&quot;]?machine:human)<br>


exten =&gt; 5000,n(machine),Verbose(3, We found an answring machine)<br>exten =&gt; 5000,n,Set(AMP=${CALLERID(num)})<br>exten =&gt; 5000,n,Set(date=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})<br>exten =&gt; 5000,n,System(not showing the actual command)<br>


exten =&gt; 5000,n,Goto(ext-queues,5000,20)<br>exten =&gt; 5000,n(human),Verbose(3, We&#39;ve got a human on the line!)<br>exten =&gt; 5000,n,Goto(ext-queues,5000,20)<br>=======================================<br><br>This setup is working fine but the problem is that when i reload freepbx,  extension_additional.conf will go to its original form<br>


and the changes made will be lost. Is there any way to make the changes in extension_additional.conf conf permanent . Or is there any alternative method for this ?<br>
</div><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>Nasir Iqbal<br><br>ICT Innovations<br>
<a href="http://www.ictinnovations.com/" target="_blank">http://www.ictinnovations.com/</a><br><br>
</div>