Hi there,
Could someone please explain to me the actual difference between Alias= and Listen=. I have read the documentation ( http://www.openser.org/dokuwiki/doku.php?id=openser_core_cookbook#alias and http://www.openser.org/dokuwiki/doku.php?id=openser_core_cookbook#listen ) but still cannot distinguish between what the two functions are doing differently.
listen=udp:localhost:5060 /* Loopback */
listen=udp:localhost:5061
listen=udp:localhost:5062
listen=udp:192.168.1.101:5060 /* LAN IP of the server */
listen=udp:
192.168.1.101:5061
listen=udp:192.168.1.101:5062
listen=udp:sip1.foobar.com:5060 /* Domain 1 */
listen=tcp:sip1.foobar.com:5060
listen=udp:sip1.foobar.com:5061
listen=tcp:sip1.foobar.com:5061
listen=udp:sip1.foobar.com:5062
listen=tcp:sip1.foobar.com:5062
listen=udp:sip2.foobar.com:5060
/* Domain 2 */
listen=tcp:sip2.foobar.com:5060
listen=udp:sip2.foobar.com:5061
listen=tcp:
sip2.foobar.com:5061
listen=udp:sip2.foobar.com:5062
listen=tcp:sip2.foobar.com:5062
alias="sip1.foobar.com:5060" /* Aliases for Domain 1 */
alias="sip1.foobar.com:5061"
alias="
sip1.foobar.com:5062"
alias="sip2.foobar.com:5060" /* Aliases for Domain 2 */
alias="sip2.foobar.com:5061"
alias="
sip2.foobar.com:5062"
alias="111.222.333.444>" /* IP OF SERVER */
Now if I understand correctly then if (uri==myself) { } should now be true for each of these domains.