what i am trying to connect four different SIP clients to our existing PBX, its an NEC system.
this is my zapata.conf file-
[code][channels]
signalling=fxs_ks
language=en
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
busydetect=yes
busycount=3
rxgain=10.0
txgain=10.0
echocancel=yes
echotraining=yes
immediate=no
context=chan_one_in
channel => 1
context=chan_two_in
channel => 2
context=chan_three_in
channel => 3
context=chan_four_in
channel => 4[/code]
this is a piece of my extensions.conf file to give you an idea of what im trying to do.
[code][chan_one_in]
exten => s,1,Dial(SIP/3000,20)
exten => h,1,Hangup()
[chan_one_out]
exten => _4XX,1,Dial(Zap/1/w${EXTEN},20)
exten => _5XX,1,Dial(Zap/1/w${EXTEN},20)
exten => _6XX,1,Dial(Zap/1/w${EXTEN},20)
exten => _9NXXNXXXXXX,1,Dial(Zap/1/w${EXTEN},20)
exten => _91NXXNXXXXXX,1,Dial(Zap/1/w${EXTEN},20)
[chan_two_in]
exten => s,1,Dial(SIP/3001,20)
exten => h,1,Hangup()
[chan_two_out]
exten => _4XX,1,Dial(Zap/2/${EXTEN},20)
exten => _5XX,1,Dial(Zap/2/${EXTEN},20)
exten => _6XX,1,Dial(Zap/2/${EXTEN},20)
exten => _9NXXNXXXXXX,1,Dial(Zap/2/${EXTEN},20)
exten => _91NXXNXXXXXX,1,Dial(Zap/2/${EXTEN},20)[/code]