[asterisk-dev] Re: Zap channel naming is way too confusing

Tony Mountifield tony at softins.clara.co.uk
Thu Feb 23 09:49:08 MST 2006


In article <43FDCBAA.3000108 at fnords.org>,
Eric \"ManxPower\" Wieling <eric at fnords.org> wrote:
> I've never seen these sorts of channel names.  On my systems all I see 
> it Zap/channel-instance
> 
> So something like Zap/23-1 for a call on channel 23.

Looking in channels/chan_zap.c at the function zt_new(), it appears
that the names of form Zap/x:y-z are generated when using PRI trunk groups.
In that case x is the trunkgroup number, y is the normal channel number.

Cheers
Tony

> Edwin Groothuis wrote:
> > I don't believe that nobody else has an opinion about this...
> > 
> > On Mon, Feb 20, 2006 at 01:53:57PM +1100, Edwin Groothuis wrote:
> >> Please look with me to the following output:
> >>
> >> -- Moving call from channel 94 to channel 110
> >> -- Channel 0/17, span 4 got hangup request
> >> Feb 20 13:41:43 WARNING[21081]: chan_zap.c:4789 zt_write: Unable to set linear mode on
> channel 110
> >> -- Zap/4:110-1 is busy
> >> -- Hungup 'Zap/4:110-1'
> >> == Everyone is busy/congested at this time (1:1/0/0)
> >> -- Executing Goto("Zap/31-1", "s-BUSY|1") in new stack
> >> -- Executing NoOp("Zap/31-1", "BYE") in new stack
> >> -- Hungup 'Zap/31-1'
> >> -- Zap/4:111-1 answered SIP/202.83.178.2-09a1dd00
> >> -- Hungup 'Zap/4:97-1'
> >> -- Executing NoOp("SIP/202.83.178.2-09a7a108", "BYE") in new stack
> >> -- Channel 0/1, span 7 got hangup request
> >> -- Hungup 'Zap/187-1'
> >> -- Hungup 'Zap/165-1'
> >>
> >> That is...
> >>
> >> - Channel 0/17, span 4
> >> - Channel 94
> >> - Channel 100
> >> - Zap/4:110
> >> - Zap/31-1
> >> - Zap/4:111
> >>
> >> It would really make live, specially if you're trying to debug
> >> issues, to be able to have one naming for it.
> >>
> >> Personally I think Zap/span:channel is the way to go, because there
> >> you see in a blink of the eye which trunkgroup and which channel
> >> you are talking about.
> >>
> >> So that would have been:
> >>
> >> - Channel 4:17
> >> - Channel 4:1
> >> - Channel 4:7
> >> - Zap/4:17
> >> - Zap/1:31
> >> - Zap/4:18
> >>
> >> What do you think?
> > 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 


-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list