Re: [asterisk-users] Discover connected Zap lines

2008-05-23 Thread Vinz486
2008/5/22 C. Chad Wallace [EMAIL PROTECTED]: When it says FXS only, I think it's reasonable to assume that FXO is excluded. FXS is the signalling of FXO cards. I have only FXO cards. -- PicoStreamer - the real WEB live streaming software vinz486.com

Re: [asterisk-users] Discover connected Zap lines

2008-05-21 Thread C. Chad Wallace
At 9:55 PM on 20 May 2008, Vinz486 wrote: 2008/5/17 bilal ghayyad [EMAIL PROTECTED]: So no way to discover the status of FXO if a cable ^^^ Foxtrot X-ray *Oscar* pluged or not? Did you read my previou msg Hookstate

Re: [asterisk-users] Discover connected Zap lines

2008-05-20 Thread Vinz486
2008/5/17 bilal ghayyad [EMAIL PROTECTED]: So no way to discover the status of FXO if a cable pluged or not? Did you read my previou msg Hookstate (FXS only): Offhook --Cable plugged Hookstate (FXS only): Onhook --Cable unplugged -- PicoStreamer - the real WEB live

Re: [asterisk-users] Discover connected Zap lines

2008-05-18 Thread Jay R. Ashworth
On Sun, May 18, 2008 at 07:47:02AM +0300, Tzafrir Cohen wrote: Is that true for *all* makes of card? I know the Sangomas put it in ifconfig, but for pick-it-off-with-SNMP-for-Nagios purposes, that will make my life a lot easier... I don't really think Sangoma can put this in ifconfig for

Re: [asterisk-users] Discover connected Zap lines

2008-05-18 Thread Tzafrir Cohen
On Sun, May 18, 2008 at 11:44:48AM -0400, Jay R. Ashworth wrote: On Sun, May 18, 2008 at 07:47:02AM +0300, Tzafrir Cohen wrote: Is that true for *all* makes of card? I know the Sangomas put it in ifconfig, but for pick-it-off-with-SNMP-for-Nagios purposes, that will make my life a lot

Re: [asterisk-users] Discover connected Zap lines

2008-05-18 Thread Tzafrir Cohen
On Sun, May 18, 2008 at 11:44:48AM -0400, Jay R. Ashworth wrote: On Sun, May 18, 2008 at 07:47:02AM +0300, Tzafrir Cohen wrote: Is that true for *all* makes of card? I know the Sangomas put it in ifconfig, but for pick-it-off-with-SNMP-for-Nagios purposes, that will make my life a lot

Re: [asterisk-users] Discover connected Zap lines

2008-05-17 Thread bilal ghayyad
So no way to discover the status of FXO if a cable pluged or not? Regards Bilal - 2008/5/2 Tzafrir Cohen [EMAIL PROTECTED]: On Fri, May 02, 2008 at 09:06:01AM +0200, Vinz486 wrote: 2008/4/30 Tzafrir Cohen [EMAIL PROTECTED]: On Wed, Apr 30, 2008 at 09:07:48PM +0200,

Re: [asterisk-users] Discover connected Zap lines

2008-05-17 Thread Tzafrir Cohen
On Sat, May 17, 2008 at 05:00:43AM -0700, bilal ghayyad wrote: So no way to discover the status of FXO if a cable pluged or not? What specific card do you use? What version of Zaptel? Did you actually read my message you were responding to? -- Tzafrir Cohen icq#16849755

[asterisk-users] Discover connected Zap lines

2008-05-17 Thread bilal ghayyad
Hi Cohen; I am using TDM22 (2 fxo and 2 fxs) digium card. I am using zaptel 1.4.10.1 I readed, but not sure if readed all, as alot of messages were going and coming. Can u help? Regadrs Bilal -- On Sat, May 17, 2008 at 05:00:43AM -0700, bilal ghayyad wrote: So no way to

Re: [asterisk-users] Discover connected Zap lines

2008-05-17 Thread Tzafrir Cohen
On Sat, May 17, 2008 at 11:56:47AM -0700, bilal ghayyad wrote: Hi Cohen; I am using TDM22 (2 fxo and 2 fxs) digium card. I am using zaptel 1.4.10.1 I readed, but not sure if readed all, as alot of messages were going and coming. Can u help? You should see (RED) in /proc/zaptel/1 for

Re: [asterisk-users] Discover connected Zap lines

