[asterisk-users] Anyway to know when a channel is going to hangup if Dial Timeout option is used?
Steve Edwards
asterisk.org at sedwards.com
Sun Jul 4 11:03:45 CDT 2010
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
More information about the asterisk-users
mailing list