[Freeswitch-users] Setting gateway username dynamically

Liam Farr liam at intersys.co.nz
Tue May 24 10:17:59 MSD 2011


Hi,



I have a sip provider who requires me to set the username to be the same as
the outbound caller id for the gateway (trunk) to them.



Is there a way to do this dynamically for each call?



e.g.



<include>

    <gateway name="SIP-Provider">

      <param name="username" value="${outbound_caller_id_number}"/>

      <param name="password" value="password"/>

      <param name="realm" value="1.2.3.4"/>

      <param name="proxy" value="1.2.3.4"/>

      <param name="expire-seconds" value="800"/>

      <param name="register" value="false"/>

      <param name="retry-seconds" value="60"/>

      <param name="context" value="public"/>

    </gateway>

</include>





Cheers



Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110524/bb0f29ca/attachment.html 


More information about the FreeSWITCH-users mailing list