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.
For example: User-Agent value always save as "arif" in location database.
Thanks in advance, ARIF
Klaus Darilion-2 wrote:
What for do you need this? MAybe you can use the flags instead.
For some security reason i do like to implement this feature. Could you please send me details how flag will help in this scenario?
Thanks, ARIF
http://www.kamailio.org/dokuwiki/doku.php/utils:flags
Flags will be saved during save() and restored during lookup()
regards klaus
arif.zaman schrieb:
Klaus Darilion schrieb:
http://www.kamailio.org/dokuwiki/doku.php/utils:flags
Flags will be saved during save() and restored during lookup()
Correction: only branch flags (also called bflags or contact flags) are saved/restored
regards klaus
Klaus Darilion-2 wrote:
I'm not sure about bflags. Is it possible to change user-agent value before saving it to database using branch flags?
Thanks, ARIF
Klaus Darilion-2 wrote:
No. As I said it is not possible.
Thanks Klaus for your clarification! ARIF