<div>Hello Everyone,</div><div>In which case mid_registrar will not rewrite contact ? </div><div>I see when present param ;transport=tls contact is not rewritten. </div><div>config</div><br><div>#### REGISTRAR module</div><div>loadmodule "mid_registrar.so"</div><div>modparam("mid_registrar", "mode", 2)</div><div>modparam("mid_registrar", "received_avp", "$avp(RECEIVED)")</div><div>modparam("mid_registrar", "max_contacts", 10)</div><div>modparam("mid_registrar", "tcp_persistent_flag", "TCP_PERSIST_REGISTRATIONS")</div><div>modparam("mid_registrar", "outgoing_expires", 7200)</div><br><div>code </div><br><div>                        if($proto=="TCP|tcp|TLS|tls") {</div><div>                                setflag(TCP_PERSIST_REGISTRATIONS);</div><div>                        }</div><div>                        mid_registrar_save("location","p1");</div><div>                        # Work arround for github issue #1109</div><div>                        append_hf("Path: <sip:$fU@lan_ip:5060;transport=udp>\r\n");</div><div>                        xlog("L_INFO", "Forwarding REGISTER to main registrar ~> [$ct]\n");</div><div>                }</div><br><br><div>Freeswitch contact</div><br><div>Call-ID:         1293754241-5060-1@BJC.BGI.B.GF</div><div>User:              101@domain.com</div><div>Contact:           "" <sip:101@192.168.1.65:5060;transport=tls;fs_path=sip%3A101%4010.30.100.41%3A5060%3Btransport%3Dudp></div><div>Agent:             Grandstream GXP1760W 1.0.1.74</div><div>Status:             Registered(TLS)(unknown) EXP(2018-09-30 19:37:59) EXPSECS(429254)</div><div>Ping-Status:    Reachable</div><div>Ping-Time:      0.00</div><div>Host:        pbx04.domain.lan</div><div>IP:              10.30.100.41</div><div>Port:        5060</div><div>Auth-User:   101</div><div>Auth-Realm:   domain.com</div><div>MWI-Account:   <a href="mailto:101@domain.com" title="mailto:101@domain.com">101@domain.com</a><br></div><div>volga629</div><br><br>