hello, Richard:<br>I copied the file to /usr/locla/etc/asterisk and restarting asterisk. the LEDs are not activated. the capi show channesl:<br>*<span style="font-weight: bold;">CLI> capi show channels</span><br>CAPI thread [0x0] {<br> Application ID : 0x00000000<br> Application uptime : 0x00000e2a seconds<br><br> Call descriptor statistics:<br> allocation count : 0x00000000 call descriptors<br> free count : 0x00000000 call descriptors<br> in memory count : 0x00000000 call descriptors<br> in use count : 0x00000000 call descriptors<br> record allocation rate : 0x0000
calls/second<br> limit allocation rate : 0x0010 calls/second<br> Currently active calls:<br> channel name, source->destination, call ID, in/out<br>}<br>Config entry 'ISDN1' {<br> b_channels_curr : 2 call descriptor(s) free<br> b_channels_max : 2 call descriptor(s) total<br>}<br><br>*CLI><br><span style="font-weight: bold;">capi.conf </span><br>[ISDN1] ;this example interface gets name 'ISDN1' and may be any<br> ;name not starting with 'g' or 'contr'.<br>isdnmode=msn ;'MSN' (point-to-multipoint)<br>incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * == any<br><br>;<br>; Format of "incomingmsn" is like this:<br>;<br>; 0) This will only allow any MSN:<br>;<br>;
incomingmsn=*<br>;<br>; 1) This will only allow (MSN == "1"):<br>;<br>; incomingmsn=1<br>;<br>; 2) This will only allow (MSN == "1") or (MSN == "2") or (MSN == "3"):<br>;<br>; incomingmsn=1,2,3<br>;<br>; 3) This will only allow (MSN == "1XX..") or (MSN == "2") or (MSN == "3XX.."):<br>;<br>; incomingmsn=1*,2,3*<br>;<br>; NOTE: When a number matches "1*", everything preceeding the "*" is<br>; stripped away from the incoming number. For example if "incomingmsn=1*" and<br>; the MSN is 1234, only 234 is passed to Asterisk.<br>;<br>controller=1 ;ISDN4BSD default (first controller)<br>group=1 ;dialout group<br>;prefix=0 ;set a prefix to calling number on incoming calls<br>softdtmf=off ;enable/disable software dtmf detection<br>relaxdtmf=off ;in addition to softdtmf, you can
use<br> ;relaxed dtmf detection, which implies softdtmf=yes<br>accountcode= ;Asterisk accountcode to use in CDRs<br>context=isdn_in ;context for incoming calls<br>holdtype=local ;when Asterisk puts the call on hold, ISDN HOLD will be used. If<br> ;set to 'local' (default value), no hold is done and Asterisk may<br> ;play MOH.<br>;immediate=yes ;immediate start of pbx with extension 's' if no digits were<br> ;received on incoming call (no destination number yet)<br>echocancel=no ;disable echo canceller<br>echosquelch=no
;primitive echo suppression (in chan_capi)<br>;echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)<br>;echotail=64 ;echo cancel tail setting<br>;bridge=yes ;native bridging (CAPI line interconnect) if available<br>;callgroup=1 ;Asterisk call group<br>;deflect=1234567 ;deflect incoming calls to 1234567 if all B channels are busy<br><span style="font-weight: bold;">the dmesg shows:</span><br>i4bctl: ISDN system control port attached<br>capi: CAPI call control device attached, v2.10<br>i4b: ISDN call control device attached<br>i4btrc: 64 ISDN trace device(s) attached<br>i4brbch: 8 raw B channel access device(s) attached<br>i4btel: 8 ISDN telephony interface device(s) attached<br><span style="font-weight: bold;">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:<br>new-host-3# isdnconfig<br>controller 8 = {<br> Layer 1:<br> description : HFC-4S PCI ISDN adapter<br> type : passive ISDN (Basic Rate, 2xB)<br> channels : 0x3<br> serial : 0xabd5<br> power_save : on<br> dialtone : enabled<br> attached : yes<br> PH-state : F0: Reset<br> Layer 2:<br> driver_type : DRVR_D_CHANNEL<br>}<br>controller 9 = {<br> Layer 1:<br> description : HFC-4S PCI ISDN adapter<br> type : passive ISDN (Basic Rate, 2xB)<br> channels : 0x3<br>
serial : 0xabd6<br> power_save : on<br> dialtone : enabled<br> attached : yes<br> PH-state : F0: Reset<br> Layer 2:<br> driver_type : DRVR_D_CHANNEL<br>}<br>controller 10 = {<br> Layer 1:<br> description : HFC-4S PCI ISDN adapter<br> type : passive ISDN (Basic Rate, 2xB)<br> channels : 0x3<br> serial : 0xabd7<br> power_save : on<br> dialtone : enabled<br> attached : yes<br> PH-state : F0: Reset<br> Layer 2:<br> driver_type : DRVR_D_CHANNEL<br>}<br>controller 11 =
{<br> Layer 1:<br> description : HFC-4S PCI ISDN adapter<br> type : passive ISDN (Basic Rate, 2xB)<br> channels : 0x3<br> serial : 0xabd8<br> power_save : on<br> dialtone : enabled<br> attached : yes<br> PH-state : F0: Reset<br> Layer 2:<br> driver_type : DRVR_D_CHANNEL<br>}<br>new-host-3#<br>any idea for that?<br style="font-weight: bold;"></span><span style="font-weight: bold;">thanks!</span><br style="font-weight: bold;"><span style="font-weight: bold;">zhulizhong</span><br><br><b><i>Richard Neese <r.neese@gmail.com></i></b> дµÀ£º<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> ing
the i4b capi channel dir there is a conf file called capi.conf this needs <br>to be coppied to /usr/local/etc/asterisk and then edited<br><br><br><br><br><br><br>On January 9, 2008 07:00:34 pm lizhong zhu wrote:<br>> hello, all of friends:<br>> thanks, Richard Neese. i edit the kernel and add what you gave me and<br>> recompile kernel, the isdn and capi seems work. i run isdnconfig it show s<br>> four contralloer. my card is OpenVox B400P. now asterisk can start and show<br>> : new-host-3*CLI> capi show channels<br>> CAPI thread [0x0] {<br>> Application ID : 0x00000000<br>> Application uptime : 0x00000945 seconds<br>><br>> Call descriptor statistics:<br>> allocation count : 0x00000000 call descriptors<br>> free count : 0x00000000 call descriptors<br>> in memory count : 0x00000000 call descriptors<br>> in use count : 0x00000000 call descriptors<br>> record
allocation rate : 0x0000 calls/second<br>> limit allocation rate : 0x0010 calls/second<br>> Currently active calls:<br>> channel name, source->destination, call ID, in/out<br>> }<br>> Config entry 'ISDN2' {<br>> b_channels_curr : 2 call descriptor(s) free<br>> b_channels_max : 2 call descriptor(s) total<br>> }<br>> Config entry 'ISDN1' {<br>> b_channels_curr : 2 call descriptor(s) free<br>> b_channels_max : 2 call descriptor(s) total<br>> }<br>><br>> new-host-3*CLI><br>> i have no idea for capi.conf for BRI. the LEDs are not blink. i would set<br>> all 4 ports are in TE mode. anyone can tell me some setting for how to<br>> start isdn4bsd and as capi.conf ? thanks!<br>> zhu<br>><br>><br>> ---------------------------------<br>> ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡<br><br><br><br>-- <br>Welcome to the World. An the World gets
smaller.<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by http://www.api-digital.com--<br><br>Asterisk-BSD mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-bsd</blockquote><br><p> 
<hr size=1><a href="http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline">ÑÅ»¢ÓÊÏä´«µÝÐÂÄê×£¸££¬¸öÐԺؿ¨ËÍÇ×Åó£¡</a>