- Mitglied seit
- 24 Jul 2009
- Beiträge
- 170
- Punkte für Reaktionen
- 0
- Punkte
- 16
Hi.
i do have a setup of asterisk 1.6 on my fritz 7170 and i use the capi to get the pstn line into asterisk.
i would like to add a second pstn in the asterisk by making use of s spa3000/3102 but i am stuck. this is what is have up to now.
sip.conf
---------
[general]
context=default
bindport=5061
bindaddr=0.0.0.0
srvlookup=yes
language=en
localnet=192.168.178.1/255.255.255.0
; SIP clients on the network
[300]
host=dynamic
type=friend
user=300
secret=7700
call-limit=100
context=sip300
dtmf=inband
qualify=yes
disallow=all
allow=alaw
nat=yes
the same for the user up to 320
--------------------------------------------
extensions.conf
[globals]
SIPPHONES=SIP/300&SIP/301&SIP/302&SIP/303&SIP/304&SIP/305&SIP/306&SIP/307&SIP/308&SIP/309&SIP/310&SIP/311&SIP/312&SIP/313&SIP/314&SIP/315&SIP/316&SIP/317&SIP/318&SIP/319&SIP/320
[default]
[analog-in]
exten => s,1,Dial(${SIPPHONES},60,tr)
[analog-out]
exten => _2XXXXXXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _69XXXXXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
[sip300]
include => local
include => analog-out
the same for the users up to 320
-----------------------------------------------------------------------------------
could someone help me add the spa3000/3102 for the second pstn to be able to dialed by making use of prefix 9?
i do have a setup of asterisk 1.6 on my fritz 7170 and i use the capi to get the pstn line into asterisk.
i would like to add a second pstn in the asterisk by making use of s spa3000/3102 but i am stuck. this is what is have up to now.
sip.conf
---------
[general]
context=default
bindport=5061
bindaddr=0.0.0.0
srvlookup=yes
language=en
localnet=192.168.178.1/255.255.255.0
; SIP clients on the network
[300]
host=dynamic
type=friend
user=300
secret=7700
call-limit=100
context=sip300
dtmf=inband
qualify=yes
disallow=all
allow=alaw
nat=yes
the same for the user up to 320
--------------------------------------------
extensions.conf
[globals]
SIPPHONES=SIP/300&SIP/301&SIP/302&SIP/303&SIP/304&SIP/305&SIP/306&SIP/307&SIP/308&SIP/309&SIP/310&SIP/311&SIP/312&SIP/313&SIP/314&SIP/315&SIP/316&SIP/317&SIP/318&SIP/319&SIP/320
[default]
[analog-in]
exten => s,1,Dial(${SIPPHONES},60,tr)
[analog-out]
exten => _2XXXXXXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _69XXXXXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
exten => _XXX,1,Dial(CAPI/ANALOG/${EXTEN},60,Tt)
[sip300]
include => local
include => analog-out
the same for the users up to 320
-----------------------------------------------------------------------------------
could someone help me add the spa3000/3102 for the second pstn to be able to dialed by making use of prefix 9?