[Asterisk-Users] FXO "Starting simple switch" after hanging up
Brad Bergman
bradley at bergman.ca
Sun Jun 22 12:09:07 MST 2003
On Sat, 21 Jun 2003, Ask Bjørn Hansen wrote:
>
> On Saturday, May 17, 2003, at 13:59 America/Los_Angeles, Brad Bergman
> wrote:
>
> > I'm having trouble with incoming calls that start to ring again a few
> > seconds after the local user hangs up. I get "Starting simple switch"
> > on
> > the FXO port, so it's not just a matter of mistakingly initiating a
> > 3-way
> > call on hang up or something. Picking up the ringing telephone will
> > get a
> > CO dialtone. This happens, say, 50% of the time for incoming calls,
> > never
> > for outgoing calls.
>
> I didn't see any followups to this. I have the same problem (using a
> X100P and a TDM400P).
>
>
> - ask
My problem went away once I changed PEGCOUNT from 5 to 10 in wcfxo.c
#define PEGCOUNT 5 /* 5 cycles of pegging means RING */
It was also suggested to me that I change ringdebounce from 1000 ms to
2000 or 5000 in about line 580 of wcfxo.c (shown below), but this didn't
help in my case... it just took longer for the mystery ringing to start.
But who knows maybe it will help.
reg = reg | 0x08;
wcfxo_setreg(wc, 0x5, reg);
wc->offhook = 0;
/* Don't accept a ring for another 1000 ms */
==========>> wc->ringdebounce = 1000;
#ifdef JAPAN
wc->ohdebounce = OH_DEBOUNCE;
#endif
Cheers,
Brad
>
>
More information about the asterisk-users
mailing list