Re: [asterisk-users] about 'zap show channels'

2006-09-14 Thread PSPunch

I'm reporting that I've solved a problem to a question
I (believe) got no reply to, hoping it would help others.
Following are my work around on finding which zap channels
are currently on hold from the command line.


Among the results from,
$ asterisk -rx zap show channels [n]

the line Real: seems to indicate if a line is connected to
music on hold by adding the word Linear.
By parsing the text for this keyword, you can check if a zap channel
is on hold or not.


My previous post was to ask why this feature was gone in the new
version, which turned out to be just me failing to setup MOH on the
reinstalled server.

--
David Shimamoto
___
--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


[asterisk-users] about 'zap show channels'

2006-09-12 Thread PSPunch

Hi all.

I've got a question regarding usages with a TDM400.


In results from the command

$ asterisk -rx 'zap show channels [n]'

I've noticed a change that may have been made somewhere between
ver 1.2.9.1 and 1.2.11.

In the older versions, the line Real: seemed to contain the text
'Linear' if the person on the zap channel was on hold.

This feature seems to have been eliminated in 1.2.11.
Now the results of the above command seem identicle no matter the
zap line is put on hold or not.

I used to rely on this fact when checking weather a person on the
zap channel was on hold or not with scripts and am facing some
inconveniences now.


I was hoping someone could give me some input on

1. What the text Linear really meant.
2. If the feature is gone, if so, for what reason.
3. Any other work arounds on checking if a zap channel is currently
   on hold from the command line.


Thank you.


--
David Shimamoto
[EMAIL PROTECTED]
___
--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