[OpenSIPS-Users] Add Contact parameters
bogdan at opensips.org
Tue Aug 21 12:08:46 EDT 2018
There is no straight function for adding a Contact URI param, but you
may abuse the fix_nated_contact(";my_param=my_val"); hopefully the
replacement of the IP in URI will be a NOP (if there is not NAT).
OpenSIPS Founder and Developer
OpenSIPS Bootcamp 2018
On 08/14/2018 03:32 PM, Jeff Pyle wrote:
> Is it possible to add a parameter to the Contact header as a message
> passes through the proxy? Specifically I need to add at least one
> parameter to the Contact user. I realize this isn't as simple as it
> seems on the surface since it would probably have to be managed on
> every message passing through the proxy, not unlike how the
> uac_replace_from() manages changing the From header.
> In my application completely rewriting the Contact header
> topology_hiding() style is fine as well as long as I can manipulate
> the new parameters at the time of the initial INVITE.
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users