Finding User's Current Session
Hi Guys, Is there a API to be use to get current session / uuid of a user? BEST, -- afshin
Try "show calls" at FS console. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Finding-User-s-Current-Session... Sent from the freeswitch-users mailing list archive at Nabble.com.
I hoped an API which accept user name as input param ! Thanks On Mon, Sep 5, 2011 at 9:00 PM, nbhatti <nbhatti@gmail.com> wrote:
Try "show calls" at FS console.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Finding-User-s-Current-Session... Sent from the freeswitch-users mailing list archive at Nabble.com.
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
Well, it would be nifty for the "show calls" to show the variable_accountcode and/or the variable_user_name from the channels. I'm not sure if that data is in the same place or it require additional queries to get, though.. As of now, afaik, you have to query all of them and then get the info on each channel to find the auth user or account code. -Avi On Fri, Sep 9, 2011 at 2:26 AM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Sep 5, 2011 at 11:46 AM, afshin afzali <a.afzali2003@gmail.com>wrote:
I hoped an API which accept user name as input param ! Thanks
What if the user has more than one call in progress?
-MC
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
set the variable presence_data with any custom data you want and it will show up in show channels. On Fri, Sep 9, 2011 at 5:00 AM, Avi Marcus <avi@avimarcus.net> wrote:
Well, it would be nifty for the "show calls" to show the variable_accountcode and/or the variable_user_name from the channels. I'm not sure if that data is in the same place or it require additional queries to get, though.. As of now, afaik, you have to query all of them and then get the info on each channel to find the auth user or account code.
-Avi
On Fri, Sep 9, 2011 at 2:26 AM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Sep 5, 2011 at 11:46 AM, afshin afzali <a.afzali2003@gmail.com> wrote:
I hoped an API which accept user name as input param ! Thanks
What if the user has more than one call in progress? -MC
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
-- 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
On Fri, Sep 9, 2011 at 8:48 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
set the variable presence_data with any custom data you want and it will show up in show channels.
I like this trick. I will throw this up on the wiki. Unless there are any objections I will put it on the show channels API docs section of mod_commands page and then do a cross-link to the presence_data chan var page.
-MC
participants (5)
-
afshin afzali
-
Anthony Minessale
-
Avi Marcus
-
Michael Collins
-
nbhatti