<div dir="ltr">Hi guys.<div><br></div><div>I've a scenario here where I'm receiving inbound traffic from a Mitel PBX on a LAN environment with a bunch of router hops between kamailio and the Mitel. Sometimes, not always, I get traffic from the MItel PBX where the source port is changed in transit (some kind of NAT, still don't know where exactly) from 5060 to a dynamic port different from 5060. Every INVITE comes with rport in via header as:</div><div><br></div><div>..</div><div>Via: SIP/2.0/UDP 10.21.252.35:5060;branch=z9hG4bK-524287-1---d6bac01809527627<b>;rport</b><br></div><div>..</div><div><br></div><div>when this happens kamailio sends all the replies to the $si:$sp symmetrically (force_rport behavior) and I would like to force the opposite instead, making it asymmetric and sending the traffic to $si:5060 everytime.</div><div><br></div><div>I'm having a hard time forcing the <b>unforce</b>_rport() behavior. Does anyone have a good suggestion for this?</div><div>Looking forward to hear from you.</div><div><br></div><div>Cheers,</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--<br>Nuno Miguel Reis<br>Departamento de Engenharia Informática  <br>Faculdade de
    Ciências e Tecnologia  <br>Universidade de Coimbra<br></div></div></div></div>