On Wed, 13 Apr 2005, Tony Mountifield wrote:
> 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
.... but watch out for your CDR records. In my experience, "h" lines in
your extensions.conf will result in your dialled-number info being lost in
your CDRs and being replaced by "h".
Its bad when you notice this weeks after what you thought was a minor
change....
Steve
_______________________________________________
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