In article <[EMAIL PROTECTED]>,
Lee Jenkins <[EMAIL PROTECTED]> wrote:
> Tony Mountifield wrote:
> >
> > No, the information is wrong. You need to make a small mod to res/res_agi.c
> > in order to trap this case. Look for the second occurrence of
> > LOCAL_USER_REMOVE, and add the lines just before it as show by this
> > patch extract (ignore the line numbers; I have other mods too):
> >
> > @@ -2065,6 +2106,9 @@
> > close(fds[1]);
> > if (efd > -1)
> > close(efd);
> > + } else {
> > + pbx_builtin_setvar_helper(chan, "AGISTATUS", "NOTFOUND");
> > + res = 0;
> > }
> > LOCAL_USER_REMOVE(u);
> > return res;
> >
> > With this change, a refused connection will not hang up the channel, but
> > instead will set the AGISTATUS variable to "NOTFOUND".
> >
> > Cheers
> > Tony
>
> Nice. Thanks, Tony.
>
> Has this patched been accepted/committed in subsequent releases such as
> a 1.2.17?
No, I have never got around to submitting it.
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users