[Freeswitch-users] Gateway real-time

Michael Collins msc at freeswitch.org
Thu Jul 28 01:21:14 MSD 2011


On Wed, Jul 27, 2011 at 9:40 AM, Steven Ayre <steveayre at gmail.com> wrote:

> That's not possible. Sofia needs you to do a 'sofia profile <name> rescan'
> to pick up new gateways, and if a gateway has changed its parameters you
> need to do 'sofia profile <name> killgw <gwname>' then rescan.
>
> There's a reason for it too - FS has to register with the gateway then keep
> pinging it with OPTIONS requests. That means the gateway needs an object
> stored in memory. It wouldn't be ideal for FS to constantly poll a database
> looking for changes for something that might never change, so you're left
> with rescan.
>
> You could however have a DB trigger that runs a script that connects via
> ESL and does that for you though...
>
> -Steve
>
> What about Tony's "Enterprise vs. shuttlecraft" trick?
http://wiki.freeswitch.org/wiki/Clarification:gateways#Clarification

You can trigger a gateway to be "active" only when a particular user
registers, i.e. an inbound registration triggers an outbound registration. I
don't know if it will work in this scenario but it's worth looking into...

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110727/6391c157/attachment.html 


More information about the FreeSWITCH-users mailing list