\param endpoint_name the name of the module to use for the new session
\param caller_profile the originator's caller profile
\param new_session a NULL pointer to aim at the newly created session
- \param pool optional existing memory pool to donate to the session (WILL BE KEPT)
+ \param pool optional existing memory pool to donate to the session
\return SWITCH_STATUS_SUCCESS if the session was created
- \note if the pool arguement is not null the pool will be adopted by the session and your pointer will be nulled
*/
SWITCH_DECLARE(switch_status) switch_core_session_outgoing_channel(switch_core_session *session,
char *endpoint_name,