I believe it's the 'ingnorepat' option that you want. Look at the stock
extensions.conf and search for ignorepat.
I've tried ignorepat => 9, but that only seems to work within a context. If my context does a Goto after a 9 (into a different context), then the ignorepat doesn't seem to have an effect. And putting it in the resulting context doesn't have an effect, either, because the dialtone is already cancelled.
But, this isn't a big deal, we can live without it. I just thought there might be a way. If I could do a Backtround(Playtone()), that would do what I want...
Thanks for the suggestions!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael George Sent: Thursday, May 27, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] generate dial tone
The way I have my dialplan configured, an internal extension is routed to a different context (with Goto()) on pretty much the first button press.
2 -> internal extensions 0 -> operator 5 -> VM 9 -> outside line etc.
So a "201" will go to the internal extensions context, s,1, do some setup and then match on "01".
The thing is that when the 9 is entered, I would like to go to the outside line context and generate another dialtone. As it is, it goes to the context and waits there w/ no tone.
I suspect there might be an application that will kick off the tone, but the wiki is down and I cannot find anything about it in searching the archives.
Is there a way to do this?
-Michael
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-Michael
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
