From: Moises Silva Date: Mon, 30 Jan 2012 21:15:08 +0000 (-0500) Subject: freetdm: Set the call id into the caller data provided as argument to the call place... X-Git-Tag: v1.2-rc1~19^2~1^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cade8452847ec2616fb83d82c8a9389b324bcd8;p=thirdparty%2Ffreeswitch.git freetdm: Set the call id into the caller data provided as argument to the call place function --- diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c index e88ad6e4ac..07def33034 100644 --- a/libs/freetdm/src/ftdm_io.c +++ b/libs/freetdm/src/ftdm_io.c @@ -2548,7 +2548,9 @@ FT_DECLARE(ftdm_status_t) _ftdm_call_place(const char *file, const char *func, i goto done; } + /* let the user know which channel was picked and which call id was generated */ caller_data->fchan = fchan; + caller_data->call_id = fchan->caller_data.call_id; done: ftdm_channel_unlock(fchan);