[OpenSIPS-Users] check_source_address() failures

Jeff Pyle jpyle at fidelityvoice.com
Wed Oct 14 00:11:45 CEST 2009


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




More information about the Users mailing list