Hi, 407 is a reply, so i guess, kamailio sends the duplicate message to default target configured in modpraram. You should configure something like onreply_route { if 407 sip_trace(sip:Y.Y.Y.Y) }
Unfortunately - I can see no traffic/messages in the onreply_route from auth_challenge - all other replies are visible there.
``` onreply_route { xlog("L_INFO", "[onreply_route] {$ci} - rm: $rm rs: $rs"); } ```