Jan

Please try this:

exten => _0XXX.,1,Dial(CAPI/3344${CALLERIDNUM}:b${EXTEN:1})

It may work (I didn�t tried it). And it�s quit ugly!

Regards
Sascha

-------------------------------------------------------
Sascha Knific           K Systems & Design
Tel. +49-8151-773260    Wittelsbacherstr. 6a
Fax. +49-8151-773262    82319 Starnberg, Germany
Leo  +49-8151-773261    WGS84: N57�59,875' E011�20,568'
[EMAIL PROTECTED]     http://www.k-sysdes.net


> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] Im Auftrag von Jan Larsen
> Gesendet: Montag, 1. M�rz 2004 16:26
> An: [EMAIL PROTECTED]
> Betreff: [Asterisk-Users] Re: [Asterisk-Users] AW: [Asterisk-Users]
Dial
> out on Capi with more MSN�s
> 
> Hi sascha
> 
> What I want to do is to dial out with individual MSN numbers.
> 
> When extension 5566 dials out, I want the CLI to 33445566
> When extension 5567 dials out, I want the CLI to 33445567
> When extension 5568 dials out, I want the CLI to 33445568
> When extension 5569 dials out, I want the CLI to 33445569
> 
> on the same BRI, which has these MSN numbers
> 
> How do I do that ????
> 
> /Jan
> 
> 
> ----- Original Message -----
> From: "Sascha Knific" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 01, 2004 2:22 PM
> Subject: [Asterisk-Users] AW: [Asterisk-Users] Dial out on Capi with
more
> MSN�s
> 
> 
> > Hi Jan
> >
> > > I am trying to make a outgoing call that displayes the correct
Calling
> > > number.
> > >
> > > I have a BRI connection with 12 MSN�s.
> > >
> > > The numbers are like this:
> > >
> > > 33445566
> > > 33445567
> > > 33445568
> > > 33445569
> > >  were the 4 last digit is the extension number.
> > >
> > > I have the following in extensions.conf;
> > >
> > > ;ISDN2 access for outgoing call
> > > exten => _0XXX.,1,StripMSD,1
> > > exten => _XXX.,2,Dial,CAPI/*:bBYEXTENSION
> >
> > Change the last 2 lines to:
> > Exten => _0XXX.,1,Dial(CAPI/33445566:b${EXTEN:1})
> >
> > - ${EXTEN:1} passes the dialled extension minus the first digit
> > - CAPI/33445566 send the outgoing call with your MSN 33445566
> >
> > Regards
> > Sascha
> >
> > -------------------------------------------------------
> > Sascha Knific           K Systems & Design
> > Tel. +49-8151-773260    Wittelsbacherstr. 6a
> > Fax. +49-8151-773262    82319 Starnberg, Germany
> > Leo  +49-8151-773261    WGS84: N57�59,875' E011�20,568'
> > [EMAIL PROTECTED]     http://www.k-sysdes.net
> >
> >
> > > -----Urspr�ngliche Nachricht-----
> > > Von: [EMAIL PROTECTED] [mailto:asterisk-users-
> > > [EMAIL PROTECTED] Im Auftrag von Jan Larsen
> > > Gesendet: Montag, 1. M�rz 2004 12:28
> > > An: [EMAIL PROTECTED]
> > > Betreff: [Asterisk-Users] Dial out on Capi with more MSN�s
> > >
> > > Hi
> > >
> > > I am trying to make a outgoing call that displayes the correct
Calling
> > > number.
> > >
> > > I have a BRI connection with 12 MSN�s.
> > >
> > > The numbers are like this:
> > >
> > > 33445566
> > > 33445567
> > > 33445568
> > > 33445569
> > >  were the 4 last digit is the extension number.
> > >
> > > I have the following in extensions.conf;
> > >
> > > ;ISDN2 access for outgoing call
> > > exten => _0XXX.,1,StripMSD,1
> > > exten => _XXX.,2,Dial,CAPI/*:bBYEXTENSION
> > >
> > > in CAPI.conf I have:
> > >
> > > [general]
> > > ;nationalprefix=0
> > > internationalprefix=00
> > > rxgain=0.8
> > > txgain=0.8
> > >
> > > [interfaces]
> > > msn=*              ; Dial out via this
> > > incomingmsn=*      ; Incomming
> > > controller=1
> > > softdtmf=1
> > > ;accountcode=
> > > context=incomming-ISDN2
> > > ;echosquelch=1
> > > ;echocancel=yes
> > > ;echotail=64
> > > ;callgroup=1
> > > ;deflect=12345678
> > > devices=2
> > >
> > > This causes all extension to dial out with the same number CLI,
how do
> > > make
> > > it possible to call out with
> > > individual numbers, CLI
> > >
> > >
> > > Regards
> > >
> > > Jan Larsen
> > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to