All, when I do show channels: Channel Location State Application(Data) SIP/201-e478 (None) Up Bridged Call(IAX2/muncie_to_ge IAX2/muncie_to_georg s@default:7 Up Dial(SIP/201|20) I am getting TRUNCATED call information.... the IAX2/muncie_to_ge is truncated. How do I get the need call information to transfer the call. Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060106/b99b5236/attachment.htm
show channels concise it spits out colon ":" delimited fields with lots of information That was one of the more frustrating changes from 1.0 to 1.2 but in the end it provides much more data. Just beware if you use SIP or IAX trunks that have colons in them, it will throw off the order of the fields after it. I just submitted a patch for that to the bug tracker. http://bugs.digium.com/view.php?id=6086 MATT--- On 1/6/06, Jerry Geis <geisj@pagestation.com> wrote:> All, > > when I do show channels: > > Channel Location State Application(Data) > SIP/201-e478 (None) Up Bridged > Call(IAX2/muncie_to_ge > IAX2/muncie_to_georg s@default:7 Up Dial(SIP/201|20) > > I am getting TRUNCATED call information.... > the IAX2/muncie_to_ge is truncated. How do I > get the need call information to transfer the call. > > Jerry > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Jerry Geis wrote:> I am getting TRUNCATED call information.... > the IAX2/muncie_to_ge is truncated. How do I > get the need call information to transfer the call.'show channels' is used for human-readable output on a console screen. If you need the information in a complete form for some automated purpose, use the manager interface.
Jerry Geis wrote:>/ I am getting TRUNCATED call information..../>/ the IAX2/muncie_to_ge is truncated. How do I />/ get the need call information to transfer the call. />'show channels' is used for human-readable output on a console screen. >If you need the information in a complete form for some automated >purpose, use the manager interface.Kevin can you be more precise? I am using the manager interface and the command "show channels". It is truncating the data. Is there another wayin the manager API I'm not aware of to get this information? jerry
I have a question on this. It isn't readily obvious to me, upon issueing a 'sip show channels' command which call legs are related to which call. For example: *CLI> sip show channels Peer User/ANR Call ID Seq (Tx/Rx) Form Hold Last Message 192.168.10.121 a00090601 29a98b1708f 00102/00000 g729 No Tx: ACK 192.168.10.4 a00090301 c08e095b-c1 00101/00001 g729 No Rx: ACK Apart from the fact it's obvious here because there's one call, how can you determine that these are the same call? The 'show channels' command is a little easier, but still cryptic. It appears that the format isn't standard and interpreting this from a script would be difficult. It would be nice if some identifier was printed. Maybe 'From number' and 'To number' or the call-id for the call. *CLI> show channels Channel Location State Application(Data) SIP/a00090601-14cf (None) Up Bridged Call(SIP/a00090301-403 SIP/a00090301-4033 3250076@Company1:1 Up Dial(SIP/a00090601|20|tr) 2 active channels 1 active call -----Original Message----- From: Kevin P. Fleming [mailto:kpfleming@digium.com] Sent: Friday, January 06, 2006 12:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Problem with show channels Jerry Geis wrote:> Is there another wayin the manager API I'm not aware of to get this > information?No, I was mistaken. Matt Florell's response about using 'show channels concise' is probably the best way to go, since it produces output designed for automated interpretation. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users