[OpenSIPS-Users] check_source_address() failures

Brad Bendy brad.bendy at benganetworks.com
Wed Oct 14 00:19:20 CEST 2009


I know on mine I had to set port to 5060 (5068 in your case) or whatever 
you want, otherwise it would not work for me.

Im sure you can use a * for any port number as well, but I have not 
tried that.

Jeff Pyle wrote:
> Hello,
>
> A request arrives at Opensips 1.6 from address 175.88.228.19:5068 on UDP.
> The address table contains:
>
> +----+-----+--------------+------+------+-------+----------+--------------+
> | id | grp | ip           | mask | port | proto | pattern  | context_info |
> +----+-----+--------------+------+------+-------+----------+--------------+
> | 38 |  10 | 175.88.228.0 |   24 |    0 | udp   | ^sip:.*$ | src_test     |
> +----+-----+--------------+------+------+-------+----------+--------------+
>
> I would expect if(check_source_address("10")) to succeed, yet it does not.
> Any thoughts?
>
> I'm using check_source_address() elsewhere in my config to emulate the old
> allow_trusted, and that works just fine.
>
>
> Thanks,
> Jeff
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list