your cap looks weird. your proxy receives invite from (i think) gw,
forwards it, and then sends 407 to gw. try to check from your config
file, why your proxy challenges the invite after it has forwarded it.
perhaps your cap does not include all packets (all interfaces).
-- juha