Zap Lines/SIP to PSTN take 20-30 seconds to disconnect

Hello:

Anyone encounter this kind of problem, when doing calls with PSTN Phone (whether its Zap lines or SIP channel) it takes 20-30 seconds from PSTN phone hang-up before asterisk phones disconnect or generate busy tone.

I have Rhino Channel Bank w/ 8FXO and 16FXS channels; FXO Sprv is set to B8MS. According to my source our TELCO has Loopstart Disconnect Supervsion. how to figure it out with my zapata.con and zaptel.conf

more info here…

/etc/zaptel.conf

span=1,0,0,esf,b8zs
fxsks=1-8
fxols=9-24
loadzone = us
defaultzone=us

/etc/asterisk/zapata.conf

[channels]
group => 1
language=en
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=8.2
txgain=-6
context => incoming
signalling => fxs_ks
amaflags => documentation
callprogress=yes
busydetect=yes
busycount=4
;hanguponpolarityswitch=yes
channel => 1-8

group => 2
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=8.2
txgain=-6
immediate=no
callprogress=yes
busydetect=yes
busycount=4
;hanguponpolarityswitch=yes
context => internal
signalling => fxo_ls

mailbox => 0000
callerid => ""
channel => 9

mailbox => 201
callerid => “” <number 201>
channel => 10

mailbox => 202
callerid => “” <number 202>
channel => 11

mailbox => 203
callerid => “” <number 203>
channel => 12

mailbox => 231
callerid => “” <number 204>
channel => 13

mailbox => 251
callerid => “” <number 205>
channel => 14

mailbox => 271
callerid => “” <number 206>
channel => 15

mailbox => 301
callerid => “” <number 301>
channel => 16

mailbox => 302
callerid => “” <number 302>
channel => 17

mailbox => 331
callerid => “” <number 304>
channel => 18

mailbox => 333
callerid => “” <number 305>
channel => 19

mailbox => 351
callerid => “” <number 303>
channel => 20

mailbox => 801
callerid => “” <number 801>
channel => 21

mailbox => 100
callerid => “” <number 100>
channel => 22


rendezvous:/home/kerberos# /sbin/ztcfg -vvvv

Zaptel Configuration

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Slaves: 08)
Channel 09: FXO Loopstart (Default) (Slaves: 09)
Channel 10: FXO Loopstart (Default) (Slaves: 10)
Channel 11: FXO Loopstart (Default) (Slaves: 11)
Channel 12: FXO Loopstart (Default) (Slaves: 12)
Channel 13: FXO Loopstart (Default) (Slaves: 13)
Channel 14: FXO Loopstart (Default) (Slaves: 14)
Channel 15: FXO Loopstart (Default) (Slaves: 15)
Channel 16: FXO Loopstart (Default) (Slaves: 16)
Channel 17: FXO Loopstart (Default) (Slaves: 17)
Channel 18: FXO Loopstart (Default) (Slaves: 18)
Channel 19: FXO Loopstart (Default) (Slaves: 19)
Channel 20: FXO Loopstart (Default) (Slaves: 20)
Channel 21: FXO Loopstart (Default) (Slaves: 21)
Channel 22: FXO Loopstart (Default) (Slaves: 22)
Channel 23: FXO Loopstart (Default) (Slaves: 23)
Channel 24: FXO Loopstart (Default) (Slaves: 24)

24 channels configured.

rendezvous:/home/kerberos#

Hope to hear from you SIR!!