set caller data in sangomaboost test

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1029 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2010-02-12 17:19:45 +00:00
parent 2858411559
commit 5db5b8e608

View File

@ -231,6 +231,9 @@ static void place_call(const ftdm_span_t *span, const char *number)
g_outgoing_channel = ftdmchan;
/* set the caller data for the outgoing channel */
memcpy(&ftdmchan->caller_data, &caller_data, sizeof(caller_data));
status = ftdm_channel_outgoing_call(ftdmchan);
if (status != FTDM_SUCCESS) {
ftdm_log(FTDM_LOG_ERROR, "Failed to originate call\n");