]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: Set the call id into the caller data provided as argument to the call place...
authorMoises Silva <moy@sangoma.com>
Mon, 30 Jan 2012 21:15:08 +0000 (16:15 -0500)
committerMoises Silva <moy@sangoma.com>
Mon, 30 Jan 2012 21:15:08 +0000 (16:15 -0500)
libs/freetdm/src/ftdm_io.c

index e88ad6e4ac41c848a320f11b4247ef396d738ed1..07def3303493e49238ca231782b41308e1502546 100644 (file)
@@ -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);