Re: [asterisk-users] AMI column widths

2017-07-08 Thread Marcelo Terres
You are using AMI to run CLI commands and that's the problem. Try to use the equivalent AMI actions to get the information that you want. My suggestion : get all channels in use (CoreShowChannels) and then filter just the SIP, since there is not an action to do exactly what you need. On 8 Jul

Re: [asterisk-users] AMI column widths

2017-07-08 Thread Antony Stone
On Saturday 08 July 2017 at 10:16:19, Antony Stone wrote: > On Saturday 08 July 2017 at 07:15:08, Marcelo Terres wrote: > > There are no sip show channels on AMI. Also, the output that you sent is > > not a AMI output. Are u using AMI ou running commands on console? > > I'm using AMI. > > I

Re: [asterisk-users] AMI column widths

2017-07-08 Thread Antony Stone
On Saturday 08 July 2017 at 07:15:08, Marcelo Terres wrote: > There are no sip show channels on AMI. Also, the output that you sent is > not a AMI output. Are u using AMI ou running commands on console? I'm using AMI. I have a connection to the Asterisk server on port 5038, initated with:

Re: [asterisk-users] AMI column widths

2017-07-07 Thread Marcelo Terres
There are no sip show channels on AMI. Also, the output that you sent is not a AMI output. Are u using AMI ou running commands on console? Running commands on console and parsing the output is the worst way to obtain data, first because it is not easily parseable. Second, it doesn't show you all

Re: [asterisk-users] AMI column widths

2017-07-07 Thread Steve Edwards
On Fri, 7 Jul 2017, Antony Stone wrote: I'm trying to get a list of the channels currently in use on an Asterisk server (1.8.32.1 if it matters) over AMI. Would the AMI 'CoreShowChannel' or the CLI 'core show channels concise' commands help? -- Thanks in advance,