<!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>&nbsp;</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/&lt;dialled #&gt;,30), 
<BR>I have even tried Dial(CAPI/contr1/&lt;dialled 
#&gt;,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> &lt;<A href="mailto:armin@melware.de">armin@melware.de</A>&gt; 
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>&gt; Hello Group,<BR>&gt;<BR>&gt; 
  Current Setup:<BR>&gt; - Eicon Quad BRI ISDN Card.<BR>&gt; - 4 ISDN BRI 
  (Telco: Telstra) Onramp2 services.<BR>&gt; - Mode: Point2Point.<BR>&gt; - 100 
  Indial Number ranges. Full National Number (9 digit format): BAAAAAAXX 
  <BR>&gt;<BR>&gt; where: B (Area code): 2/3/7/8<BR>&gt; A (Normal 
  Numbers)<BR>&gt; X (99 Indial extensions)<BR>&gt; eg: BAAAAAA00<BR>&gt; 
  BAAAAAA20 etc<BR>&gt; Requirement:<BR>&gt; - To be able send Indial numbers as 
  Caller ID when dialing out. <BR>&gt;<BR>&gt; Configration:<BR>&gt; 
  capi.conf<BR>&gt; ---------<BR>&gt;<BR>&gt; [general]<BR>&gt; 
  nationalprefix=0<BR>&gt; internationalprefix=00<BR>&gt; rxgain=0.8<BR>&gt; 
  txgain=0.8<BR>&gt;<BR>&gt; [interfaces]<BR>&gt; mode=immediate <BR>&gt; 
  isdnmode=ptp<BR>&gt; msn=BAAAAAA<BR>&gt; incomingmsn=*<BR>&gt; 
  controller=1<BR>&gt; softdtmf=1<BR>&gt; accountcode=<BR>&gt; 
  context=main-menu<BR>&gt; usecallerid=yes<BR>&gt; callerid=asreceived<BR>&gt; 
  ;echosquelch=1 <BR>&gt; ;echocancel=yes<BR>&gt; ;echotail=64<BR>&gt; 
  callgroup=1<BR>&gt; pickupgroup=1<BR>&gt; devices=2<BR>&gt;<BR>&gt; 
  mode=immediate<BR>&gt; isdnmode=ptp<BR>&gt; msn=BAAAAAA<BR>&gt; 
  incomingmsn=*<BR>&gt; controller=2<BR>&gt; softdtmf=1<BR>&gt; 
  accountcode=<BR>&gt; context=main-menu<BR>&gt; usecallerid=yes<BR>&gt; 
  callerid=asreceived<BR>&gt; callgroup=1<BR>&gt; pickupgroup=1<BR>&gt; 
  devices=2<BR>&gt;<BR>&gt; mode=immediate<BR>&gt; isdnmode=ptp <BR>&gt; 
  msn=BAAAAAA<BR>&gt; incomingmsn=*<BR>&gt; controller=3<BR>&gt; 
  softdtmf=1<BR>&gt; accountcode=<BR>&gt; context=main-menu<BR>&gt; 
  usecallerid=yes<BR>&gt; callerid=asreceived<BR>&gt; callgroup=1<BR>&gt; 
  pickupgroup=1 <BR>&gt; devices=2<BR>&gt;<BR>&gt;<BR>&gt; 
  mode=immediate<BR>&gt; isdnmode=ptp<BR>&gt; msn=BAAAAAA<BR>&gt; 
  incomingmsn=*<BR>&gt; controller=4<BR>&gt; softdtmf=1<BR>&gt; 
  accountcode=<BR>&gt; context=main-menu<BR>&gt; usecallerid=yes <BR>&gt; 
  callerid=asreceived<BR>&gt; callgroup=1<BR>&gt; pickupgroup=1<BR>&gt; 
  devices=2<BR>&gt;<BR>&gt;<BR>&gt; extensions.conf<BR>&gt;<BR>&gt; 
  [mob-service]<BR>&gt; ; Calleridnum is of the format 0BAAAAAAXX and TRUNKMSD = 
  1, TRUNKCAPI = CAPI <BR>&gt; exten =&gt;<BR>&gt; 
  ${PAT-MOB},1,Dial(${TRUNKCAPI}/${CALLERIDNUM:1}:${EXTEN:${TRUNKMSD}},,t)<BR>&gt;<BR>&gt;<BR>&gt; 
  Problem:<BR>&gt; When dialling out the number *always* defaults to the default 
  service<BR>&gt; number. <BR>&gt; I have contacted the telco and they have 
  confirmed they expect the caller id<BR>&gt; in 9<BR>&gt; digit format. I tried 
  modifying msn value in capi.conf to include more comma<BR>&gt;<BR>&gt; 
  separated Full National Numbers of users internally. Eg. <BR>&gt;<BR>&gt; 
  msn=BAAAAAA00,BAAAAAA06,BAAAAAA07,BAAAAAA08,BAAAAAA09,BAAAAAA10,BAAAAAA11,BAAAAAA12,BAAAAAA13,BAAAAAA14,BAAAAAA15,BAAAAAA16,BAAAAAA17,BAAAAAA20,BAAAAAA21,BAAAAAA22<BR>&gt;<BR>&gt; 
  This works fine upto BAAAAAA17, but for numbers from extentions 20 onwards I 
  <BR>&gt; get<BR>&gt; a 'msn not found! check your config 
  error'.<BR>&gt;<BR>&gt; Can anyone please shed somelight on whether this is 
  really possible (to be<BR>&gt; able<BR>&gt; to send DID numbers as caller ID 
  when dialling out)? I have read some posts <BR>&gt; indicating more than 5 
  msns is not possible, but in my case I have<BR>&gt; definetely<BR>&gt; got it 
  working with more than 5 msns atleast. No source clearly indicated if<BR>&gt; 
  this<BR>&gt; 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>