Unfortunaltely, both callerid='Jhon Doe' <1234> and Set(CALLERID(name)="Doe") don't work as I would like them to.
For both, caller's phone screen still displays callee's number, not callee's name. When looking at SIP messages, you can can see that, unlike caller's name which is included in INVITE Header From: field, INVITE Header To: remains filled with callee's number, not its name. To make myself clear, here is what I'm trying to do : when Alice is calling Bob (Alice -------> Asterisk------->Bob), I would like Bob's phone to display Alice's name (no problem, for that) but I would also like Alice's phone screen to display Bob's name (instead of Bob's number) My SIP hardphone is capable of displaying P-Asserted-Identity in outbound calls (not just inbound) but I couldn't find any way to teach Asterisk to fill this P-Asserted-Identity header : Alice Asterisk Bob --------------------- INVITE bob ----------------> ----------------------INVITE Bob -----------------> <---- TRYING with Callername set -------- <---- TRYING with Callername set -------- <---- RINGING with Callername set -------- <---- RINGING with Callername set -------- Regards 2008/10/3 Mr Shunz <[EMAIL PROTECTED]> > Hi, > > [snip[ > > > 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. > > you can set callerid per-peer in sip.conf > like: > > callerid='Jhon Doe' <1234> > > this should work autmagically ;) > > cheers > > -- > ------------------------------------------------ > Daniele Santi .o. > [EMAIL PROTECTED] ..o () ascii ribbon campaign > Linux User #415108 ooo /\ www.asciiribbon.org > ------------------------------------------------ > > _______________________________________________ > -- 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 >
_______________________________________________ -- 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