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