Skip to main content

Call Groups

About

Ring several phones at once. Ring all phone extensions in a group all at once or in order. Any two digit group number may be used. The following example will use group number 01.

Click here to expand Table of Contents

Group Extensions

Add to Group

81[2 digit group number]

Calling Extension 8101 will add the current phone to group 01.

Delete from Group

80[2 digit group number]

Calling Extension 8001 will remove the current phone extension from group 01.

Ring Group Simultaneous

82[2 digit group number]

Calling Extension 8201 will ring all phone extensions in group 01.

Ring Group Order

83[2 digit group number]

Calling Extension 8301 will ring the first phone extensions in group 01 followed by the next phone in the group and then ring the next phone extension in the group until the call is answered.

Manipulating Groups from the Server

Adding an external number to a Call Group

Assuming that the local domain is set to example.com, and you want the group to make a call to 01234555678 via a gateway called sipprivider, you can do it thus from the CLI:

group insert:01@example.com:[sip_cid_type=none]sofia/gateway/sipprovider/01234555678

This allows one to set things up so that extensions can be logged in/out using the above 8xxx codes, but the group always calls one's mobile(s)

Deleting from a Group

It is possible to delete items in a group using the 'group delete' command at the FreeSwitch CLI, but you need to know what's in the group. If it all goes horribly wrong, you can get rid of a call group by manipulating the SQL database directly. Assuming that you're using SQLight3, you can see the current state of play, thus:

# sqlite3 ~freeswitch/db/call_limit.db
sqlite> .headers ON
sqlite> select * from group_data;
hostname|groupname|url
voip|01@example.com|[sip_cid_type=none]sofia/gateway/sipprovider/01234555678
voip|01@example.com|sofia/internal/sip:1000@12.23.34.45:2048;line=abcde

and then discard (in this case) group 01@example.com thus:

sqlite> delete from group_data where groupname = '01@example.com';

See Also

Features