CC'ing to the list...
Change the from pattern and just place .* (without the ^sip: and the $) if you want to accept ALL from patterns.
Samuel.
2006/9/15, ravi reddy mravikreddy@gmail.com:
Thanks for your reply Samuel,
I will get income calls from 6 pstn gateways and i had added all the ip-adresses in the trusted table as follows src_ip proto from_pattern pstngw any ^sip:.*$
but even though my SER is asking the authentication what i have to do :-(
On 9/15/06, samuel samu60@gmail.com wrote:
Take a look at the getting started doc and you'll find how to use allow_trusted. For instance:
#
- # Call Type Processing Section
- #
- if (!is_uri_host_local()) {
- if (is_from_local() || allow_trusted()) {
- route(4);
- route(1);
- } else {
- sl_send_reply("403", "Forbidden");
- };
- break;
- };
You would have to populate the trusted table in the SER's DB with the "trusted" IPs.
Samuel.
2006/9/14,
ravi reddy mravikreddy@gmail.com:
Hi samuel,
I am using onsip.org ser.cfg and how can we check allow_trusted is
true
?
Thank You for reply.
Regards, Ravi.
On 9/14/06, samuel samu60@gmail.com wrote:
you have to check whether allow_trusted returns true or not before any auth. action.
Samuel.
2006/9/14, ravi reddy mravikreddy@gmail.com:
Hi ,
When i tried to make a incoming call from pstn to SER its
asking
for
proxy authentication required,
I had entered the pstngw ip address in trusted table even then the
same
problem , is any thing else i have to do ;-)
how i can cross this problem.
Thank
You.
Regards, Ravi.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers