Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Help about Conference and it's member_id


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





PostPosted: Wed Apr 08, 2009 10:09 am    Post subject: [Freeswitch-users] Help about Conference and it's member_id Reply with quote

 Hi!
 I wonder how to get out the member_id of a member in a conference room? Currently, i found that it is increasing 1 each time, so the first one enter the conference room, his/her member_id would be 1, and the second is 2. Sadly, when i close a conference room (all members leave) and re-open it later, the member_id will be increased since the last time instead of begining at 1 as the first time (said, it may be 3, 4 and go on). Why is that (as i think a usual way is that if there is 3 members in a conference room, their member_id should be 1,2,3 or 0,1,2) and is there anyway to get conference's member_id of a member programatically?
 Thanks in advance!
 Duc To




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
solko at gcdf.pl
Guest





PostPosted: Wed Apr 08, 2009 11:14 am    Post subject: [Freeswitch-users] Help about Conference and it's member_id Reply with quote

to vietduc pisze:
Quote:
Hi!
I wonder how to get out the member_id of a member in a conference room? Currently, i found that it is increasing 1 each time, so the first one enter the conference room, his/her member_id would be 1, and the second is 2. Sadly, when i close a conference room (all members leave) and re-open it later, the member_id will be increased since the last time instead of begining at 1 as the first time (said, it may be 3, 4 and go on). Why is that (as i think a usual way is that if there is 3 members in a conference room, their member_id should be 1,2,3 or 0,1,2) and is there anyway to get conference's member_id of a member programatically?
Thanks in advance!
Duc To


First of all members id is increased in FS instance. So you will never get the same id again, unless you reload FS (maybe
mod_conference reload also). There is a good reason for that so once you have a member it id stays the same no matter in how many
conferences it pass through. All conference commands needs that id so you would be lost if that would change all the time.

Yuu did not wrote in which language and how you need it, I'm using mod_event_socket and there listen for CUSTOME_EVENT subevent is
conference:maintanace, actions ADDED, DELETED.
Quote:



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
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