Juha Heinanen wrote:
Klaus Darilion writes:
I do test for totag in the loose_route section.
and what do you do if there is no to-tag like in the case of preloaded route set by nokia phones?
Until now I only had the case with exosip (e.g. my SIPTAPI) which puts in the outbound proxy as pre loaded route (enum.at is hosted by ...160 but exosip does not support SRV thus I have to use a pre loaded route with .160 as next hop, although this is main proxy):
INVITE sip:klaus@enum.at SIP/2.0 Via: SIP/2.0/UDP 10.10.0.50:5088;rport;branch=z9hG4bK662862690 Route: sip:83.136.32.160;lr From: sip:klaus@enum.at;tag=3909918647 To: sip:klaus@enum.at
So, there is only 1 route header, without totag.
If this message is processed by loose_route, loose_route recognizes that .160 is itself and thus the loose_route block is not entered but the message is processed like any other request without route header (openser 1.0.0)
regards klaus