[asterisk-users] CLI - displaying all channel variables

Danny Nicholas danny at debsinc.com
Wed May 11 11:26:27 CDT 2011


You should probably use an AGI to get this rather than depending on CLI
commands.  It's possible that you could do a bash AGI and call that from CLI
but that's not something I've dabbled with.

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Paddy Grice
> Sent: Wednesday, May 11, 2011 11:21 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] CLI - displaying all channel variables
> 
> Thanks Danny - That displays "user" created variables - by "user" this
> could
> be application like dial but not the predefined channel variables.
> 
> 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny
> Nicholas
> Sent: 11 May 2011 17:03
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] CLI - displaying all channel variables
> 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> > bounces at lists.digium.com] On Behalf Of Eric Wieling
> > Sent: Wednesday, May 11, 2011 10:55 AM
> > To: paddy at wizaner.com; Asterisk Users Mailing List -Non-Commercial
> > Discussion
> > Subject: Re: [asterisk-users] CLI - displaying all channel variables
> >
> >
> >
> > > -----Original Message-----
> > > From: asterisk-users-bounces at lists.digium.com
> > > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paddy
> > > Grice
> > > Sent: Wednesday, May 11, 2011 11:49 AM
> > > To: asterisk-users at lists.digium.com
> > > Subject: [asterisk-users] CLI - displaying all channel variables
> > >
> > > Hi List
> > >
> > > This may be a silly question by web searches etc don't seem to
> > > answer it.
> > >
> > > Is there a CLI command to display ALL channel variables - standard
> > > and user created - for a specific channel?
> > >
> > > something like show channel SIP/Test123 all
> >
> > The dialplan application DumpChan dumps information about the channel,
> > however, it does not display all the variables you are looking for.
> > Generally you should insert a Noop in the dialplan to examine variables.
> > Noop(EXTEN is ${EXTEN}) for example.
> >
> [Danny Nicholas]
> Try core show channel sip/test123-0000001 - you will probably have to do a
> core show channels first to get the proper -0000001 value.
> 
> 
> 
> 
> --
> _____________________________________________________________________
> -- 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




More information about the asterisk-users mailing list