2008-05-17 Thread Jay R. Ashworth
On Sun, May 18, 2008 at 01:52:03AM +0300, Tzafrir Cohen wrote: You should see (RED) in /proc/zaptel/1 for the channel if it is disconnected. Not to mention that the channel will be in alarm (InAlarm in zap show channel NNN). Is that true for *all* makes of card? I know the Sangomas put it in

Re: [asterisk-users] Discover connected Zap lines

2008-05-17 Thread Tzafrir Cohen
On Sun, May 18, 2008 at 12:35:39AM -0400, Jay R. Ashworth wrote: On Sun, May 18, 2008 at 01:52:03AM +0300, Tzafrir Cohen wrote: You should see (RED) in /proc/zaptel/1 for the channel if it is disconnected. Not to mention that the channel will be in alarm (InAlarm in zap show channel NNN).

Re: [asterisk-users] Discover connected Zap lines

2008-05-12 Thread Vinz486
2008/5/2 Tzafrir Cohen [EMAIL PROTECTED]: On Fri, May 02, 2008 at 09:06:01AM +0200, Vinz486 wrote: 2008/4/30 Tzafrir Cohen [EMAIL PROTECTED]: On Wed, Apr 30, 2008 at 09:07:48PM +0200, Vinz486 wrote:

Re: [asterisk-users] Discover connected Zap lines

2008-05-12 Thread Olivier
So, do you mean that if : 1. Asterisk server boots, 2. A cable from telco analog line is plugged in and out in every FXO port 3. Analog lines (from Telco) are plugged into definitive FXO ports 4. Then, any query to InAlarm field would tell if a cable is plugged or not ?

Re: [asterisk-users] Discover connected Zap lines

2008-05-12 Thread Vinz486
2008/5/12 Olivier [EMAIL PROTECTED]: So, do you mean that if : 1. Asterisk server boots, 2. A cable from telco analog line is plugged in and out in every FXO port 3. Analog lines (from Telco) are plugged into definitive FXO ports 4. Then, any query to InAlarm field would tell if a cable is

Re: [asterisk-users] Discover connected Zap lines

2008-05-02 Thread Vinz486
2008/4/30 Tzafrir Cohen [EMAIL PROTECTED]: On Wed, Apr 30, 2008 at 09:07:48PM +0200, Vinz486 wrote: So a quick look at /proc/zaptel/1 will show you that the channel is RED (yes, there are also channel alarms for that in latest Zaptel versions). Bad news: I have 1 line plugged on port 3

Re: [asterisk-users] Discover connected Zap lines

2008-05-02 Thread Tzafrir Cohen
On Fri, May 02, 2008 at 09:06:01AM +0200, Vinz486 wrote: 2008/4/30 Tzafrir Cohen [EMAIL PROTECTED]: On Wed, Apr 30, 2008 at 09:07:48PM +0200, Vinz486 wrote: So a quick look at /proc/zaptel/1 will show you that the channel is RED (yes, there are also channel alarms for that in latest

Re: [asterisk-users] Discover connected Zap lines

2008-04-30 Thread Tzafrir Cohen
On Wed, Apr 30, 2008 at 09:07:48PM +0200, Vinz486 wrote: Hi, i have 2 FXO ports on my host (Asterisk 1.4 on Debian).. In the production env i will not know if will be analog cable plugged in port 1, 2 or both. How can i discover this programmatically? I see NOTICE messages on CLI upon

Re: [asterisk-users] Discover connected Zap lines

2008-04-30 Thread Vinz486
2008/4/30 Tzafrir Cohen [EMAIL PROTECTED]: So a quick look at /proc/zaptel/1 will show you that the channel is RED (yes, there are also channel alarms for that in latest Zaptel versions). Thanks!!! Never got in mind to look in /proc. I use a TDM400P. I will test tomorrow. Next, I need same

Re: [asterisk-users] Discover connected Zap lines

2008-04-30 Thread Andreas van dem Helge
in the CLI you can issue the command zap show status e.g.: pbxserver-doral*CLI zap show status Description Alarms IRQbpviol CRC4 Wildcard X101P Board 1 RED0 0 0 In this case the phone line is unplugged and

Re: [asterisk-users] Discover connected Zap lines

2008-04-30 Thread Tzafrir Cohen
On Wed, Apr 30, 2008 at 07:34:08PM -0400, Andreas van dem Helge wrote: in the CLI you can issue the command zap show status e.g.: pbxserver-doral*CLI zap show status Description Alarms IRQbpviol CRC4 Wildcard X101P Board 1