Hi... I have the next problem.. I have a FXO card with i can make calls but i cant recive calls. At the consol, i get the next error: -- Zap/2-1 is ringing -- Zap/2-1 is ringing -- Zap/2-1 answered Zap/1-1 -- Attempting native bridge of Zap/1-1 and Zap/2-1 WARNING[262160]: File chan_zap.c, Line 2857 (zt_handle_event): Ring/Off-hook in strange state 6 on channel 1 My config files are: ---- zaptel.conf ----- fxsks=1 fxoks=2-3 loadzone = us defaultzone=us --- zapata.conf ----- [channels] relaxdtmf=yes busydetect=yes callprogress=yes callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes usecallerid=yes hidecallerid=no echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=1 pickupgroup=1-2 ;immediate=no context=bell signalling=fxs_ks mailbox=yes ;callerid=asrecive channel=1 context=home group=2 signalling=fxo_ks channel=2-3 callerid="FIJO" <200> channel=3 callerid="INALAMBRICO" <100> channel=2 ---- extensions.conf ---- [dialout] ignorepat => 9 exten => _9.,1,Dial(${PSTN}/${EXTEN:1},120,T) exten => 9,1,Dial(Zap/g1/) exten => 9,2,Congestion Thanks. -------------------------- Alvaro I. Parres Peredo Director de IT Xmarts, Soluciones Inteligentes Bernardo de Balbuena #35 Tel: 36301294 http://www.xmarts.com ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/
Do you have an error about receiving the callerid ? What happens when you pick up the Zap/2 phone ? regards Martin On Thu, 11 Sep 2003, Alvaro Parres wrote:> Hi... > > I have the next problem.. I have a FXO card with i can make calls but i cant > recive calls. > > At the consol, i get the next error: > > -- Zap/2-1 is ringing > -- Zap/2-1 is ringing > -- Zap/2-1 answered Zap/1-1 > -- Attempting native bridge of Zap/1-1 and Zap/2-1 > WARNING[262160]: File chan_zap.c, Line 2857 (zt_handle_event): Ring/Off-hook > in strange state 6 on channel 1 > > My config files are: > > ---- zaptel.conf ----- > fxsks=1 > fxoks=2-3 > loadzone = us > defaultzone=us > > --- zapata.conf ----- > [channels] > relaxdtmf=yes > busydetect=yes > callprogress=yes > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > usecallerid=yes > hidecallerid=no > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > group=1 > pickupgroup=1-2 > ;immediate=no > context=bell > signalling=fxs_ks > mailbox=yes > ;callerid=asrecive > channel=1 > context=home > group=2 > signalling=fxo_ks > channel=2-3 > callerid="FIJO" <200> > channel=3 > callerid="INALAMBRICO" <100> > channel=2 > > ---- extensions.conf ---- > > [dialout] > ignorepat => 9 > exten => _9.,1,Dial(${PSTN}/${EXTEN:1},120,T) > exten => 9,1,Dial(Zap/g1/) > exten => 9,2,Congestion > > Thanks. > > > > > > > -------------------------- > Alvaro I. Parres Peredo > Director de IT > Xmarts, Soluciones Inteligentes > Bernardo de Balbuena #35 > Tel: 36301294 > http://www.xmarts.com > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
This looks similar to a problem I had about 2 weeks ago, more details below..> I have the next problem.. I have a FXO card with i can make > calls but i cant > recive calls.I couldn't do either (reliably)> At the consol, i get the next error: > > -- Zap/2-1 is ringing > -- Zap/2-1 is ringing > -- Zap/2-1 answered Zap/1-1 > -- Attempting native bridge of Zap/1-1 and Zap/2-1 > WARNING[262160]: File chan_zap.c, Line 2857 (zt_handle_event): > Ring/Off-hook > in strange state 6 on channel 1I had something similar to this, but also had other messages saying we had received a ring even though we were off-hook. mark actually logged in and had a brief look, but I got tired and had to go home, and haven't followed it up with him since. One of these days when I go out on-site again, and can wait until 2am to try and catch Mark, I'll follow it up, but it's kinda painful... Regards, Adam
Alvaro, I'm pretty new at this as well, so be carefull with my comments. I just spent many many hours with the opposite of your problem (incoming calls worked fine, could not make an outgoing call for anything. Fixed it now.) In your zapata.conf file you have the following statements: context=bell signalling=fxs_ks mailbox=yes That eseentially says, whenever an incoming calls comes in, * is going to look in the extensions.conf file for a context named "bell". That context (or reference) should look something like: [bell] exten => s,1,Dial(1234,15) where 1234 is a valid extension number where incoming calls should be directed to. Statements after the exten => should address what you'd like to do when extn 1234 is unanswered, busy, etc. Since I typed the above from memory, be sure to check the syntax of the statements. Since it looks like you use John Todd's examples, the above could be rewritten as: [globals] PHONE1=SIP/2203 PHONE2=SIP/2204 [bell] exten => s,1,Dial(${PHONE1}&${PHONE2},15) exten => s,2,Wait,2 exten => s,2,Voicemail,u3000 exten => s,102,Voicemail,b3001 The above says... an incoming call from "bell" will ring both extensions 2203 and 2204, and if the 15 second timeout is reached, wait two seconds, then go to extension 3000's voicemail if "u"nanswered, or to extension 3001's voicemail if "b"usy. Rich ------------------------ From: Alvaro Parres <arabe@xmarts.com> Subject: [Asterisk-Users] PROBLEM RECIVING CALLS AT FXO Date: Thu, 11 Sep 2003 17:23:53 -0500 To: "asterisk-users@lists.digium.com" <asterisk-users@lists.digium.com>> Hi... > > I have the next problem.. I have a FXO card with i can make calls but i cant > recive calls. > > At the consol, i get the next error: > > -- Zap/2-1 is ringing > -- Zap/2-1 is ringing > -- Zap/2-1 answered Zap/1-1 > -- Attempting native bridge of Zap/1-1 and Zap/2-1 > WARNING[262160]: File chan_zap.c, Line 2857 (zt_handle_event): Ring/Off-hook > in strange state 6 on channel 1 > > My config files are: > > ---- zaptel.conf ----- > fxsks=1 > fxoks=2-3 > loadzone = us > defaultzone=us > > --- zapata.conf ----- > [channels] > relaxdtmf=yes > busydetect=yes > callprogress=yes > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > usecallerid=yes > hidecallerid=no > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > group=1 > pickupgroup=1-2 > ;immediate=no > context=bell > signalling=fxs_ks > mailbox=yes > ;callerid=asrecive > channel=1 > context=home > group=2 > signalling=fxo_ks > channel=2-3 > callerid="FIJO" <200> > channel=3 > callerid="INALAMBRICO" <100> > channel=2 > > ---- extensions.conf ---- > > [dialout] > ignorepat => 9 > exten => _9.,1,Dial(${PSTN}/${EXTEN:1},120,T) > exten => 9,1,Dial(Zap/g1/) > exten => 9,2,Congestion > > Thanks. > > > > > > > -------------------------- > Alvaro I. Parres Peredo > Director de IT > Xmarts, Soluciones Inteligentes > Bernardo de Balbuena #35 > Tel: 36301294 > http://www.xmarts.com > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users---------------End of Original Message-----------------