[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-dev
Subject: Re: [asterisk-dev] Variable set by Asterisk in failed estension
From: Robert Kenton <robert.kenton () gmail ! com>
Date: 2010-02-26 16:46:34
Message-ID: 9fb0089c1002260846g4cecdad4h26f111b26e89fe90 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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.
>
>
>
>
>
[Attachment #5 (text/html)]
<br>Ups, sorry, <br>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.<br><br>RK.<br><br><br><div class="gmail_quote">On Fri, Feb 26, 2010 at 11:35 AM, \
Robert Kenton <span dir="ltr"><<a \
href="mailto:robert.kenton@gmail.com">robert.kenton@gmail.com</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list,<br> Reading at \
<a href="http://voip-info.org" target="_blank">voip-info.org</a> 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.<br>
<br>I have been looking at the pbx.c file and didn't find where it is \
set.<br><br>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.<br><br>set_ext_pri(chan, \
"failed", 1);<br>
ast_set_variables(chan, vars);<br><br>And here there is not a REASON varieble \
set.<br><br>May you help me found where is the ${REASON} setting done ?<br><font \
color="#888888"><br>RK.<br><br><br><br><br> </font></blockquote></div><br>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic