davy van de moere writes:
Imho Kamailio does what it is supposed to do, it forwards the packet to the first element in the Route header.
yes.
But as I received the BYE packet from sip:their_sbc , that one should have stripped itself out of the Route header, making everything just work, right?
yes, the previous sip proxy should have removed itself from the route header.
Now I can hackishly fix it with a rewritehostport in the middle. But that will eventually not scale up that nicely. Ergo, does anyone have a good idea on how to e.g. have Kamailio in this situation ignore the first uri in the route header? Or am I still not getting it :) ?
you are getting it and the only right fix is to fix the previous proxy that works incorrectly. it is very bad idea to start hacking around these kind of problems.
-- juha