[asterisk-users] How Do I continue after Dial Command ??

Vincent vincent.delporte at bigfoot.com
Mon Mar 10 00:16:32 CDT 2008


On Sun, 09 Mar 2008 17:21:47 -0400, Jim Duda <jim at duda.tzo.com> wrote:
>exten => s,1,AGI(MisterHouse.agi,"Sphinx Connect")
>exten => s,2,Dial(CONSOLE/1)

Unless there's a technical reason for this, you should use "n", so you
can easily add/remove instructions without having to renumber
everything:

From

>exten => h,1,AGI(MisterHouse.agi,"Sphinx Disconnect")
>exten => h,2,Hangup

To

>exten => h,1,AGI(MisterHouse.agi,"Sphinx Disconnect")
>exten => h,n,Hangup




More information about the asterisk-users mailing list