[asterisk-users] AMD setup in Astersik

Nasir Iqbal nasir at ictinnovations.com
Sat Aug 7 10:44:36 CDT 2010


Hi Tino,

I think you can do it by using dummy queue number. for example create "500"
queue in freepbx. and replace your goto command in ext-queues-custom with

exten => 5000,n,Goto(ext-queues,500,1)

Regards

On Sat, Aug 7, 2010 at 7:06 PM, Tino <tino at sparksupport.com> wrote:

>
> In my Asterisk server following things have been done to detect answering
> machines before the answered call connects to the agents in queue.
>
> In extension_additional.conf
>
> ==============================
> [ext-queues]
> include => ext-queues-custom
> exten => 5000,20,Macro(user-callerid,)        ; changed the priority to 20
> ...............
> ==============================
>
> In extension_custom.conf  added following amd dialplan
>
> =======================
> [ext-queues-custom]
> exten => 5000,1,Answer()
> exten => 5000,n,AMD(2500|1500|300|5000|120|50|4|384)
> exten => 5000,n,GotoIf($["${AMDSTATUS}" = "MACHINE"]?machine:human)
> exten => 5000,n(machine),Verbose(3, We found an answring machine)
> exten => 5000,n,Set(AMP=${CALLERID(num)})
> exten => 5000,n,Set(date=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
> exten => 5000,n,System(not showing the actual command)
> exten => 5000,n,Goto(ext-queues,5000,20)
> exten => 5000,n(human),Verbose(3, We've got a human on the line!)
> exten => 5000,n,Goto(ext-queues,5000,20)
> =======================================
>
> This setup is working fine but the problem is that when i reload freepbx,
> extension_additional.conf will go to its original form
> 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 ?
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Nasir Iqbal

ICT Innovations
http://www.ictinnovations.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100807/685f4fa9/attachment.htm 


More information about the asterisk-users mailing list