[Freeswitch-users] Add header to outbound registration

David Villasmil david.villasmil.work at gmail.com
Mon Sep 3 20:13:10 UTC 2018


Hello guys,

Is there any way of adding a custom header to an outbound registration for
a gateway?
I know you can add headers on the gateway definition, but that only works
for outbound calls, like this:

<include>
  <gateway name="mygw">
    <param name="username" value="user" />
    <param name="password" value="password" />
    <param name="register" value="false"/>
    <param name="caller-id-in-from" value="true"/>
    <param name="realm"
    <param name="proxy" value="mydomain.com:5060"/>
    <variables>
      <variable name="sip_h_X-destination" value="outbound"/>
    </variables>
  </gateway>
</include>

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180903/f64e22d8/attachment.html>


More information about the FreeSWITCH-users mailing list