[asterisk-dev] Variable set by Asterisk in failed estension

Robert Kenton robert.kenton at gmail.com
Fri Feb 26 10:46:34 CST 2010


Ups, sorry,
Forget my previous email, I was looking at another asterisk version at the
same time and it confused me. I already found. Sorry for bothering you.

RK.


On Fri, Feb 26, 2010 at 11:35 AM, Robert Kenton <robert.kenton at gmail.com>wrote:

> Hi list,
>    Reading at voip-info.org I found a statement that say "The ${REASON}
> variable is set by Asterisk when it enters the special Failed extension"
> This is using the .call file for outgoing calls.
>
> I have been looking at the pbx.c file and didn't find where it is set.
>
> I'm looking at asterisk-1.4.29.1 and found the only place where is set a
> variable is on line 5107 of pbx.c like this.
>
> set_ext_pri(chan, "failed", 1);
> ast_set_variables(chan, vars);
>
> And here there is not a REASON varieble set.
>
> May you help me found where is the ${REASON} setting done ?
>
> RK.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100226/c4148d0a/attachment.htm 


More information about the asterisk-dev mailing list