<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=487194415-19092005><FONT face=Arial
color=#0000ff size=2>this happened to me on a cvs update, rebuilt a clean chan
capi cm and all is well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=487194415-19092005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=487194415-19092005><FONT face=Arial
color=#0000ff size=2>Greg</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Voicomm
User<BR><B>Sent:</B> Monday, September 19, 2005 3:29 AM<BR><B>To:</B> Armin
Schindler<BR><B>Cc:</B> asterisk-users@lists.digium.com<BR><B>Subject:</B> Re:
[Asterisk-Users] Asterisk ISDN: Problem Setting CallerID as DIDExtension
Numbers.<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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></BODY></HTML>