Invoke callback via invoke_callback func

This commit is contained in:
mannol 2014-03-12 00:38:20 +01:00
parent 9ba7cb7e76
commit dbc4314bda

View File

@ -730,8 +730,8 @@ void *handle_timeout ( void *arg )
/* Send hangup either way */
MSISession *_session = arg;
if ( callbacks[MSI_OnRequestTimeout].function ) callbacks[MSI_OnRequestTimeout].function ( callbacks[MSI_OnRequestTimeout].data );
if ( callbacks[MSI_OnEnding].function ) callbacks[MSI_OnEnding ].function ( callbacks[MSI_OnEnding].data );
invoke_callback(MSI_OnRequestTimeout);
invoke_callback(MSI_OnEnding);
if ( _session && _session->call ) {