Hello,<br><br>I would like to suggest an extension in the management of the failures cases for the auto dialout.<br><br>Now if we use the outgoing calls queue and we encounter any problems with the call (not answered, busy, congestion...) the extension 'failed' is executed if defined without possible further control of
the failure reason. <br><br>This is a special need for a vocal service I am building. I use an Dialogic Diva analog card<br>and I would like to control the state of line after the call attempt. In this case, it is not possible
<br>to use the Asterisk internal variables to know the line state.<br><br>I found the part of the code which should be modified: <br>the function is ast_pbx_outgoing_exten. It should be necessary to change the part<br>which looks for the 'failed' extension and add another optional extensions ('busy', 'notanswered'...). The idea is to use the 'res' variable to define which extensions we
<br>want to execute. Of course, this should be backward compatible by keeping the global<br>'failed' extension.<br><br>If the modification seems you interesting and correct, I´ll need to know which<br>error extensions I´ll need to cover (busy, congestion, not answered... other?)
<br>and which values the 'res' variable could contain.<br><br>Regards<br><br>-- <br>SOILEN Sébastien<br><a href="mailto:sebastien@soilen.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sebastien@soilen.net
</a><br><br>