mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add direction col to sql db, add direction param to session_create, log dtmf digits to digits_dialed variable for cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12244 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -483,7 +483,8 @@ FSConnection::FSConnection(OpalCall & call, FSEndPoint & endpoint, switch_caller
|
||||
{
|
||||
opal_private_t *tech_pvt;
|
||||
FSManager & mgr = (FSManager &) endpoint.GetManager();
|
||||
m_fsSession = switch_core_session_request(mgr.GetSwitchInterface(), NULL);
|
||||
m_fsSession = switch_core_session_request(mgr.GetSwitchInterface(),
|
||||
outbound_profile ? SWITCH_CALL_DIRECTION_OUTBOUND : SWITCH_CALL_DIRECTION_INBOUND, NULL);
|
||||
m_fsChannel = switch_core_session_get_channel(m_fsSession);
|
||||
|
||||
tech_pvt = (opal_private_t *) switch_core_session_alloc(m_fsSession, sizeof(*tech_pvt));
|
||||
|
||||
Reference in New Issue
Block a user