@alexyosifov commented on this pull request.
@@ -779,6 +752,9 @@ int ipsec_forward(struct sip_msg* m, udomain_t* d, int _cflags)
unsigned short src_port = 0; ip_addr_t via_host;
+ ci.reg_state = PCONTACT_ANY;
The same as above comment in ipsec_create().