[Freeswitch-users] Group confusions

Larry Marshall larry at newportpc.com
Mon Feb 7 20:11:13 MSK 2011


Michael,

 

Thanks for your response. The cli tests are:

 

freeswitch at internal> group call:01 at 192.168.10.29

sofia/internal/sip:1002 at 192.168.10.105

freeswitch at internal> sofia_contact 1013 at 192.168.10.29

sofia/internal/sip:1013 at 192.168.10.107

freeswitch at internal> group insert:01:1013 at 192.168.10.29

+OK

freeswitch at internal> group call:01 at 192.168.10.29

sofia/internal/sip:1002 at 192.168.10.105

 

I assume that after adding extension 1013 to group 01 it should be listed in
the 'group call' function. Is this correct?

 

Maybe I should start from the beginning, especially with your warning about
the difference between the group and group_call APIs. I want to ring a group
of extensions on an inbound call. I need to populate the members of this
group based on time constraints (the current time of day, e.g. extension
1013 should only ring between 8:00AM and 5:00PM Monday-Friday), and ring the
appropriate extensions. I wanted to try to do this within a lua script.

 

Which group API should I look at?

 

Thanks, Lars

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Monday, February 07, 2011 8:05 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Group confusions

 

I may be that the value you are trying to delete isn't "1013 at 192.168.10.29".
To find out, go to fs_cli and do this:

 

group call:01 at 192.168.10.29 <mailto:call%3A01 at 192.168.10.29> 

 

It will spit out all the sofia contacts in group 01. Most likely you have
something like this:

1013 at 192.168.10.29:12345;rinstance=aabbccddeeff0011;transport=udp

 

BTW, the value put into the group call when you dial 8101 is the same value
that you find by doing this at fs_cli:

 

sofia_contact 1013 at 192.168.10.29

 

Go try it and let us now.

 

-MC

 

P.S. - the 'group' API and dp apps you are using are the same - they come
from mod_db. They are *totally* different from the group_call API...

On Fri, Feb 4, 2011 at 2:11 PM, Lars Zeb <larclap at yahoo.com> wrote:

I went to two individual extensions and registered them for group 01 by
dialing 8101. I then tested that group by dialing 8201 - both extensions
rang.

I then went to the cli and entered the command:

group delete:01:1013 at 192.168.10.29 <mailto:delete%3A01%3A1013 at 192.168.10.29>


where 1013 is one of the two extensions I had joined into group 01 earlier
and the url is the domain and fs address. However, when I dialed 8201 after
entering this cli command, both extensions rang. I had expected that only
one would ring.

I am confused. Are these two different types of "groups"?

Thanks, Lars


_______________________________________________
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/20110207/5e106381/attachment-0001.html 


More information about the FreeSWITCH-users mailing list