I'm trying to create a multidomain-like structure. I have opensips on ip 10.0.0.1 and org1.mycomp.comp and org2.mycomp.com binded in DNS to that ip. In the mysql table "subscriber" there is
id = 1; name = 100; domain=org1.mycorp.com, etc…
A sip phone configured with "registration server = org1.mycorp.com"
The opensips.cfg is very trivial and if i'll write ip instead of "org1.mycorp.com" in subscriber and in the telephone registration will be successful.
But now opensips goes to a infinite loop trying to route register request to the "org1.mycorp.com" (e.g. route itself)
In the message log there are:
grep_sock_info: checking if host==us: 18==8 && ==
host != me
What should i do?