|
List Info
Thread: need help for isdn4bsd-asterisk setting!
|
|
| need help for isdn4bsd-asterisk
setting! |
  China |
2008-03-04 21:13:52 |
|
hello, all of users: i have installed isdn4bsd with Openvox B400P. everything seems ok. but i can not make calls. i am confusing the isdnconfig setting and capi.conf for four port card. what i did is run: ************************************************ new-host# isdnconfig -u 11 -a -p DRVR_DSS1_TE new-host# isdnconfig -u 10 -a -p DRVR_DSS1_TE new-host# isdnconfig -u 9 -a -p DRVR_DSS1_TE new-host# isdnconfig -u 8 -a -p DRVR_DSS1_TE new-host# isdnconfig controller 8 = { Layer 1: description : HFC-4S PCI ISDN adapter type : passive ISDN (Basic Rate, 2xB) channels : 0x3 serial : 0xabd5 power_save : on dialtone : enabled attached : yes
PH-state : F4: Awaiting signal Layer 2: driver_type : DRVR_DSS1_TE } controller 9 = { Layer 1: description : HFC-4S PCI ISDN adapter type : passive ISDN (Basic Rate, 2xB) channels : 0x3 serial : 0xabd6 power_save : on dialtone : enabled attached : yes PH-state : F3: Deactivated Layer 2: driver_type : DRVR_DSS1_TE } controller 10 = { Layer 1: description : HFC-4S PCI ISDN adapter type : passive ISDN (Basic Rate, 2xB)
channels : 0x3 serial : 0xabd7 power_save : on dialtone : enabled attached : yes PH-state : F4: Awaiting signal Layer 2: driver_type : DRVR_DSS1_TE } controller 11 = { Layer 1: description : HFC-4S PCI ISDN adapter type : passive ISDN (Basic Rate, 2xB) channels : 0x3 serial : 0xabd8 power_save : on dialtone : enabled attached : yes PH-state : F7: Activated Layer
2: driver_type : DRVR_DSS1_TE } ;************************************************** ; example "capi.conf" ; ; FreeBSD: /usr/local/etc/asterisk/capi.conf ; NetBSD: /usr/pkg/etc/asterisk/capi.conf ; Linux: /etc/asterisk/capi.conf ;
[general] ; ; In countries like Norway, the nationalprefix should ; just be left empty. ; nationalprefix=0 internationalprefix=00 rxgain=1.0 txgain=1.0 ;ulaw=yes ;set this, if you live in u-law world instead of a-law ;debug=yes ;set this, if capi debugging should be enabled by default
; interface sections ...
; ; This is an example for an ISDN adapter ; configured for TE-mode: ;
[ISDN1] ;this example interface gets name 'ISDN1' and may be
any ;name not starting with 'g' or 'contr'. isdnmode=msn ;'MSN' (point-to-multipoint) incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * == any
; ; Format of "incomingmsn" is like this: ; ; 0) This will only allow any MSN: ; ; incomingmsn=* ; ; 1) This will only allow (MSN == "1"): ; ; incomingmsn=1 ; ; 2) This will only allow (MSN == "1") or (MSN == "2") or (MSN == "3"): ; ; incomingmsn=1,2,3 ; ; 3) This will only allow (MSN == "1XX..") or (MSN == "2") or (MSN == "3XX.."): ; ; incomingmsn=1*,2,3* ; ; NOTE: When a number matches "1*", everything preceeding the "*" is ; stripped away from the incoming number. For example if "incomingmsn=1*" and | |