I was about to suggest the same thing (i.e. replace the display name part of the FROM header). Haven't looked into the other header fields in any great detail so I cannot say for sure, but the UAC module using uac_replace_from with/without AVPs should provide you with the aforementioned functionality.
 
For voip to voip calls, this should not be a problem.
 
For PSTN to voip however, this may depend on how your provider is handling DIDs and whether any data-filling of the numbers is done on the softswitch. Lack of data-filling may be a reason if you are being presented with 'anonymous' regardless of the display name in the FROM field.


 
On 9/29/06, Klaus Darilion <klaus.mailinglists@pernau.at> wrote:
It depends on how your SIP phone wants to receive the callerid. Most
phones use the From URI. If your phone requires Remote-Party-ID or
P-Asserted-Identity, you can add this header using append_hf and using
pseudo variables to copy the callerid from the From header to the new
header.

regards
klaus

Tracy Lofton wrote:
> Hi Everybody,
>
> I was wondering if I would be able to display the CallerID in the
> display of the callee's phone rather than it displaying anonymous, maybe
> it can be done if I used something like this from the tm module:
>
> if(search("From:[0-9]{10}@.*"){
> append_hf("remote-party-id:<sip:2134445555 at mydomain.com>")
> )
> or would i use openser auth module with append_rpid_hf()
>
> in some form or fashion?   If so, how can I do this?
>
> Just need a little input, guidance and assistance and to know if it
> actually can be done.  If not this method, then what can I use to
> display the callID of the calling party to the caller display.  Some
> providers are known to block the call if a certain amount of digits are
> not displayed.
>
>
> Thanks in advance.
>
> Tracy
>
> _________________________________________________________________
> Add fun gadgets and colorful themes to express yourself on Windows Live
> Spaces
> http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
>
>
>
> _______________________________________________
> Users mailing list
> Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users