Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
iam at craigmalton.com
Guest





PostPosted: Mon Mar 14, 2022 12:39 pm    Post subject: [Freeswitch-users] I can't get group_call to work Reply with quote

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>
Back to top
botelist at gmail.com
Guest





PostPosted: Mon Mar 14, 2022 6:55 pm    Post subject: [Freeswitch-users] I can't get group_call to work Reply with quote

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@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>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services