Am 03.09.2012 um 11:28 schrieb Ingmar Schraub: > Am 03.09.2012 um 10:29 schrieb Graham S. Jarvis: > >> Hello all, >> >> Many thanks to Michael Keuter for helping me get this working earlier this >> year! >> >> For the moment I only have on NT plugged into the Junghanns card and this >> line >> has a main number and MSNs. >> >> When calls go out they have the main number. >> I've just had a new MSN added to the line and what I'd like to do is set up >> the >> dialplan so that outgoing calls from one 'phone (SIP) send this MSN as it's >> CID. >> >> I tried _X.,1,Set(CALLERID(num)=12345678) >> before doing the dial but the main number goes out as the CID. >> >> Is this a telco thing? >> >> Thanks in advance >> >> -Graham- > > Hi Graham, > > I remember the day when I switched from mISDN to DAHDI I had a similar issue. > I am using 3 MSN but only the main MSN was used/shown on outgoing calls > although I specified the CALLERID to use one of the other MSNs as you did. > > I figured out that I had to specify the MSNs with DAHDI slightly different - > at least this applies for Germany where I live. > > mISDN: > MSN1: 12345 > MSN2: 67890 > > DAHDI: > MSN1: <area code without leading '0'>12345 > MSN2: <area code without leading '0'>67890 > > Example: > phone number: +49 69 12345 (Germany Frankfurt MSN) -> 6912345 > > Again, this worked in Germany with Deutsche Telekom. > > Regards > Ingmar
I just call a macro in the "outgoing" context, which sets the right CallerID (MSN) per each phone (private/company): extensions.conf: [isdn_outgoing] … same => n,GoSub(set_clid,${CALLERID(num)},1) … [set_clid] exten => _1[16],1,Set(CALLERID(num)=12345678) exten => _1[16],2,Return() exten => _2[01],1,Set(CALLERID(num)=23456789) exten => _2[01],2,Return() Hope that helps. Michael http://www.mksolutions.info
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.