2008/12/11 <[EMAIL PROTECTED]>: > > If the port 5060 is assigned to the X-Lite softphone the from uri is correct > while if the port number is different from 5060 the uri becomes: sip:[EMAIL > PROTECTED]:5061 > Softphones and proxy are in the same domain.
Ok, very estrange anyway. I'm not sure about if "myself" also matches the port, I 'd say that it doesn't do it, but if you say... Instead of: if ( from_uri==myself ) Use: if ( $rd == DOMAIN ) Of course, this is just valid if you have just few domains: if ( $rd == DOMAIN_1 || $rd == DOMAIN_2 ) If not, you can use "domain" module that uses a DB table to store all the domains and provide simple functions to match the RURI or From domain against existing domains in the table. -- Iñaki Baz Castillo <[EMAIL PROTECTED]> _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
