[OpenSER-Users] OpenSER 1.2.2 and 302 Moved, funny log issue?
Tobias Lindgren
tobias.lindgren at ip-only.se
Fri Feb 15 14:12:22 CET 2008
Hi there,
I was trying to do this in OpenSER 1.2.2:
failure_route[1] {
if (t_check_status("302")){
xlog("L_ERR", "302 source ip address is $si");
if (src_ip == 192.168.5.1) {
# Do something
};
};
};
But the proxy sending the 302 (192.168.5.1) is not the one who ends up
in my logs, instead my sip-server (192.168.1.1) who initiated the call
ends up in the log.
"302 source ip address is 192.168.1.1".
Have I understood the "$si" psuedo variable wrong? Can I find the
correct source address of the 302-message somehow?
Br,
/Tobias
More information about the Users
mailing list