[Kamailio-Users] Re write any SIP Header Value!

Klaus Darilion klaus.mailinglists at pernau.at
Mon Oct 20 14:29:45 CEST 2008



arif.zaman schrieb:
> Hi,
> 
> Is it possible to update any SIP Header (i.e. User-Agent) value before it
> saving to “location” database? If yes, please help me with sample config.

No. save() uses the values of the received SIP message, thus, changes to 
the header before save() are not visible to save.

What for do you need this? MAybe you can use the flags instead.

regards
klaus

> 
> For example:
>    User-Agent value always save as "arif" in location database.
> 
> Thanks in advance,
> ARIF
> 




More information about the sr-users mailing list