In article <[EMAIL PROTECTED]>,
Andrew Kohlsmith <[EMAIL PROTECTED]> wrote:
> On April 13, 2005 03:45 pm, Mystery Glitch wrote:
> > In my [incoming] context I have something like this:
> > exten => 8885861575,1,Macro(vrforward,${EXTEN},8136361451)
> 
> Make sure you have a 'h' extension defined that just hangs up.

Actually, one thing I discovered some time ago is that you _don't_ need
to call Hangup from h, and in fact doing so caused me grief if I was
also doing other stuff in h - some of it got done twice.

h gets called for either of two reasons:
1. You already called Hangup in your dialplan.
2. The remote party hung up.

Neither of those scenarios requires you to call Hangup again.

If you want to ensure you have an h extension, but don't need it to
do anything else, just use:

exten => h,1,NoOp

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
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

Reply via email to