[asterisk-dev] local_indicate ringing on answered channel

Marcus Hunger hunger at sipgate.de
Thu Jul 2 08:21:35 CDT 2009


Can the application handle this correctly? Dial() does not seem to indicate
AST_CONTROL_ANSWER.

On Thu, Jul 2, 2009 at 2:45 PM, Mark Michelson <mmichelson at digium.com>wrote:

> Marcus Hunger wrote:
> > Hi,
> > I wonder if there is a reason why chan_local passes ringing control
> > frames if it's state is up. It could return -1 so ast_indicate would
> > generate inband indication.
> >
> > Regards, Marcus
> It's not really the job of the local channel to decide what's
> appropriate for the "real" channel it is representing to do with the
> ringing indication. By queuing the ringing frame to the other local
> channel (the "owner") on the local_pvt, this gives another application a
> chance to read the frame and use the real channel driver's indicate
> callback to decide what to do.
>
> Mark Michelson
>
> _______________________________________________
> --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
>



-- 
Dipl.-Inf. (FH)
Marcus Hunger - hunger at sipgate.de
Telefon: +49 (0)211-63 55 55-61
Telefax: +49 (0)211-63 55 55-22

sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106 / 5724 / 7147, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.at - www.sipgate.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090702/0fa0c849/attachment.htm 


More information about the asterisk-dev mailing list