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 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, Jan 23, 2011 at 10:14 PM, Sherwood McGowan 
> <sherwood.mcgo...@gmail.com> wrote:
> 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... 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
> >
> 
> 
> Easy solution is to store the channel name in a variable for later
> use, use ${CHANNEL} to get the channel name
> 
> --
> _____________________________________________________________________
> -- 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
--
_____________________________________________________________________
-- 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

Reply via email to