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