[Freeswitch-users] Dialplan command to check gateway status before bridge

Adam Raszynski netcentrica at gmail.com
Tue Jul 12 14:48:14 MSD 2016


Yes Mirko, for sure but not while making over 100 CPS. I'm looking for
generic way to do this from FS dialplan, no shell spawning, hacking etc

2016-07-12 10:09 GMT+02:00 Mirko Brankovic <mirkobrankovic at gmail.com>:

> Well you can do from shell, something like:
> fs_cli -x "sofia status gateway example.com" | grep "^State\|^Status"
>
> And then make a script that will parse the output....
>
> Regards,
> Mirko
>
> On Mon, Jul 11, 2016 at 5:10 PM, Adam Raszynski <netcentrica at gmail.com>
> wrote:
>
>> Hi all
>>
>> I'm looking for dialplan command to check if selected gateway is up or
>> down
>>
>> I'd like to make some kind of condition:
>>
>> if gateway x status is up than do something
>>
>> Any hints?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Regards,
> Mirko
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160712/c833dd4b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list