*
* - Linux (x86 & x86_64)
* - Windows (MSVC 2008 & VC++ EE 2008)
+ * - Windows (MSVC 2010 & VC++ EE 2010)
* - Mac OS X (intel & ppc )
* - FreeBSD 6
*
* mod_pocketsphinx
* - PocketSphinx (http://www.speech.cs.cmu.edu/pocketsphinx/)
*
+ * mod_unimrcp
+ * - MRCP (http://www.unimrcp.org/)
+ *
+ *
* Codecs
* mod_speex
* - libspeex (http://www.speex.org/)
///\ingroup core1
///\{
/*!
- \brief Initilize a hash table
+ \brief Initialize a hash table
\param hash a NULL pointer to a hash table to aim at the new hash
\param pool the pool to use for the new hash
\return SWITCH_STATUS_SUCCESS if the hash is created
#define switch_time_from_sec(sec) ((switch_time_t)(sec) * 1000000)
/*!
- \brief Declares a function designed to set a dymaic global string
+ \brief Declares a function designed to set a dynamic global string
\param fname the function name to declare
\param vname the name of the global pointer to modify with the new function
*/
if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
/*!
- \brief Separate a string into an array based on a character delimeter
+ \brief Separate a string into an array based on a character delimiter
\param buf the string to parse
- \param delim the character delimeter
+ \param delim the character delimiter
\param array the array to split the values into
\param arraylen the max number of elements in the array
\return the number of elements added to the array
if (globals.outdev > -1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Switching to default output device\n");
} else {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find an input device\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find an output device\n");
status = SWITCH_STATUS_GENERR;
}
}
if (globals.ringdev < 0) {
if (globals.outdev > -1) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid ring device configured using output device\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid or no ring device configured, using output device as ring device\n");
globals.ringdev = globals.outdev;
}
}
/* Barf if we didn't get our private */
assert(switch_core_session_get_private(session));
- if (sip->sip_content_type && sip->sip_content_type->c_subtype && sip->sip_content_type->c_type &&
+ if (sip && sip->sip_content_type && sip->sip_content_type->c_subtype && sip->sip_content_type->c_type &&
!strncasecmp(sip->sip_content_type->c_type, "message", 7) &&
!strcasecmp(sip->sip_content_type->c_subtype, "update_display")) {
sofia_update_callee_id(session, profile, sip, SWITCH_TRUE);