[SR-Users] loose_route ACK and BYE

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 6 07:51:55 CET 2017


Hello,

can you paste the output of ngrep for the ACK and BYE? Maybe one of it
has Route headers that get to $du and then have to be overwritten. $du
is used for routing if set, if not $ru.

Cheers,
Daniel


On 03/02/2017 13:33, Ben Hood wrote:
> Hi,
>
> I've fixed a loose_route problem with a broken gateway.
>
> Essentially gateway sends ACKs and BYEs with an unroutable contact
> header (i.e. it sticks the address of the proxy into the header,
> rather than the destination UA address).
>
> This is all on the same network, so there is not NAT.
>
> So by caching the contact URI to for replies back to the gateway, I
> can populate $ru to forward the ACK or BYE back to the correct UA.
>
> However, what I've noticed is that for BYEs, I also need to set the
> $du variable in addition to $ru. But this is required for ACKs.
>
> This is not a problem per se, but I'm interesting to know why - could
> anybody explain?
>
> Cheers,
>
> Ben
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-users mailing list