Can the application handle this correctly? Dial() does not seem to indicate AST_CONTROL_ANSWER.<br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 2:45 PM, Mark Michelson <span dir="ltr"><<a href="mailto:mmichelson@digium.com">mmichelson@digium.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;"><div class="im">Marcus Hunger wrote:<br>
> Hi,<br>
> I wonder if there is a reason why chan_local passes ringing control<br>
> frames if it's state is up. It could return -1 so ast_indicate would<br>
> generate inband indication.<br>
><br>
> Regards, Marcus<br>
</div>It's not really the job of the local channel to decide what's<br>
appropriate for the "real" channel it is representing to do with the<br>
ringing indication. By queuing the ringing frame to the other local<br>
channel (the "owner") on the local_pvt, this gives another application a<br>
chance to read the frame and use the real channel driver's indicate<br>
callback to decide what to do.<br>
<br>
Mark Michelson<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dipl.-Inf. (FH)<br>Marcus Hunger - <a href="mailto:hunger@sipgate.de">hunger@sipgate.de</a><br>Telefon: +49 (0)211-63 55 55-61<br>Telefax: +49 (0)211-63 55 55-22<br><br>sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf<br>
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois<br>Steuernummer: 106 / 5724 / 7147, Umsatzsteuer-ID: DE219349391<br><br><a href="http://www.sipgate.de">www.sipgate.de</a> - <a href="http://www.sipgate.at">www.sipgate.at</a> - <a href="http://www.sipgate.co.uk">www.sipgate.co.uk</a><br>