I've got a context in my dialplan like so but pressing 0 doesn't seem to be working. Instead of dropping out to the "o" extension, it's just returning to the start of the direcotry app. Same with star. Anyone see where I've gone awry? [attendant] ; <snip> exten => *,1,NoOp(Attendant: Directory) exten => *,n,Directory(default,attendant,eb) exten => *,n,Goto(s,1) exten => o,1,NoOp(Zero) exten => o,n,Goto(0,1) exten => a,1,NoOp(Star) exten => a,n,Goto(0,1) Paul -- Paul Dugas -- Computer Engineer -- Dugas Enterprises, LLC 522 Black Canyon Park, Canton GA 30114 USA paul at dugasenterprises.com -- +1.404.932.1355
Paul Dugas wrote:> [attendant] > ; <snip> > exten => *,1,NoOp(Attendant: Directory) > exten => *,n,Directory(default,attendant,eb) > exten => *,n,Goto(s,1) > > exten => o,1,NoOp(Zero) > exten => o,n,Goto(0,1) > > exten => a,1,NoOp(Star) > exten => a,n,Goto(0,1) >Works fine for me, I've got: exten => 31*,1,Set(CONNECTEDLINE(all)="Directory" <31*>) exten => 31*,n,Goto(directory,s,1) [directory] exten => s,1,Wait(1) exten => s,n,Directory(sip|sip|eb) exten => s,n,Playback(goodbye) exten => s,n,Hangup() exten => o,1,Goto(incoming,s,1) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
On Tue, Sep 29, 2009 at 3:11 PM, Doug Lytle <support at drdos.info> wrote:> [directory] > > exten => s,1,Wait(1) > exten => s,n,Directory(sip|sip|eb) > exten => s,n,Playback(goodbye) > exten => s,n,Hangup() > exten => o,1,Goto(incoming,s,1)I thought the second arg to Directory() was where it would look for the "o" extension. Briefly looking through app_meetme.c frim 1.6.1.6, it seems to fit. But you have "sip" for both the vm-context and the dial-context. Weird. P -- Paul Dugas -- Computer Engineer -- Dugas Enterprises, LLC 522 Black Canyon Park, Canton GA 30114 USA paul at dugasenterprises.com -- +1.404.932.1355