<div dir="ltr">Hi,<div><br></div><div>Call comes over external gateway and pass to another external gateway via outbound proxy (no authentication nor registration), but on b-leg contact header is not as expected username from tag 'From:' of a-leg.</div>
<div><br></div><div>a-leg works correct for inbound calls via external gateway:</div><div><br></div><div> Contact: <sip:1001@1.2.3.4:5060;transport=udp></div><div><br></div><div>but b-leg (outbound calls) has header set to:</div>
<div><br></div><div><div> Contact: <sip:auto_to_user@1.2.3.4:5060;transport=udp;gw=mygw></div><div><br></div><div>I tried to set empty value or comment this line of external gateway:</div><div><br></div><div><param name="extension" value="auto_to_user"/><br>
</div><div><br></div><div>but then call failed.</div><div><br></div><div>How to set user in contact header on b-leg or/and what to export from dial plan to populate user in contact header on external gateway?</div><div><br>
</div><div>Regards,</div>Seudin </div></div>