[asterisk-users] POTS(FXO) line getting Red alarm after first ring(5 or 6 seconds)

Danny Dias ing.diasdanny at gmail.com
Fri Apr 27 03:25:24 CDT 2012


Btw, red alarms means phisical problems....check cable first.
El 27/04/2012 10:23, "Danny Dias" <ing.diasdanny at gmail.com> escribió:

> Did you asked OpenVOX for support?
> El 27/04/2012 01:48, "John Millican" <john at millican.us> escribió:
>
>> Hello,
>> I have an OpenVox A400E02 (2FXO) in a box running Debian 6.0.2 running
>> Asterisk 1.8.6.0.  I have to POTS line on it from Verizon in Virginia, USA.
>>  Whenever I place a call to one of the two lines I get a red alam and then
>> it clears and repeats this till I hang up.  There is no caller ID on the
>> Line (boss won't pay for it).
>> Any help is most appreciated.
>> TIA,
>> JohnM
>>
>> lspci relevent output:
>> 08:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
>> interface
>>
>> cat /proc/interrupts:
>> 19:      54390 1286431613   IO-APIC-fasteoi   wctdm
>> (no shared interupts)
>>
>> dahdi show channels
>>   Chan Extension  Context         Language   MOH Interpret        Blocked
>>    State
>>  pseudo            default                    default
>>     In Service
>>      1            altrurstn                  default
>>     In Service
>>      2            altrurstn                  default
>>     In Service
>>
>> PBX1:/home/jmillican# dahdi_cfg -vvv
>> DAHDI Tools Version - 2.5.0.1
>>
>> DAHDI Version: 2.5.0.1
>> Echo Canceller(s): HWEC, MG2
>> Configuration
>> ======================
>>
>> Channel map:
>>
>> Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
>> Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
>>
>> 2 channels to configure.
>>
>> Setting echocan for channel 1 to mg2
>> Setting echocan for channel 2 to mg2
>>
>>
>> in chan_dahdi.conf
>> [channels]
>> context=altrurstn
>> signalling=fxs_ks
>> rxwink=300
>> usecallerid=yes
>> hidecallerid=no
>> callwaiting=yes
>> usecallingpres=yes
>> callwaitingcallerid=yes
>> threewaycalling=yes
>> transfer=yes
>> canpark=yes
>> cancallforward=yes
>> callreturn=yes
>> echocancel=yes
>> echocancelwhenbridged=no
>> faxdetect=incoming
>> echotraining=800
>> rxgain=0.0
>> txgain=0.0
>> callgroup=1
>> pickupgroup=1
>>
>> immediate=no
>>
>> #include dahdi_additional.conf
>> #include dahdi-channels.conf
>>
>> in dahdi-channels.conf
>> ; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
>> ;;; line="1 WCTDM/4/0"
>> signalling=fxs_ks
>> callerid=asreceived
>> group=0
>> context=altrurstn
>> channel => 1
>> callerid=
>> group=
>> context=altrurstn
>>
>> ;;; line="2 WCTDM/4/1"
>> signalling=fxs_ks
>> callerid=asreceived
>> group=0
>> context=altrurstn
>> channel => 2
>> callerid=
>> group=
>> context=altrurstn
>>
>> /etc/dahdi/modules loads only wctdm.
>>
>> /etc/dahdi/system.conf:
>> fxsks=1
>> echocanceller=mg2,1
>> fxsks=2
>> echocanceller=mg2,2
>>
>> Relevent Extensions.conf:
>> [altrurstn-in]
>>
>> exten => s,1,Wait(1);
>> exten => s,n,Set(CDR(accountcode)=**fromoustide)
>> exten => s,n,Set(CDR(userfield)=POTS-${**EXTEN})
>> exten => s,n,GoTo(999,1);
>>
>> exten => 999,1,Answer();
>> exten => 999,n,NoOp(${CALLERID(all)});
>> exten => 999,n,wait(1);
>> exten => 999,n,Set(foo=0);
>> exten => 999,n,Set(count=0);
>> exten => 999,n,Read(foo,0001&0002,4,,,**2);
>> exten => 999,n,GoToIf($["${foo}"="9"]?**directory);
>> exten => 999,n,GoToIf($["${foo}"="0"]?**oper)
>> exten => 999,n,GoToIf($["${LEN(${foo})}**" <
>> "4"]?restart:altrurstn,${foo},**1);
>> exten => 999,n(restart),Set(COUNT=$[${**COUNT} + 1]);
>> exten => 999,n,NoOp(${COUNT});
>> exten => 999,n,GoToIf($["${COUNT}" > "1"]?oper:continue);
>> exten => 999,n(continue),Read(foo,0002,**4,,,2);
>> exten => 999,n,GoToIf($["${foo}"="9"]?**directory);
>> exten => 999,n,GoToIf($["${foo}"="0"]?**oper)
>> exten => 999,n,GoToIf($["${LEN(${foo})}**"<"4"]?restart:altrurstn,${**
>> foo},1);
>> exten => 999,n(oper),GoTo(0,1);
>> exten => 999,n(directory),Directory(**default,altrurstn,p(500));
>> exten => 999,n,Hangup();
>>
>> What I get in the CLI:
>> [Apr 26 19:26:53]     -- Starting simple switch on 'DAHDI/1-1'
>> [Apr 26 19:26:53]     -- Executing [s at altrurstn-in:1] Wait("DAHDI/1-1",
>> "1") in new stack
>> [Apr 26 19:26:54]     -- Executing [s at altrurstn-in:2] Set("DAHDI/1-1",
>> "CDR(accountcode)=fromoustide"**) in new stack
>> [Apr 26 19:26:54]     -- Executing [s at altrurstn-in:3] Set("DAHDI/1-1",
>> "CDR(userfield)=POTS-s") in new stack
>> [Apr 26 19:26:54]     -- Executing [s at altrurstn-in:4] Goto("DAHDI/1-1",
>> "999,1") in new stack
>> [Apr 26 19:26:54]     -- Goto (altrurstn-in,999,1)
>> [Apr 26 19:26:54]     -- Executing [999 at altrurstn-in:1]
>> Answer("DAHDI/1-1", "") in new stack
>> [Apr 26 19:26:54]     -- Executing [999 at altrurstn-in:2]
>> NoOp("DAHDI/1-1", """ <>") in new stack
>> [Apr 26 19:26:54]     -- Executing [999 at altrurstn-in:3]
>> Wait("DAHDI/1-1", "1") in new stack
>> [Apr 26 19:26:55] WARNING[11189]: chan_dahdi.c:7728 handle_alarms:
>> Detected alarm on channel 1: Red Alarm
>> [Apr 26 19:26:55]   == Spawn extension (altrurstn-in, 999, 3) exited
>> non-zero on 'DAHDI/1-1'
>> [Apr 26 19:26:55]     -- Hanging up on 'DAHDI/1-1'
>> [Apr 26 19:26:55]     -- Hungup 'DAHDI/1-1'
>> [Apr 26 19:26:58] NOTICE[11159]: sig_analog.c:3709
>> analog_handle_init_event: Alarm cleared on channel 1
>> [Apr 26 19:26:59]     -- Starting simple switch on 'DAHDI/1-1'
>> [Apr 26 19:26:59]     -- Executing [s at altrurstn-in:1] Wait("DAHDI/1-1",
>> "1") in new stack
>> [Apr 26 19:27:00]     -- Executing [s at altrurstn-in:2] Set("DAHDI/1-1",
>> "CDR(accountcode)=fromoustide"**) in new stack
>> [Apr 26 19:27:00]     -- Executing [s at altrurstn-in:3] Set("DAHDI/1-1",
>> "CDR(userfield)=POTS-s") in new stack
>> [Apr 26 19:27:00]     -- Executing [s at altrurstn-in:4] Goto("DAHDI/1-1",
>> "999,1") in new stack
>> [Apr 26 19:27:00]     -- Goto (altrurstn-in,999,1)
>> [Apr 26 19:27:00]     -- Executing [999 at altrurstn-in:1]
>> Answer("DAHDI/1-1", "") in new stack
>> [Apr 26 19:27:00]     -- Executing [999 at altrurstn-in:2]
>> NoOp("DAHDI/1-1", """ <>") in new stack
>> [Apr 26 19:27:00]     -- Executing [999 at altrurstn-in:3]
>> Wait("DAHDI/1-1", "1") in new stack
>> [Apr 26 19:27:01] WARNING[11190]: chan_dahdi.c:7728 handle_alarms:
>> Detected alarm on channel 1: Red Alarm
>> [Apr 26 19:27:01]   == Spawn extension (altrurstn-in, 999, 3) exited
>> non-zero on 'DAHDI/1-1'
>> [Apr 26 19:27:01]     -- Hanging up on 'DAHDI/1-1'
>> [Apr 26 19:27:01]     -- Hungup 'DAHDI/1-1'
>> [Apr 26 19:27:04] NOTICE[11159]: sig_analog.c:3709
>> analog_handle_init_event: Alarm cleared on channel 1
>> [Apr 26 19:27:04]     -- Starting simple switch on 'DAHDI/1-1'
>>                                    (This is where I hang up the call)
>> [Apr 26 19:27:04]     -- Executing [s at altrurstn-in:1] Wait("DAHDI/1-1",
>> "1") in new stack
>> [Apr 26 19:27:05]     -- Executing [s at altrurstn-in:2] Set("DAHDI/1-1",
>> "CDR(accountcode)=fromoustide"**) in new stack
>> [Apr 26 19:27:05]     -- Executing [s at altrurstn-in:3] Set("DAHDI/1-1",
>> "CDR(userfield)=POTS-s") in new stack
>> [Apr 26 19:27:05]     -- Executing [s at altrurstn-in:4] Goto("DAHDI/1-1",
>> "999,1") in new stack
>> [Apr 26 19:27:05]     -- Goto (altrurstn-in,999,1)
>> [Apr 26 19:27:05]     -- Executing [999 at altrurstn-in:1]
>> Answer("DAHDI/1-1", "") in new stack
>> [Apr 26 19:27:05]     -- Executing [999 at altrurstn-in:2]
>> NoOp("DAHDI/1-1", """ <>") in new stack
>> [Apr 26 19:27:05]     -- Executing [999 at altrurstn-in:3]
>> Wait("DAHDI/1-1", "1") in new stack
>> [Apr 26 19:27:06]     -- Executing [999 at altrurstn-in:4] Set("DAHDI/1-1",
>> "foo=0") in new stack
>> [Apr 26 19:27:06]     -- Executing [999 at altrurstn-in:5] Set("DAHDI/1-1",
>> "count=0") in new stack
>> [Apr 26 19:27:06]     -- Executing [999 at altrurstn-in:6]
>> Read("DAHDI/1-1", "foo,0001&0002,4,,,2") in new stack
>> [Apr 26 19:27:06]     -- Accepting a maximum of 4 digits.
>> [Apr 26 19:27:06]     -- <DAHDI/1-1> Playing '0001.gsm' (language 'en')
>> [Apr 26 19:27:09]     -- <DAHDI/1-1> Playing '0002.gsm' (language 'en')
>> [Apr 26 19:27:17]     -- User entered nothing.
>>
>>
>> --
>> ______________________________**______________________________**_________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>              http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120427/af30e686/attachment-0001.htm>


More information about the asterisk-users mailing list