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

Farhan Husain farhan.husain at csebuet.org
Tue Aug 31 10:18:50 PDT 2010


Thanks Mathieu.

On Tue, Aug 31, 2010 at 12:56 AM, Mathieu Rene <mrene_lists at avgs.ca> wrote:

> 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
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100831/798f99fe/attachment.html 


More information about the FreeSWITCH-dev mailing list