[Asterisk-Users] FXO no release useing fxsks & disconnect supervision from telco

steve casto stevec1 at cox.net
Fri Oct 21 22:58:35 MST 2005


Adtran 750
d4,ami
loop start
fxs 5x4 port
fxo 1x4 port
TE405P
Asterisk 1.0.9 stable
span 1 -> CAC channel bank all FXS
sand 2 -> Adtran 750 20 FXS 4 FXO (new FXO card)
span 3&4 -> outgoing only E&M

A call comes in from the telco on the FXO port & answered on a FXS 
(fxoks). If the FXS hangs up, ok, if the FXO (fxsks) hangs up first:
1) CPC is receive at the FXO (an open from telco)
2) the A bit for the FXO port -> 0
3) FXS port get short reorder then Asterisk dial tone
4) the FXO port is not dropped by Asterisk
5) telco recording like 'Please hang up to make a call' no busy then 
dead air (on the telco line connected to the FXO)
6) to reset,the FXO port needs to be opened at the telco demark > 3 sec. 
opened less then 3 sec. the FXO port is still in an off hook & draws 
dial tone from the telco & does not drop
This happens every time. Being that that the FXS, still off hook when 
the FXO hangs up, drops that connection to that FXO, Asterisk must know 
the FXO has hung up but Asterisk does not release the FXO.
thanks
Steve Casto

zaptel.conf
loadzone = us
defaultzone=us
span=1,0,0,d4,ami
#e&m=1-24
fxoks=1-24
span=2,0,0,d4,ami
#e&m=25-48
fxoks=25-44
fxsks=45-48
span=3,2,0,d4,ami
e&m=49-72
span=4,1,0,d4,ami
e&m=73-96
fxsks=100
fxoks=97

zapata.conf
[channels]
musiconhold=default
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
tranfer=yes
cancallforward=no
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0

group=1
immediate=no
context=dialout
threewaycalling=yes
tranfer=yes

signalling=fxo_ks
group=1
channel => 1-44


threewaycalling=yes
transfer=yes

usecallerid=yes
callerid=  <101>
mailbox=101
channel=1
callerid=<102>
mailbox=102
channel=2
callerid=<103>
mailbox=103
channel=3
callerid=<104>
mailbox=104
channel=4
callerid=<105>
mailbox=105
channel=5
callerid=<106>
mailbox=106
channel=6
callerid=<107>
mailbox=107
channel=7
callerid=<108>
mailbox=108
channel=8
callerid=<109>
mailbox=109
channel=9
callerid=<110>
mailbox=110
channel=10
callerid=<111>
mailbox=111
channel=11
callerid=<112>
mailbox=112
channel=12
callerid=<113>
mailbox=113
channel=13
callerid=<114>
mailbox=114
channel=14
callerid=<115>
mailbox=115
channel=15
callerid=<116>
mailbox=116
channel=16
callerid=<117>
mailbox=117
channel=17
callerid=<118>
mailbox=118
channel=18
callerid=<119>
mailbox=119
channel=19
callerid=<120>
mailbox=120
channel=20
callerid=<121>
mailbox=121
channel=21
callerid=<122>
mailbox=122
channel=22
callerid=<123>
mailbox=123
channel=23
callerid=<124>
mailbox=124
channel=24
callerid=<125>
mailbox=125
channel=25
callerid=<126>
mailbox=126
channel=26
callerid=<127>
mailbox=127
channel=27
callerid=<128>
mailbox=128
channel=28
callerid=<129>
mailbox=129
channel=29
callerid=<130>
mailbox=130
channel=30
callerid=<131>
mailbox=131
channel=31
callerid=<132>
mailbox=132
channel=32
callerid=<133>
mailbox=133
channel=33
callerid=<134>
mailbox=134
channel=34
callerid=<135>
mailbox=135
channel=35
callerid=<136>
mailbox=136
channel=36
callerid=<137>
mailbox=137
channel=37
callerid=<138>
mailbox=138
channel=38
callerid=<139>
mailbox=139
channel=39
callerid=<140>
mailbox=140
channel=40

group=5
callwaiting=no

signalling=fxo_ks
callerid=<151>
channel=41
callerid=<152>
channel=42
callerid=<153>
channel=43
callerid=<154>

context=incoming_9
callwaiting=no
threewaycalling=no
transfer=no
usecallerid=no
group=
signalling=fxs_ks
channel=45
channel=46
channel=47
channel=48

context=admin
immediate=no
signalling=fxo_ks
callerid=yes
callerid=190
threewaycalling=no
transfer=no
channel=97

context=bell
signalling=em
group=2
channel =>49-96
group=
signalling=fxs_ks
channel=100





More information about the asterisk-users mailing list