TDM04B card issue

Hi,

I have TDM04B card with 4FXO modules on my Asterisk. When i get a call from PSTN and the the caller disconnects the call the zap channel stays busy forever and when the called party for example any extension disconnects the call the zap trunk releases the channel.

Please advise. Thanks.

Hi,
what country are you in and what signalling standard do they use there?
What line mode have you set in /etc/zaptel.conf ?

Many countries use some form of timed break, so kewlstart is a good option to try, like

fxsks=1-4

(I’ve only used the TDM2400, but I believe the 400 uses the same options).

This is a good reference for setting country-specific modes, it’s for the UK but gives info on where country codes can be set. The country code lists can be found in the module source .c file
http://www.voip-info.org/wiki/view/UK+Asterisk+Details

This is a general reference on detecting disconnect:
http://www.voip-info.org/wiki/index.php?page=Asterisk+Disconnect+Supervision