[OpenSIPS-Users] Unregistered Calls

Rodrigo Ferreira rodrigo.ferreira at vipway.net.br
Tue Sep 20 21:02:56 CEST 2011


I did this and my problem was solved.

        if ( !check_source_address("0") && !is_from_local() ) {
                sl_send_reply("403", "Forbidden");
                exit;
        }

now only servers in my address table are able to make calls.

Thanks.


From: Rodrigo Ferreira 
Sent: Monday, August 29, 2011 11:49 AM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] Unregistered Calls


No, its not.


From: dotnetdub 
Sent: Saturday, August 27, 2011 9:06 PM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] Unregistered Calls





On 26 August 2011 17:27, Rodrigo Ferreira <rodrigo.ferreira at vipway.net.br> wrote:

  Hi,

  I have that, because I'm using the default script, with mysql authentication. I dont know why, just with a dial to a "number at OpensipsServer" from my asterisk, the call is been completed passing through my Opensips, it shouldn't be completed.


Your asterisk is setup as a trusted host?


--------------------------------------------------------------------------------


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



--------------------------------------------------------------------------------


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110920/55ce9fd3/attachment.htm>


More information about the Users mailing list