[Serusers] Writing in acc table information from SIP messages

Ricardo Carvalho rcarvalho at iric.up.pt
Mon Sep 25 18:31:47 CEST 2006


Hi,

How may I edit ser.cfg so that every time Ser receives an 302 reply, it 
writes in acc table the "SIP contact address" of the forwarded URI 
address that comes in that message?

I think that can be done with avp_write that searches that contact URI 
address in SIP messages and stores it in a variable, and than using 
avp_db_store to write the contents of that variable to the database, 
isn't it?
But how can I do that? Any help?

Regards,
Ricardo.



More information about the sr-users mailing list