<div dir="ltr">Hello guys,<div><br></div><div>Is there any way of adding a custom header to an outbound registration for a gateway?</div><div>I know you can add headers on the gateway definition, but that only works for outbound calls, like this:</div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace"><include></font></div><div><font face="monospace, monospace">  <gateway name="mygw"></font></div><div><font face="monospace, monospace">    <param name="username" value="user" /></font></div><div><font face="monospace, monospace">    <param name="password" value="password" /></font></div><div><font face="monospace, monospace">    <param name="register" value="false"/></font></div><div><font face="monospace, monospace">    <param name="caller-id-in-from" value="true"/></font></div><div><font face="monospace, monospace">    <param name="realm" </font></div><div><font face="monospace, monospace">    <param name="proxy" value="<a href="http://mydomain.com:5060">mydomain.com:5060</a>"/></font></div><div><font face="monospace, monospace">    <variables></font></div><div><font face="monospace, monospace">      <variable name="sip_h_X-destination" value="outbound"/></font></div><div><font face="monospace, monospace">    </variables></font></div><div><font face="monospace, monospace">  </gateway></font></div><div><font face="monospace, monospace"></include></font></div></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=80a7559a-bb84-4719-8968-7fdc9e0ac9d9"><font color="#ffffff" size="1">ᐧ</font></div>