[Asterisk-Users] Showing Current Calls

Joshua Colp jcolp at digium.com
Thu Jun 22 13:10:12 MST 2006


The first line has (None) as the location because a PBX is not running on it
as it was created by the channel below it using the Dial application. As for
the BridgedCall(SIP/2944079-e7f2) part that's to indicate it's bridged to
that channel. Anything could have been put in that space since no PBX is
running on it, and thus no application... But BridgedCall(channel name) was
done so you would know what it is bridged to.


On 6/22/06 4:50 PM, "Douglas Garstang" <dgarstang at oneeighty.com> wrote:

> Using this as an example:
> 
> hestia*CLI> show channels
> Channel              Location             State   Application(Data)
> SIP/2944093-f9e2     (None)               Up
> BridgedCall(SIP/2944079-e7f2)
> SIP/2944079-e7f2     2944093 at one_start:2  Up      Dial(SIP/2944093|36|tr)
> 
> Why does the first line show bridged call, while the second does not?
> Why is the Location for the first line (None)?
> 
> 
>> -----Original Message-----
>> From: C F [mailto:shmaltz at gmail.com]
>> Sent: Thursday, June 22, 2006 1:23 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: Re: [Asterisk-Users] Showing Current Calls
>> 
>> 
>> Whats wrong with show channels?
>> 
>> On 6/22/06, Douglas Garstang <dgarstang at oneeighty.com> wrote:
>>> 
>>> 
>>> Can someone recommend the best way to view current calls in
>> progress on the
>>> Asterisk console?
>>> Neither the 'show channels' or 'sip show channels' commands
>> are easy to
>>> read.
>>> 
>>> hestia*CLI> show channels
>>> Channel              Location             State   Application(Data)
>>> 
>>> SIP/2944093-f9e2     (None)               Up      Bridged
>>> Call(SIP/2944079-e7f2)
>>> SIP/2944079-e7f2     2944093 at one_start:2  Up
>> Dial(SIP/2944093|36|tr)
>>> 
>>> 2 active channels
>>> 1 active call
>>> 
>>> hestia*CLI>
>>> hestia*CLI> sip show channels
>>> Peer             User/ANR    Call ID      Seq (Tx/Rx)  Form
>>  Hold     Last
>>> Message
>>> xxx.yyy.128.115  (None)      e77bba33-cc  00101/02261  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.110  (None)      739f4603-e8  00101/00778  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.86   (None)      56caad3a-eb  00101/01046  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.115  (None)      91ea0410-60  00101/02262  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.86   (None)      488801e-105  00101/01046  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.86   (None)      c3b27274-ef  00101/01194  unkn
>>  No       Rx:
>>> REGISTER
>>> xxx.yyy.128.77   2944093     2405f1ef74d  00102/00000  ulaw
>>  No       Tx:
>>> ACK
>>> xxx.yyy.128.83   2944079     cf1722ef-cc  00101/00002  ulaw
>>  No       Rx:
>>> ACK
>>> 
>>> Doug.
>>> 
>>> _______________________________________________
>>> --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
>>> 
>>> 
>>> 
>> _______________________________________________
>> --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
>> 
> _______________________________________________
> --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

-- 
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com





More information about the asterisk-users mailing list