Hi,
When mid_registrar_save() returns code "2", you need to explicitly route
(by changing RURI or DST URI) to the address of the main registrar (by
IP+port+proto). See
https://opensips.org/html/docs/modules/2.4.x/mid_registrar.html#func_mid_registrar_save
.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 03/15/2019 06:50 PM, John Kiniston wrote:
I'm using mid_registrar.
modparam("mid_registrar", "mode", 2)
modparam("mid_registrar", "received_avp", "$avp(received)")
modparam("mid_registrar", "max_contacts", 4)
modparam("mid_registrar", "outgoing_expires", 3600)
modparam("mid_registrar", "default_expires", 300)
modparam("mid_registrar", "min_expires", 60)
modparam("mid_registrar", "max_expires", 600)
modparam("mid_registrar", "tcp_persistent_flag",
"TCP_PERSIST_REGISTRATIONS")
I'm not modifying RURI in my script anywhere, this is working fine
with udp, just a t_relay at the end of my script.
mid_registrar_save("location", , , "3600");
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users