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

2010-07-04 Thread bruce bruce
Hi Guys,

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

Thanks,
-- 
_
-- 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

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

2010-07-04 Thread Steve Edwards

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   sedwa...@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

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

2010-07-04 Thread bruce bruce
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 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   sedwa...@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
>
-- 
_
-- 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