[Freeswitch-dev] getting a session pointer within an event handler

Rob Charlton rob.charlton at savageminds.com
Fri Jan 30 07:28:34 PST 2009


Apostolos Pantsiopoulos wrote:
> Thanks! I copied the lower-case version from another module while
> searching the code. I wonder how that module works (?!) 
> (mod_event_socket.c)
>
Because switch_event_get_header uses strcasecmp so it is case 
insensitive. The important thing is to use unique-id rather than session-id.

Rob

-- 
Rob Charlton
Savage Minds Ltd




More information about the Freeswitch-dev mailing list