<div dir="ltr">Unfortunaltely, both
callerid='Jhon Doe' <1234> and Set(CALLERID(name)="Doe") don't work as I would like them to.<br><br>For both, caller's phone screen still displays callee's number, not callee's name.<br>
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.<br><br>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)<br>
<br>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 :<br><br>Alice Asterisk Bob<br>
--------------------- INVITE bob ----------------><br> ----------------------INVITE Bob -----------------><br> <---- TRYING with Callername set --------<br>
<---- TRYING with Callername set --------<br> <---- RINGING with Callername set --------<br><---- RINGING with Callername set --------<br><br><br>Regards<br>
<br><br><br><div class="gmail_quote">2008/10/3 Mr Shunz <span dir="ltr"><<a href="mailto:mrshunz@gmail.com">mrshunz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
[snip[<br>
<div class="Ih2E3d"><br>
> This way, I'm hoping to display callee's name beside (or instead of)<br>
> callee's number which would offer a double check for caller which might be<br>
> confusing extensions, for instance.<br>
<br>
</div>you can set callerid per-peer in sip.conf<br>
like:<br>
<br>
callerid='Jhon Doe' <1234><br>
<br>
this should work autmagically ;)<br>
<br>
cheers<br>
<font color="#888888"><br>
--<br>
------------------------------------------------<br>
Daniele Santi .o.<br>
<a href="mailto:daniele@santi.vr.it">daniele@santi.vr.it</a> ..o () ascii ribbon campaign<br>
Linux User #415108 ooo /\ <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a><br>
------------------------------------------------<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>