Hi,
I'm trying configure Openser as Registar/Proxy SIP with mysql, I have set 2 accounts,
I use X-lite as softphone. It can be registered but not able for call (Ok for REGISTER
method). when I try to call (INVITE method) there are errors in log :
"Proxy authentication failed .................."
The routing script for INVITE method :
route[4]
{
sl_send_reply("100", "Trying");
if(!proxy_authorize("", "subscriber"))
{
xlog("L_INFO", "Proxy authentication failed - M=$rm
RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
proxy_challenge("", "0");
exit;
}
if(!check_from())
{
xlog("L_INFO", "Spoofed From-URI detected - M=$rm RURI=$ru
F=$fu T=$tu IP=$si ID=$ci\n");
sl_send_reply("403", "Spoofed From-URI Detected");
exit;
}
#consume_credentials();
if(nat_uac_test("19"))
{
setbflag(6);
}
route(5);
}
Thanks,
Regards,
Tsitsi
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez
des connaissances, des opinions et des expériences des internautes sur Yahoo!
Questions/Réponses.