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) SIP/NTT00-00000000 99449046902115@vicid Down AppDial((Outgoing Line)) Local/99449046902115 99449046902115@defau Up Dial(SIP/NTT00/449046902115||o Local/99449046902115 8302@default:2 Up Playback(conf) After a few seconds it shows 0*CLI> core show channels Channel Location State Application(Data) SIP/NTT00-00000000 8302@default:2 Up Playback(conf) 1 active channel 1 active call Now the conf file is not that long that it keeps on playing. I dont know what else to use to end the call. On Mon, Jan 24, 2011 at 1:35 AM, C F <shma...@gmail.com> wrote: > 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 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 getchannel it return some thing like >> this Channel=Local/99449070380109@default-f08b,2 >> As i have to use this channel name for hangup... Could some one let me know >> how to get channel name.... or any other way to end call.. >> Thanks in advance >> >> -- >> Best Regards >> Shakeel Abbas >> >> >> -- >> _____________________________________________________________________ >> -- 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 > -- Best Regards Shakeel Abbas -- _____________________________________________________________________ -- 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