[Freeswitch-users] making group of phones ring from the command line

Steven Ayre steveayre at gmail.com
Mon Feb 18 19:18:21 MSK 2013


Use the 'originate' API over ESL (fs_cli connects via ESL).

You can give it two parameters:
1) The dialstring to call (the dialstring for the group of phones)
2) Where to bridge the call to - &playback(filename) would play a recording

For the dialstring you can use a forked dial. With a defined call group use
the group_call API with the +A flag.

See:
http://wiki.freeswitch.org/wiki/Mod_commands#originate
http://wiki.freeswitch.org/wiki/Mod_commands#group_call

-Steve





On 18 February 2013 15:43, Johan Helsingius <julf at julf.com> wrote:

> Another really stupid one...
>
> I want to have an alarm process make a group of phones ring.
> There doesn't need to be a real connection, as nobody will
> pick up the connection, but as an alternative it could play
> a standard recording if answered.
>
> I have the group defined as a group in the directory but
> also as a context and number leading to a group call in
> the dialplan.
>
> So what I need is a command to fs_cli that makes a call to
> the group or dialplan extension. Haven't managed to figure
> out how to do it...
>
>         Julf
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20130218/52259447/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list