[Asterisk-Users] Re: [Asterisk-Users] AW: [Asterisk-Users] Dial out on Capi with more MSN´s

Jan Larsen jan.larsen at inet.uni2.dk
Wed Mar 3 02:24:59 MST 2004


Hi sascha

1. easy, easy now !
Yes, your right I found out that multiple MSN can be defines like You wrote.


Thanks

Jan


----- Original Message ----- 
From: "Sascha Knific" <knific at k-sysdes.net>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, March 03, 2004 10:06 AM
Subject: [Asterisk-Users] AW: [Asterisk-Users] Dial out on Capi with more
MSN´s


> Hi Jan
>
> 1. Sorry but: Rtfm! (chan_capi -> README)
>
> 2. It is possible to define multiple MSNs: MSN=1234,5678,....
>
> 3. For this line:
>
> exten => _0XXX.,1,Dial(CAPI/3344${CALLERIDNUM}:b${EXTEN:1})
>
> to work the callerid in your sip.conf or iax.conf or whereever your
> caller sits needs to be set right like:
>
> callerid="Jan Larsen" <5566>
>
> So my hint was not complete before. But it´s still just a hint!
>
> 4. Got to www-voip-info.org and read the asterisk docs (again?)
>
> 5. I told you that I did´t tried it. So don´t expect ready to go
> solutions without putting some of your own effort in it!
>
>
> 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: Mittwoch, 3. März 2004 08:02
> > An: asterisk-users at lists.digium.com
> > Betreff: [Asterisk-Users] Re: [Asterisk-Users] AW: [Asterisk-Users]
> Re:
> > [Asterisk-Users] AW: [Asterisk-Users] Dial out on Capi with more MSN´s
> >
> > Hi sascha
> >
> > I have tried it, and it does not work because in the Capi.conf there
> are
> > no
> > "MSN=3344XXXX"
> > It looks like it is not possible to have more than one MSN=<something>
> in
> > the capi.conf
> >
> > If someone could modify the capi functionality, so that the MSN value
> > could
> > look like this:
> >
> > MSN=3344* so when dialing out, it does not need a complete match on
> > 3344${CALLERIDNUM}, but acepts
> > calls as long as the 4 first digit match the MSN value
> >
> > Regards
> > Jan
> >
> >
> > ----- Original Message -----
> > From: "Sascha Knific" <knific at k-sysdes.net>
> > To: <asterisk-users at lists.digium.com>
> > Sent: Monday, March 01, 2004 5:51 PM
> > Subject: [Asterisk-Users] AW: [Asterisk-Users] Re: [Asterisk-Users]
> AW:
> > [Asterisk-Users] Dial out on Capi with more MSN´s
> >
> >
> > > 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'
> > > 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 16:26
> > > > An: asterisk-users at lists.digium.com
> > > > 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" <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
> > > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> >
> > _______________________________________________
> > 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