Conference Outcall Member Flags
Dear All, Using FreeSwitch I require functionality similar to conference outcall except that I would like to invite users to the conference with different member flags (with conference outcall all users must have the same flags). In order to achieve this, I have written a Python script using mod_python (the script itself is similar in form to http://wiki.freeswitch.org/wiki/Lua_Intercom). Using the script, I observe the following scenario: 1. A calls conference 2. B and C are invited to conference 3. B answers and joins conference (C is still ringing) 4. B ends call (and the conference is torn down because the user has the endconf flag) 5. C continues ringing (and if answered the conference will be created again with C being the only participant) Firstly, is the above behaviour correct? At step 5, I expect (and would like) C to stop ringing given that the conference to which he was invited to has been torn down (which is the behaviour observed with conference outcall). Secondly, if the above behaviour is indeed correct, is there anything that I can do in the script to achieve the desired behaviour? For conference outcall, I have noticed in the FreeSwitch source code (mod_conference.c) a flag is used (CFLAG_OUTCALL) which ends the pending outcalls when the conference ends. However, this flag is only used internally. Thank you in advance for any help. Best regards, Anthony
try latest git I added outcall_flags variable that will override the defaults if specified in {} in each dial string On Mon, May 7, 2012 at 12:33 AM, Anthony Novatsis <anthonynovatsis@gmail.com> wrote:
Dear All,
Using FreeSwitch I require functionality similar to conference outcall except that I would like to invite users to the conference with different member flags (with conference outcall all users must have the same flags). In order to achieve this, I have written a Python script using mod_python (the script itself is similar in form to http://wiki.freeswitch.org/wiki/Lua_Intercom).
Using the script, I observe the following scenario:
1. A calls conference 2. B and C are invited to conference 3. B answers and joins conference (C is still ringing) 4. B ends call (and the conference is torn down because the user has the endconf flag) 5. C continues ringing (and if answered the conference will be created again with C being the only participant)
Firstly, is the above behaviour correct? At step 5, I expect (and would like) C to stop ringing given that the conference to which he was invited to has been torn down (which is the behaviour observed with conference outcall).
Secondly, if the above behaviour is indeed correct, is there anything that I can do in the script to achieve the desired behaviour? For conference outcall, I have noticed in the FreeSwitch source code (mod_conference.c) a flag is used (CFLAG_OUTCALL) which ends the pending outcalls when the conference ends. However, this flag is only used internally.
Thank you in advance for any help.
Best regards, Anthony
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (2)
-
Anthony Minessale
-
Anthony Novatsis