|
List Info
Thread: »Ø¸´£º Re: how can i edit the file to make calls!
|
|
| »Ø¸´£º Re: how can i edit the file to
make calls! |
  China |
2008-01-09 23:12:13 |
|
hello, Richard: I copied the file to /usr/locla/etc/asterisk and restarting asterisk. the LEDs are not activated. the capi show channesl: *CLI> capi show channels CAPI thread [0x0] { Application ID : 0x00000000 Application uptime : 0x00000e2a seconds
Call descriptor statistics: allocation count : 0x00000000 call descriptors free count : 0x00000000 call descriptors in memory count : 0x00000000 call descriptors in use count : 0x00000000 call descriptors record allocation rate : 0x0000
calls/second limit allocation rate : 0x0010 calls/second Currently active calls: channel name, source->destination, call ID, in/out } Config entry 'ISDN1' { b_channels_curr : 2 call descriptor(s) free b_channels_max : 2 call descriptor(s) total }
*CLI> capi.conf [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 ; the MSN is 1234, only 234 is passed to Asterisk. ; controller=1 ;ISDN4BSD default (first controller) group=1 ;dialout group ;prefix=0 ;set a prefix to calling number on incoming calls softdtmf=off ;enable/disable software dtmf detection relaxdtmf=off ;in addition to softdtmf, you can
use ;relaxed dtmf detection, which implies softdtmf=yes accountcode= ;Asterisk accountcode to use in CDRs context=isdn_in ;context for incoming calls holdtype=local ;when Asterisk puts the call on hold, ISDN HOLD will be used. If ;set to 'local' (default value), no hold is done and Asterisk may ;play MOH. ;immediate=yes ;immediate start of pbx with extension 's' if no digits were ;received on incoming call (no destination number yet) echocancel=no ;disable echo canceller echosquelch=no
;primitive echo suppression (in chan_capi) ;echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers) ;echotail=64 ;echo cancel tail setting ;bridge=yes ;native bridging (CAPI line interconnect) if available ;callgroup=1 ;Asterisk call group ;deflect=1234567 ;deflect incoming calls to 1234567 if all B channels are busy the dmesg shows: i4bctl: ISDN system control port attached capi: CAPI call control device attached, v2.10 i4b: ISDN call control device attached i4btrc: 64 ISDN trace device(s) attached i4brbch: 8 raw B channel access device(s) attached i4btel: 8 ISDN telephony interface device(s) attached i am not very sure the capi.conf for BRI 400P( 4 ports and in TE mode). how do i set TE modes for 4 ports? i just run: isdncinfig? or add some
parameters? below is what i run isdnconfig: new-host-3# 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 | |