[Asterisk-Users] Re: [Asterisk-Users] AW: [Asterisk-Users] Dial out on Capi with more MSN´s
Jan Larsen
Jan.Larsen at inet.uni2.dk
Mon Mar 1 08:25:54 MST 2004
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" <knific at k-sysdes.net>
To: <asterisk-users at lists.digium.com>
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'
> knific at k-sysdes.net http://www.k-sysdes.net
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> > admin at lists.digium.com] Im Auftrag von Jan Larsen
> > Gesendet: Montag, 1. März 2004 12:28
> > An: Asterisk-Users at lists.digium.com
> > 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
> > Asterisk-Users at lists.digium.com
> > 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list