[Users] How to change contact

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Nov 11 12:03:16 CET 2005


Hello,

On 11/10/05 14:26, Taras Bendik wrote:
> Hi
>
> I need something similar so fix_nated_contact but with parametars so I 
> can set up my own values for host:port.
> Can I do this in OpenSer? Can avp_pushto do this?
You can add any type of header with avp_pushto(), so you can add a 
contact header, too. To delete the old one, you have to use remove_hf() 
from textops. avp_printf() can help to compose the body of the header.

Cheers,
Daniel

>
> Regards,
> Taras
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the sr-users mailing list