[Freeswitch-users] conference user

Christopher Rienzo cmrienzo at gmail.com
Fri Jan 24 19:23:34 MSK 2014


Use the add-member event as Duvid recommended.  If using lua, you can
define an event hook - see the mod_lua wiki for details.


On Fri, Jan 24, 2014 at 11:16 AM, Joli Martinez <mrjoli021 at gmail.com> wrote:

> I need to update the memberid into a database. My script works but I get
> the data after the user hangs up. I need to get the memberId right after I
> transfer the user to the conf.
>
> Sent from my iPhone
>
> On Jan 24, 2014, at 11:11 AM, Christopher Rienzo <cmrienzo at gmail.com>
> wrote:
>
> How would you use this member ID if the script isn't executing?
>
>
> On Fri, Jan 24, 2014 at 10:35 AM, Joli Martinez <mrjoli021 at gmail.com>wrote:
>
>> Hello,
>>
>> I was able to figure that out last night.  The problem I am having now is
>> that I cant get the memberId until I transfer call to conference.  Once I
>> transfer call to conference, my script stops execution until user hangs up.
>>  How can I get the memberId right after I transfer to conference?
>>
>> session:execute("conference",3001)
>>
>> userId = session:getVariable("conference_member_id")
>>
>> freeswitch.consoleLog("INFO", userId.. "\n");
>>
>>
>> On Fri, Jan 24, 2014 at 9:33 AM, Duvid Rottenberg <adrottenberg at gmail.com
>> > wrote:
>>
>>> You can get it from the add-member event. There will be a Member-ID
>>> header.
>>>
>>>
>>> On Thu, Jan 23, 2014 at 9:15 PM, Joli Martinez <mrjoli021 at gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> I need to know the userid number of a person joining a conference.  Is
>>>> there a way to get that userid number when a person joins the conference
>>>> and save it as a variable in Lua?
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 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
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20140124/98553eb8/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list