<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>