[Freeswitch-dev] Howto create a new session

Achim Stamm stamm at lyth.de
Tue Jul 27 02:24:27 PDT 2010


Hello!

I have following problem:

I want to create a new session and than I want
call switch_core_session_execute_exten(newsession,"Test","XML","default");

How can i create a new session ?

Can I create a new session with (or switch_core_session_request(...)):

const char* extUuid;
switch_core_session_t * extSession = switch_core_session_request_uuid(
    session->endpoint_interface,
    SWITCH_CALL_DIRECTION_OUTBOUND,
    switch_core_session_get_pool(session),
    extUuid);

I get a compile error on first parameter.
How can I get the endpoint_interface of my session ?

Regards

Achim Stamm

-- 
Achim Stamm, Dipl.-Inform. (FH)


Lyncker & Theis GmbH
Wilhelmstr. 16
65185 Wiesbaden
Germany

Fon +49 611/9006951
Fax +49 611/9406125


Handelsregister: HRB 23156 Amtsgericht Wiesbaden
Steuernummer: 04323897052
USt-IdNr.: DE255806399

Geschäftsführer:
Filip Lyncker,
Armin Theis 




More information about the FreeSWITCH-dev mailing list