Re: [asterisk-users] end a call after a specific time period

2011-02-01 Thread ABBAS SHAKEEL
exten = _9944NX,1,Answer() exten = _9944NX,2,Noop(GOING FOR THE AGI) exten = _9944NX,3,Noop(XX) exten = _9944NX,4,Noop() exten = _9944NX,5,AGI(//Some script here it works perfectly fine) exten = _9944NX,6,Noop(AGI

Re: [asterisk-users] end a call after a specific time period

2011-01-31 Thread ABBAS SHAKEEL
Thanks you @ Godson Gera , @Sherwood McGowan , @ CF Thank you for mentioning. I have tried all the options (excluding AMI) but in vain. Let me show you what happens When the call starts core show channels shows me Channel Location State Application(Data)

Re: [asterisk-users] end a call after a specific time period

2011-01-31 Thread C F
Channel              Location             State   Application(Data) SIP/NTT00-   99449046902115@vicid Down    AppDial((Outgoing Line)) Local/99449046902115 99449046902115@defau Up       Dial(SIP/NTT00/449046902115||o Local/99449046902115 8302@default:2       Up      Playback(conf)

[asterisk-users] end a call after a specific time period

2011-01-23 Thread ABBAS SHAKEEL
Hello all, I am trying to end a call after a specific time period for that reason i have tried various options like using S, L in the dial command. But in vain. Now i am thinking to end the call using the AMI... but i am unable to get the current active channel. . i.e SIP/NT000 when i ask for

Re: [asterisk-users] end a call after a specific time period

2011-01-23 Thread Sherwood McGowan
On Sun, Jan 23, 2011 at 1:04 PM, ABBAS SHAKEEL shakeel.abbas@gmail.com wrote: Hello all, I am trying to end a call after a specific time period for that reason i have tried various options like using S, L in the dial command. But in vain. Now i am thinking to end the call using the AMI...

Re: [asterisk-users] end a call after a specific time period

2011-01-23 Thread ABBAS SHAKEEL
Thank you very much for the prompt response. I also tried this i.e in beginning i used Noop(${CHANNEL}) to get channel name but it display some thing like (Local/99449051010033@default-8307,2 But i was expecting some thing like SIP/NT000 I spend alot of time on it but still in vain On Sun,

Re: [asterisk-users] end a call after a specific time period

2011-01-23 Thread Godson Gera
Asterisk creates various channel names based on the situation, like the way call is invoked , if you are seeing the Local channel then call is actually invoked through Local channel driver . As I don't know whats your exact setup is and why you are expecting to see a SIP channel driver in channel

Re: [asterisk-users] end a call after a specific time period

2011-01-23 Thread Sherwood McGowan
Well, if you are using local channels, that's what you'd get. You would only get a SIP channel name if it was a sip channel Sent from my iPhone On Jan 23, 2011, at 1:19 PM, ABBAS SHAKEEL shakeel.abbas@gmail.com wrote: Thank you very much for the prompt response. I also tried this i.e

Re: [asterisk-users] end a call after a specific time period

2011-01-23 Thread C F
I believe absolute timeout will do that. http://www.voip-info.org/wiki/view/Asterisk+func+timeout On Sun, Jan 23, 2011 at 2:04 PM, ABBAS SHAKEEL shakeel.abbas@gmail.com wrote: Hello all, I am trying to end a call after a specific time period for that reason i have tried various options