Re: [asterisk-users] AMI column widths
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 data. Third, you can have these truncate problems, because that's not intention of CLI. Using proper AMI Actions you will probably achieve your goals https://wiki.asterisk.org/wiki/display/AST/AMI+Actions Regards, On 7 Jul 2017 10:32 pm, "Antony Stone" wrote: Hi. 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. I send the command "sip show channels", and I get back a response along the lines of (* used to protect the innocent...): Peer User/ANR Call ID Format Hold Last MessageExpiry Peer *8.22.*0.340203564 0221e874158bb62 0x4 (ulaw) No Tx: ACKSIPtrunkNu *.1*.19.70 (None) 2021549013484-1 0x0 (nothing)No Rx: OPTIONS *.34.*.208 200101 712173267@192.1 0x4 (ulaw) No Rx: ACK200101 *.1*.19.70 (None) 149831567021051 0x0 (nothing)No Rx: REGISTER So, firstly, the "Call ID" column is clearly truncated, because it should show more than is indicated above, but more importantly for me, the "Peer" column is truncated, and what should show as "SIPtrunkNumber8" is only shown as "SIPtrunkNu". How can I get the full column widths of these items shown in the output? Note that it is not a solution just to say "don't call it 'SIPtrunkNumber8'; call it 'SIPtrunk8' instead", because this name has also been modified slightly to conceal the real name of the trunk, which is actually longer than "SIPtrunkNo8", but still with the most important information at the end. What I'm looking for is how to get the *full* details of all the channels shown. I have checked, and there is no "verbose" option to the "sip show channels" command. Thanks, Antony. -- Ramdisk is not an installation procedure. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk. org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started 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 -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AMI column widths
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, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] AMI column widths
Hi. 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. I send the command "sip show channels", and I get back a response along the lines of (* used to protect the innocent...): Peer User/ANR Call ID Format Hold Last MessageExpiry Peer *8.22.*0.340203564 0221e874158bb62 0x4 (ulaw) No Tx: ACKSIPtrunkNu *.1*.19.70 (None) 2021549013484-1 0x0 (nothing)No Rx: OPTIONS *.34.*.208 200101 712173267@192.1 0x4 (ulaw) No Rx: ACK200101 *.1*.19.70 (None) 149831567021051 0x0 (nothing)No Rx: REGISTER So, firstly, the "Call ID" column is clearly truncated, because it should show more than is indicated above, but more importantly for me, the "Peer" column is truncated, and what should show as "SIPtrunkNumber8" is only shown as "SIPtrunkNu". How can I get the full column widths of these items shown in the output? Note that it is not a solution just to say "don't call it 'SIPtrunkNumber8'; call it 'SIPtrunk8' instead", because this name has also been modified slightly to conceal the real name of the trunk, which is actually longer than "SIPtrunkNo8", but still with the most important information at the end. What I'm looking for is how to get the *full* details of all the channels shown. I have checked, and there is no "verbose" option to the "sip show channels" command. Thanks, Antony. -- Ramdisk is not an installation procedure. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Support for inbound UPDATE request
Hi guys, Could you please let me know whether the latest Asterisk has a support for inbound UPDATE ? In my case, the carrier is sending an UPDATE to change the codec which is replied by 5xx from Asterisk 11.17.1. Thanks. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Core dump still happening
On Fri, Jul 7, 2017, at 11:10 AM, Ryan, Travis wrote: > Ok, so a few years ago, when 13 first came out, I was having a core dump > (crash) issue with asterisk 13. I worked with Josh some and even used my > Digium subscription for support. Never was able to get it fixed at that > time so let it go. Well now I am trying on the same server, after a > completely fresh install of Ubuntu, Asterisk, etc. Some of the config > files are the same. > > Issue years ago and until a fresh install recently, was when a phone > registered with PJSIP, it would crash the server immediately. > > Now, after a fresh install, everything seems fine but I came in this > morning to a crashed server, and a core dump file. Can someone help me > figure out why it's coredumping now? > > I have the core dump and ran the ast_coredumper against it and have the > saved files from the results. I am on Asterisk 13.16.0. I'd suggest filing an issue[1] and providing that information. The backtrace will show why or narrow it down. [1] https://issues.asterisk.org/jira -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Core dump still happening
Ok, so a few years ago, when 13 first came out, I was having a core dump (crash) issue with asterisk 13. I worked with Josh some and even used my Digium subscription for support. Never was able to get it fixed at that time so let it go. Well now I am trying on the same server, after a completely fresh install of Ubuntu, Asterisk, etc. Some of the config files are the same. Issue years ago and until a fresh install recently, was when a phone registered with PJSIP, it would crash the server immediately. Now, after a fresh install, everything seems fine but I came in this morning to a crashed server, and a core dump file. Can someone help me figure out why it's coredumping now? I have the core dump and ran the ast_coredumper against it and have the saved files from the results. I am on Asterisk 13.16.0. Thanks, Travis -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users