[OpenSIPS-Users] Group ID problem

Wesley Volcov wesleyvolcov at gmail.com
Fri Apr 8 19:03:06 CEST 2011


Hello list,

I'm using opensips 1.6.2.

I have the follow configuration in my AUTH route:

if (check_source_address("0","$avp(i:9)")) {
             $avp(i:10) = get_source_group();
             xlog("L_INFO",  "GroupID: $avp(i:10)");
}

In my address table, i have:
grp = 1
ip = 192.68.10.10
mask = 32
port = 0
proto = UDP

When I send a call, from a gw authenticated via IP, it gets the follow group
ID:
GroupID: 4294967295

And then, it can not found a route, because all the routes are configured
with groupid 1. But, I don't know how opensips is getting this groupid..
Could someone helpe me?

Thanks a lot!

-- 
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110408/5a26cb71/attachment.htm>


More information about the Users mailing list