I am trying to find out if there is a way to determine whether an on-hook phone is connected to an FXS port?
go into the fxs interface and issue "test line"
see below for sample output. I have phone hooked up to 0/2 and no phone on 0/3. You see that 2 passed and 3 failed for the RInger test. And you can compare other results also.
Tiger(config-fxs 0/2)#test line
2018.09.20 12:39:41 FXS.0/2 Initiating Test.
2018.09.20 12:39:41 FXS.0/2 Line Test in progress...
Tiger(config-fxs 0/2)#
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2 HPT Pass Loop Impedance
2018.09.20 12:39:50 FXS.0/2 FEMF Pass Tip-Ring 8934956.00 Ohms
2018.09.20 12:39:50 FXS.0/2 RFT Pass Tip-Ground 5305863.50 Ohms
2018.09.20 12:39:50 FXS.0/2 Ringer Pass Ring-Ground 100000000.00 Ohms
2018.09.20 12:39:50 FXS.0/2 ROH Pass REN 0.87 REN
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2 Foreign Voltage
2018.09.20 12:39:50 FXS.0/2 Tip-Ground (ac) 0.00 Volts
2018.09.20 12:39:50 FXS.0/2 Ring-Ground (ac) 0.00 Volts
2018.09.20 12:39:50 FXS.0/2 Tip-Ground (dc) 0.22 Volts
2018.09.20 12:39:50 FXS.0/2 Ring-Ground (dc) -0.04 Volts
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:52 FXS.0/2 Restoring service state.
2018.09.20 12:39:52 FXS.0/2 Test complete.
Tiger(config-fxs 0/2)#int fxs 0/3
Tiger(config-fxs 0/3)#test line
2018.09.20 12:40:03 FXS.0/3 Initiating Test.
2018.09.20 12:40:03 FXS.0/3 Line Test in progress...
Tiger(config-fxs 0/3)#
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3 HPT Pass Loop Impedance
2018.09.20 12:40:11 FXS.0/3 FEMF Pass Tip-Ring 26026618.00 Ohms
2018.09.20 12:40:11 FXS.0/3 RFT Pass Tip-Ground 5210722.00 Ohms
2018.09.20 12:40:11 FXS.0/3 Ringer Fail Ring-Ground 8447744.00 Ohms
2018.09.20 12:40:11 FXS.0/3 ROH Pass REN 0.00 REN
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3 Foreign Voltage
2018.09.20 12:40:11 FXS.0/3 Tip-Ground (ac) 0.00 Volts
2018.09.20 12:40:11 FXS.0/3 Ring-Ground (ac) 0.00 Volts
2018.09.20 12:40:11 FXS.0/3 Tip-Ground (dc) 0.13 Volts
2018.09.20 12:40:11 FXS.0/3 Ring-Ground (dc) 0.11 Volts
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:13 FXS.0/3 Restoring service state.
2018.09.20 12:40:13 FXS.0/3 Test complete.
Tiger(config-fxs 0/3)#
go into the fxs interface and issue "test line"
see below for sample output. I have phone hooked up to 0/2 and no phone on 0/3. You see that 2 passed and 3 failed for the RInger test. And you can compare other results also.
Tiger(config-fxs 0/2)#test line
2018.09.20 12:39:41 FXS.0/2 Initiating Test.
2018.09.20 12:39:41 FXS.0/2 Line Test in progress...
Tiger(config-fxs 0/2)#
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2 HPT Pass Loop Impedance
2018.09.20 12:39:50 FXS.0/2 FEMF Pass Tip-Ring 8934956.00 Ohms
2018.09.20 12:39:50 FXS.0/2 RFT Pass Tip-Ground 5305863.50 Ohms
2018.09.20 12:39:50 FXS.0/2 Ringer Pass Ring-Ground 100000000.00 Ohms
2018.09.20 12:39:50 FXS.0/2 ROH Pass REN 0.87 REN
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2 Foreign Voltage
2018.09.20 12:39:50 FXS.0/2 Tip-Ground (ac) 0.00 Volts
2018.09.20 12:39:50 FXS.0/2 Ring-Ground (ac) 0.00 Volts
2018.09.20 12:39:50 FXS.0/2 Tip-Ground (dc) 0.22 Volts
2018.09.20 12:39:50 FXS.0/2 Ring-Ground (dc) -0.04 Volts
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:50 FXS.0/2
2018.09.20 12:39:52 FXS.0/2 Restoring service state.
2018.09.20 12:39:52 FXS.0/2 Test complete.
Tiger(config-fxs 0/2)#int fxs 0/3
Tiger(config-fxs 0/3)#test line
2018.09.20 12:40:03 FXS.0/3 Initiating Test.
2018.09.20 12:40:03 FXS.0/3 Line Test in progress...
Tiger(config-fxs 0/3)#
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3 HPT Pass Loop Impedance
2018.09.20 12:40:11 FXS.0/3 FEMF Pass Tip-Ring 26026618.00 Ohms
2018.09.20 12:40:11 FXS.0/3 RFT Pass Tip-Ground 5210722.00 Ohms
2018.09.20 12:40:11 FXS.0/3 Ringer Fail Ring-Ground 8447744.00 Ohms
2018.09.20 12:40:11 FXS.0/3 ROH Pass REN 0.00 REN
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3 Foreign Voltage
2018.09.20 12:40:11 FXS.0/3 Tip-Ground (ac) 0.00 Volts
2018.09.20 12:40:11 FXS.0/3 Ring-Ground (ac) 0.00 Volts
2018.09.20 12:40:11 FXS.0/3 Tip-Ground (dc) 0.13 Volts
2018.09.20 12:40:11 FXS.0/3 Ring-Ground (dc) 0.11 Volts
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:11 FXS.0/3
2018.09.20 12:40:13 FXS.0/3 Restoring service state.
2018.09.20 12:40:13 FXS.0/3 Test complete.
Tiger(config-fxs 0/3)#
Very nice! Do you know when that command was added? Not seeing it on an older software rev.
Thanks,
Rob
based on command reference guide, it has been there a very long time, since Release A4.01
OK - I'll have to hunt around a bit - getting this on 11.10.1 -
CE-A908-GlobalAuto(config-fxs 0/7)#test
battery - Provide Battery on 2-wire interface
reverse-battery - Reverse Battery on 2-wire interface
ringing - Set 2-wire interface to Ringing
tip-open - Set 2-wire interface to Tip-Open
tone - Enable 1kHz test tone
CE-A908-GlobalAuto(config-fxs 0/7)#test line
% Unrecognized command
hmm,
Looks like you might have a 2nd gen TA 900e.
I was on a 3rd gen. I went into a 2nd gen and it didn't have the test line command either.
Not sure of another way to test remotely. You can do test ringing but someone would have to be there to hear phone ringing.
-Mark
Yes, 2nd gen . . . guess that gives a good reason to upgrade, at least for this application.
Thanks again for the quick reply!