[Freeswitch-users] I can't get group_call to work

Craig Malton iam at craigmalton.com
Sat Mar 12 08:02:00 UTC 2022


Good morning!

I am using xml_curl to retrieve both the directory and the dialplan from an internal API and backend database - No problems there.

I have two extensions in the directory (a manager extension and a rep extension).

The manager extension should dial 1, which is the "test-group-call" extension and I am simply trying to use the group_call method in order to make a call/bridge to all "reps" in the "reps" group.

It's not working at all.

On the cli, I see:

"[WARNING] mod_commands.c:1058 Can't find user [@<MYDOMAIN>]"

and

"error/NO_ROUTE_DESTINATION"

Furthermore, if I use the list_users command, it complains that users are not registered (in fact, there are no other details whatsoever!)

Please can someone tell me what I've messed up on?

DIRECTORY:
<document type="freeswitch/xml">
                <section name="directory">
                                <domain name="<MYDOMAIN>">
                                                <users>
                                                                <user id="d13e8070-9875-11ec-b393-fa163e1882b0">
                                                                                <params>
                                                                                                <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
                                                                                                <param name="password" value="d13e8070-9875-11ec-b393-fa163e1882b0"/>
                                                                                </params>
                                                                                <variables>
                                                                                                <variable name="user_context" value="reps"/>
                                                                                                <variable name="effective_caller_id_name" value="Craig M (Rep)"/>
                                                                                                <variable name="effective_caller_id_number" value="d13e8070-9875-11ec-b393-fa163e1882b0"/>
                                                                                                <variable name="callgroup" value="reps"/>
                                                                                </variables>
                                                                </user>
                                                                <user id="d13e9a48-9875-11ec-b393-fa163e1882b1">
                                                                                <params>
                                                                                                <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
                                                                                                <param name="password" value="d13e9a48-9875-11ec-b393-fa163e1882b1"/>
                                                                                </params>
                                                                                <variables>
                                                                                                <variable name="user_context" value="managers"/>
                                                                                                <variable name="effective_caller_id_name" value="Craig M (Manager)"/>
                                                                                                <variable name="effective_caller_id_number" value="d13e9a48-9875-11ec-b393-fa163e1882b1"/>
                                                                                                <variable name="callgroup" value="managers"/>
                                                                                </variables>
                                                                </user>
                                                </users>
                                                <groups>
                                                                <group name="reps">
                                                                                <users>
                                                                                                <user name="d13e8070-9875-11ec-b393-fa163e1882b0" type="pointer"/>
                                                                                </users>
                                                                </group>
                                                                <group name="managers">
                                                                                <users>
                                                                                                <user name="d13e9a48-9875-11ec-b393-fa163e1882b1" type="pointer"/>
                                                                                </users>
                                                                </group>
                                                </groups>
                                </domain>
                </section>
</document>

DIALPLAN:
<document type="freeswitch/xml">
                <section name="dialplan">
                                <context name="managers">
                                                <extension name="test-group-call">
                                                                <condition field="destination_number" expression="^1$">
                                                                                <action application="bridge" data="${group_call(reps@<MYDOMAIN>)}"/>
                                                                </condition>
                                                </extension>
                                </context>
                </section>
</document>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220312/75435675/attachment-0001.html>


More information about the FreeSWITCH-users mailing list