[OpenSIPS-Users] how to handle nat with mid registrar
Aqs Younas
aqsyounas at gmail.com
Tue Oct 31 07:48:23 EDT 2017
Yes, i had tried it but i was getting error like this.
ERROR:mid_registrar:overwrite_all_contact_hostports: SCRIPT BUG - second
attempt to change URI Contact
ERROR:mid_registrar:mid_reg_req_fwded: failed to overwrite Contact URI
This is what I found in archive.
http://opensips-open-sip-server.1449251.n2.nabble.com/nathelper-and-mid-register-td7608807.html#a7608826
Any workaround for this?
Thanks.
On 31 October 2017 at 16:37, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:
> Sorry, there is a type in the prev email, it should be "So, have you
> actually tried the *fix_nated_regis**trar**()* + mid_registrar_save() ?"
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 10/31/2017 01:25 PM, Bogdan-Andrei Iancu wrote:
>
> 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> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171031/35fa0882/attachment-0001.html>
More information about the Users
mailing list