In sip-server1.cfg

 if (!lookup("location","m")) {
*rewritehost("domain2.com");*
*t_relay("udp:domain2.com:port");*
  t_newtran();
  t_reply("404", "Not Found");
  exit;
 }
 Then you can make a call to domain2 only by alias.



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-dial-alias-number-between-to-different-domain-tp7594468p7594561.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to