Thanks very much Armin.<br>
<br>
After migrating to chan_capi-cm, the issue now is, everytime a dial statement is <br>
executed, it fails and restarts asterisk! The restart I believe is due to safe_asterisk <br>
script. So, in my opinion chan_capi-cm terminates asterisk process abruptly. <br>
When I replace the driver, everything comes back fine. I have updated the dial <br>
syntax to suit the new driver. My Dial command now is Dial(CAPI/g1/<dialled #>,30), <br>
I have even tried Dial(CAPI/contr1/<dialled #>,30)<br>
<br>
Unfortunately there arent many messges displayed on CLI, since asterisk gets<br>
a SIGSEGV.<br>
<br>
Have people in this list had any successfull implementation with chan_capi-cm <br>
driver and Eicon Hardware?<br>
<br>
Regards <br>
-r<br><br><div><span class="gmail_quote">On 8/28/05, <b class="gmail_sendername">Armin Schindler</b> <<a href="mailto:armin@melware.de">armin@melware.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 28 Aug 2005, Voicomm User wrote:<br>> Hello Group,<br>><br>> Current Setup:<br>> - Eicon Quad BRI ISDN Card.<br>> - 4 ISDN BRI (Telco: Telstra) Onramp2 services.<br>> - Mode: Point2Point.<br>> - 100 Indial Number ranges. Full National Number (9 digit format): BAAAAAAXX
<br>><br>> where: B (Area code): 2/3/7/8<br>> A (Normal Numbers)<br>> X (99 Indial extensions)<br>> eg: BAAAAAA00<br>> BAAAAAA20 etc<br>> Requirement:<br>> - To be able send Indial numbers as Caller ID when dialing out.
<br>><br>> Configration:<br>> capi.conf<br>> ---------<br>><br>> [general]<br>> nationalprefix=0<br>> internationalprefix=00<br>> rxgain=0.8<br>> txgain=0.8<br>><br>> [interfaces]<br>> mode=immediate
<br>> isdnmode=ptp<br>> msn=BAAAAAA<br>> incomingmsn=*<br>> controller=1<br>> softdtmf=1<br>> accountcode=<br>> context=main-menu<br>> usecallerid=yes<br>> callerid=asreceived<br>> ;echosquelch=1
<br>> ;echocancel=yes<br>> ;echotail=64<br>> callgroup=1<br>> pickupgroup=1<br>> devices=2<br>><br>> mode=immediate<br>> isdnmode=ptp<br>> msn=BAAAAAA<br>> incomingmsn=*<br>> controller=2<br>
> softdtmf=1<br>> accountcode=<br>> context=main-menu<br>> usecallerid=yes<br>> callerid=asreceived<br>> callgroup=1<br>> pickupgroup=1<br>> devices=2<br>><br>> mode=immediate<br>> isdnmode=ptp
<br>> msn=BAAAAAA<br>> incomingmsn=*<br>> controller=3<br>> softdtmf=1<br>> accountcode=<br>> context=main-menu<br>> usecallerid=yes<br>> callerid=asreceived<br>> callgroup=1<br>> pickupgroup=1
<br>> devices=2<br>><br>><br>> mode=immediate<br>> isdnmode=ptp<br>> msn=BAAAAAA<br>> incomingmsn=*<br>> controller=4<br>> softdtmf=1<br>> accountcode=<br>> context=main-menu<br>> usecallerid=yes
<br>> callerid=asreceived<br>> callgroup=1<br>> pickupgroup=1<br>> devices=2<br>><br>><br>> extensions.conf<br>><br>> [mob-service]<br>> ; Calleridnum is of the format 0BAAAAAAXX and TRUNKMSD = 1, TRUNKCAPI = CAPI
<br>> exten =><br>> ${PAT-MOB},1,Dial(${TRUNKCAPI}/${CALLERIDNUM:1}:${EXTEN:${TRUNKMSD}},,t)<br>><br>><br>> Problem:<br>> When dialling out the number *always* defaults to the default service<br>> number.
<br>> I have contacted the telco and they have confirmed they expect the caller id<br>> in 9<br>> digit format. I tried modifying msn value in capi.conf to include more comma<br>><br>> separated Full National Numbers of users internally. Eg.
<br>><br>> msn=BAAAAAA00,BAAAAAA06,BAAAAAA07,BAAAAAA08,BAAAAAA09,BAAAAAA10,BAAAAAA11,BAAAAAA12,BAAAAAA13,BAAAAAA14,BAAAAAA15,BAAAAAA16,BAAAAAA17,BAAAAAA20,BAAAAAA21,BAAAAAA22<br>><br>> This works fine upto BAAAAAA17, but for numbers from extentions 20 onwards I
<br>> get<br>> a 'msn not found! check your config error'.<br>><br>> Can anyone please shed somelight on whether this is really possible (to be<br>> able<br>> to send DID numbers as caller ID when dialling out)? I have read some posts
<br>> indicating more than 5 msns is not possible, but in my case I have<br>> definetely<br>> got it working with more than 5 msns atleast. No source clearly indicated if<br>> this<br>> is possible, and if yes, how.
<br><br>Use chan_capi-cm from <a href="http://sourceforge.net">sourceforge.net</a>, adapt your capi.conf and the<br>dialstring to new structure (see README of chan_capi-cm) and set your DID<br>with e.g.<br> SetCallerId(15)
<br><br>Armin<br><br></blockquote></div><br>