[Users] Calls where both endpoints are registered users fail.

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 11 09:53:51 CEST 2005


Can you send an ngrep dump? I think the message details are important.


Brandon Price wrote:
> 
> 
> {
> if (method=="INVITE" && uri =~ "sip:1[0-9]{10}@.*"){
>         if (is_user_in("From", "ld")){
>                 if (!www_authorize("", "subscriber")){
>                 www_challenge("", "1");
>                         break;
>                         append_rpid_hf();
>                         };
> 
>                         setflag(1);
>                         consume_credentials();
> 
>         if(lookup("location")) {
>                         # if found, forward there...
>                         t_relay();
here you need an "exit;"

regards
klaus

>                         } else {
>                         prefix("+");
>                         rewritehost("ourpstngateway");
>                         };
>                 };
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
> 
> 





More information about the Users mailing list