Fxo wc400p: pstn line just not connected never results in er


#1

sbj: fxo wc400p: pstn line just not connected never results in error notification

Hello:

I am having a problem with Zap channels normally able to connect to regular pstn lines. When such a call is made, if all is set correctly, it goes through. However, there is no indication to let me know when an fxo module which has been called, simply is not connected to the wire for the pstn line. In fact it tells me, Zap Channel Connected. It obviously does not wait, for what most users expect - - the called party Picking Up the line at destination, before start of counter of Billing Seconds.

What actions can change this behavior?

    • octimotor - - 2006-02?06; night;

#2

zapata.conf
busydetect=yes
busycount=2
answeronpolarityswitch=yes
hanguponpolarityswitch=yes

signalling=fxs_ks
callerid=asreceived
group=1
context=default ; Points to the default context of your extensions.conf
channel => 1-4 ; Again X is the number of FXO modules you have
amaflags=billing

zaptel.conf
loadzone=us
fxsks=1-4
defaultzone=us

chan_zap.c - you should manually uncomment this and make again install again
#define ZAP_CHECK_HOOKSTATE

If your provider supports reverce polarity then:
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
Will give you perfect way to get real times for connection

If you have 4 zap channels and some of them are dead in some moment and in other moment they revive, but others are going dead - this line will allow you to use only vial channels.
#define ZAP_CHECK_HOOKSTATE