[asterisk-users] Anyway to know when a channel is going to hangup if Dial Timeout option is used?

bruce bruce bruceb444 at gmail.com
Sun Jul 4 21:41:42 CDT 2010


Thanks for the input Steve.

I don't have access to that part of the dial. I come into the system from a
different context and that channel is already up. It's for me to identify
that channel and then see when it's EPOCH expiring. Even if I had that
channel Unique ID number, can I find out it's remaining EPOCH time?

Thanks

On Sun, Jul 4, 2010 at 12:03 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:

> On Sun, 4 Jul 2010, bruce bruce wrote:
>
>  I have a channel that is dialed with Timeout option. So, there is definite
>> time to it. Only thing is that I don't have control of that channel. I only
>> know that it's using g729 codec and that there is only one channel that is
>> using g729 at any given time. So, my question is:
>>
>> From within the dialplan is there anyway that I can find out at what EPOCH
>> time or normal time is the above mentioned channel going to hangup (since it
>> has a Timeout option)?
>>
>
> When you make the g729 call, add the absolute timeout interval to EPOCH and
> save it in a global variable.
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100704/ab6e9509/attachment.htm 


More information about the asterisk-users mailing list