[Freeswitch-users] Directory Gateway Start On Demand

Martin Gordian Martin.Gordian at c4b.de
Fri Dec 8 13:07:28 UTC 2017


Hello List,

according to https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration example 3, I have configured a gateway for a user to come up and down only when the user is registered, like this

<user id="12345">
  <params>
    <param name="password" value="12345678" />
  </params>
  <variables>
    <variable name="default_gateway" value="GW_12345"/>
  </variables>
  <gateways>
    <gateway name="GW_12345">
      <param name="username" value="54321"/>
      <param name="password" value="87654321"/>
      <param name="proxy" value="111.111.111.111:5060"/>
      <param name="register" value="false"/>
    </gateway>
  </gateways>
</user>

Now, according to the clarification on the mentioned page, I expect to see a SIP REGISTER request in Wireshark, from FreeSWITCH to 111.111.111.111 (changed the IP for the question), when the user 12345 registers. But there is none. Checking the gateway with sofia command reveals that there is no SIP registration done, the gatesway is down.

What am I missing here, so that the gateway will come up when the user 12345 registers?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171208/702d4a23/attachment.html>


More information about the FreeSWITCH-users mailing list