Hello dear SER experts.
I need to run SER on the different port in same reason. However, in this case `if (uri == myself)' is not true and the block after them is not proceed. When I run SER on the defaut 5060 port, all the OK and the above condition is true.
Why?
Now, to feed this condition instead of using "myself" I use regexp, i.e.
if (uri =~ "(.+@)?(sip.)?mydomain.com([:;?].*)?$") { ... }
But, I will probably need to support different SER servers for several domains, and it would be more convinient for me to have the same config file for all of them.
Thank you very much.