Olivier wrote: > > 2008/10/3 Olivier <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > Hi, > > When dialing a number, I use : > exten => _123X, 1, Dial (SIP/${EXTEN}) > > Then, I get TRYING and RINGING SIP messages which both include > this kind of line : > To: <sip [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;user=phone> > > Is it possible, configuring Asterisk 1.4, to get something like > this instead ? > To: "John Doe" <sip [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>;user=phone> > > This way, I'm hoping to display callee's name beside (or instead > of) callee's number which would offer a double check for caller > which might be confusing extensions, for instance. > > > I tried this : > exten => _123X, 1, SIPAddHeader(To: Doe \<sip [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>\;user=phone\>) > > but I still got : > To: <sip [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;user=phone> > > I must add I also tried without success : > exten => _123X, 1, Set(SIALPEERNAME=Doe)
Have you tried Set(CALLERID(name)="Doe")? This the normal method for setting caller ID names in Asterisk. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
