It looks like that I looked for, but it will not work on my SER: --- snip --- if( registered( "location" ) ) { rewritehostport( "localhost:5061" ); } else { log( 1, "ERR: <403> Unauthorized call\n" ); sl_send_reply( "403", "Unauthorized call" ); break; }; --- snap ---
It will always do the "else" condition. Did I made something wrong?
Regrds Bastian
Cesc schrieb:
Hi,
I think you are looking for the function registered("location")
Regards,
C.
On 5/31/05, Bastian Schern ml01@in-bln.de wrote:
Hello everybody,
is it possible to check if a user is already registered or authenticated?
I want to allow only registered users call to PSTN destinations.
Regards Bastian