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 <[email protected] <mailto:[email protected]>> 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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to