[Users] How to change To and From URI in SIP message ?

Klaus Darilion klaus.mailinglists at pernau.at
Fri May 25 10:03:38 CEST 2007


I guess in notify.c.
But AFAIK the display name portion is not saved in the database - only 
the to-URI and the to-tag. Thus, you can't restore the Original Username 
without saving the whole To header into database.

regards
klaus

mika.saari at wipsl.com wrote:
> Hi,
> 
>   I have to try changing the To and From URI like below:
> 
>   At the moment: To: sip:test1 at test.com;tag=.....
>   To be like: To: "test1"<sip:test1 at test.com>;tag=...
> 
>   What would be the easiest way for doing this for presence NOTIFY SIP
> message ? Or if this can not be done with configuration system, then
> from where in the code the SIP message header is generated ?
> 
>   Thanks a lot,
>     -Mika
> 
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list