bruce bruce
2010-Jul-04 14:40 UTC
[asterisk-users] Anyway to know when a channel is going to hangup if Dial Timeout option is used?
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:
Steve Edwards
2010-Jul-04 16:03 UTC
[asterisk-users] Anyway to know when a channel is going to hangup if Dial Timeout option is used?
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