Hi there
Andreas Granig wrote:
Well, I have
to check if *calling* are registered on my proxy, before
to allow him to make any calls!
In my tests, if a setup on ata186 sipregon=0 so I can make calls, I
have to block this...
But why do you want to force users to register?
perhaps because all calls must be payed, or to prevent non-registered
(i.e. blocked) users to place calls to outside...
The snippet
if(method=="INVITE" && !proxy_authorize("your.domain",
"subscriber"))
{
proxy_challenge("your.domain", "0");
break;
}
prevents unauthorized users from placing calls.
but it would also prevent outside calls to registered
(local) users to be placed, am I right?
The registration has
nothing to do with authorization or something like that, it's just that
SER knows whom to contact when someone calls the user via the proxy.
good clarification, thanks!
Cheers
!3runo