[OpenSIPS-Users] Authentication problem with softphone X-Lite

mmarzuola at interfree.it mmarzuola at interfree.it
Thu Dec 11 15:15:38 CET 2008


Hi.
I have solved using the function is_uri_host_local () of the domain module.

Thanks.

Marzuola Matteo

>
> 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:1001 at mysip.com: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.


-- 
Iaki Baz Castillo

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



----------------------------------------------------------------------------
Vuoi essere presente online? 
Vuoi dare voce alla tua attivita`? 
Acquista un dominio su domini.interfree.it.
A partire da 18,59 euro
----------------------------------------------------------------------------




More information about the Users mailing list