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

Bote Man botelist at gmail.com
Mon Mar 14 23:28:11 UTC 2022


I think problem #1 is that the endpoints are not registered. Can you place a
successful individual call to the desired extension(s)?

 

I have used group call with SIP extensions in the past, but those
identifiers look a lot more GUID than your typical phone number, so if
you're using Verto or something else that might be the difference?

 

Bote 

 

 

From: Craig Malton
Sent: Saturday, 12 March, 2022 03:02
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] I can't get group_call to work

 

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/20220314/7b0b87f6/attachment-0001.html>


More information about the FreeSWITCH-users mailing list