On 2003-03-25 at 14:46, Shinsuke,Iwata ([EMAIL PROTECTED]) wrote:

> I'm having problems with Asterisk and Digium's X100P in Japan. Asterisk
> doesn't detect PSTN hangup. I'm trying to use "Japan" and "Zero voltage
> ring" options in wcfxo.c, like this....
> 
> #define JAPAN
> #define ZERO_BATT_RING

You shouldn't need ZERO_BATT_RING unless you're using a line coming off
of a TA, and if you are then you may not get disconnect supervision,
depending on your TA.

In any case, the disconnect supervision (AKA CPC) on PSTN lines in
Japan is very very short.

Look in wcfxo.c and play with the value of BATT_DEBOUNCE.  Try lowering
it until you get hangup detection.

You may also want to verify that you _are_ receiving the CPC signal.
Either use an analog multimeter across the line or hold down the tone
on a line-powered tone phone while the calling party hangs up and see
if the tone or voltage goes away, even very briefly.

Or use INSnet 1500 :-).
---
Jim Gottlieb (IRC: TokyoJimu)

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to