Using opensips 1.6.3 SVN # 7282
I noticed that if I have a gateway defined in the dr_gateways tables as a
hostname, the goes_to_gw function never works (it gets skipped). But if I
change that hostname to an IP address, the function works properly. Is this
how its supposed to function or is it a bug?
do_routing()
if (goes_to_gw("2")) {
xlog ("the GW type is 2");
setflag(10);
route(4);
exit;
}
For example, the above code only works if the gateway is defined as
³10.1.1.5² not ³test.something.com². The gw type field is always set to ³2².
Sven Schulz
Penn State University
Telecommunications and Network Services
814.865.6116
sip:[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users