[Freeswitch-dev] How to get switch_core_session for a call

Mathieu Rene mrene_lists at avgs.ca
Mon Aug 30 22:56:20 PDT 2010


Hi,

	switch_core_session_t *session;
	if ((session = switch_core_session_locate(uuid_here))) {
		/* do stuff with session */
		switch_core_session_rwunlock(session);
	}

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca




On 2010-08-31, at 1:47 AM, Farhan Husain wrote:

> Hello,
> 
> Is there a way to get the switch_core_session of a call? Is it possible by subscribing to any channel or any other event?
> 
> Thanks,
> Farhan
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the FreeSWITCH-dev mailing list