FXS starts "ringing" immediately when off hook


#1

Hi Everyone,

This is a Zaptel (TDM400) channel that used to work. Evidently I’ve changed something and cannot understand how now, my two FXS fail to work properly.

Enclosed is the log for the whole (off hook, ring, click, busy) cycle.

Oct 10 15:53:04 DEBUG[1333]: Enabled echo cancellation on channel 3 Oct 10 15:53:04 VERBOSE[1333]: -- Executing Macro("Zap/3-1", "hangupcall") in new stack Oct 10 15:53:04 VERBOSE[1333]: -- Executing ResetCDR("Zap/3-1", "w") in new stack Oct 10 15:53:04 DEBUG[1333]: cdr_mysql: inserting a CDR record. Oct 10 15:53:04 DEBUG[1333]: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration ,billsec,disposition,amaflags,accountcode) VALUES ('2005-10-10 15:53:04','','','s','from-internal', 'Zap/3-1','','ResetCDR','w',0,0,'NO ANSWER',3,'') Oct 10 15:53:04 VERBOSE[1333]: -- Executing NoCDR("Zap/3-1", "") in new stack Oct 10 15:53:04 WARNING[1333]: CDR on channel 'Zap/3-1' not posted Oct 10 15:53:04 WARNING[1333]: CDR on channel 'Zap/3-1' lacks end Oct 10 15:53:04 VERBOSE[1333]: -- Executing Wait("Zap/3-1", "5") in new stack Oct 10 15:53:09 VERBOSE[1333]: -- Executing Hangup("Zap/3-1", "") in new stack Oct 10 15:53:09 VERBOSE[1333]: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Zap/3-1' in macro 'hangupcall' Oct 10 15:53:09 VERBOSE[1333]: == Spawn extension (from-internal, s, 1) exited non-zero on 'Zap/3-1' Oct 10 15:53:09 VERBOSE[1333]: -- Executing Macro("Zap/3-1", "hangupcall") in new stack Oct 10 15:53:09 VERBOSE[1333]: -- Executing ResetCDR("Zap/3-1", "w") in new stack Oct 10 15:53:09 VERBOSE[1333]: -- Executing NoCDR("Zap/3-1", "") in new stack Oct 10 15:53:09 VERBOSE[1333]: -- Executing Wait("Zap/3-1", "5") in new stack Oct 10 15:53:15 VERBOSE[1333]: -- Executing Hangup("Zap/3-1", "") in new stack Oct 10 15:53:15 VERBOSE[1333]: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Zap/3-1' in macro 'hangupcall' Oct 10 15:53:15 VERBOSE[1333]: == Spawn extension (from-internal, h, 1) exited non-zero on 'Zap/3-1' Oct 10 15:53:15 DEBUG[1333]: Hangup: channel: 3 index = 0, normal = 17, callwait = -1, thirdcall = -1 Oct 10 15:53:15 DEBUG[1333]: disabled echo cancellation on channel 3 Oct 10 15:53:15 DEBUG[1333]: Set option TDD MODE, value: OFF(0) on Zap/3-1 Oct 10 15:53:15 DEBUG[1333]: Updated conferencing on 3, with 0 conference users Oct 10 15:53:15 VERBOSE[1333]: -- Hungup 'Zap/3-1' Oct 10 15:53:19 DEBUG[1333]: disabled echo cancellation on channel 3

I’d really appreciate some enlightenment on this one!

cheers,
Chris.


#2

I guess the first place you should start is your zapata.conf file.

Can we have a look at it?


#3

Dah! …and then I found it! I think it’s an Rxgain setting that I’d changed and completely forgotten about…

This didn’t have an effect until I rebooted the box completely, which was some days ago.