[OpenSIPS-Users] how to handle nat with mid registrar
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Oct 31 07:25:59 EDT 2017
Hi,
Actually fix_nated_registrar() does not rewrite the contact (it is
adding a "received" field into user location). So, have you actually
tried the fix_nated_contact() + mid_registrar_save() ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 10/28/2017 02:30 PM, Aqs Younas wrote:
> Anything?
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
>
> On 27 October 2017 at 17:26, Aqs Younas <aqsyounas at gmail.com
> <mailto:aqsyounas at gmail.com>> wrote:
>
> Greeting list,
>
> I am using mid-registrar to forward register requests to
> freeswitch server. I see i can't call fix_nated_register
> and mid_registrar_save("location") both, since they both are
> doing contact rewrite.
>
> Also i can't use modparam("mid_registrar", "insertion_mode", 1)
> since it will insert path header instead of re-writing contact.
>
> My purpose of using mid-registrar was to get rid of path header.
>
> It there any work around? Anything doable using memcache. Saving
> information on register and using that info to populate $du upon
> lookup.
>
> Best Regards,
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171031/ab940bde/attachment.html>
More information about the Users
mailing list