[Asterisk-Users] Some problems about X100P in Japan

Jim Gottlieb jimmy-ml at nccom.com
Mon Mar 24 23:32:34 MST 2003


On 2003-03-25 at 14:46, Shinsuke,Iwata (shinsuke at infoworks.ne.jp) 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)




More information about the asterisk-users mailing list