/*! \brief Determine system parking extension
* Returns the call parking extension for drivers that provide special
call parking help */
-char *ast_parking_ext(void);
+const char *ast_parking_ext(void);
/*! \brief Determine system call pickup extension */
-char *ast_pickup_ext(void);
+const char *ast_pickup_ext(void);
/*! \brief Bridge a call, optionally allowing redirection */
int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer,struct ast_bridge_config *config);
static pthread_t parking_thread;
-char *ast_parking_ext(void)
+const char *ast_parking_ext(void)
{
return parking_ext;
}
-char *ast_pickup_ext(void)
+const char *ast_pickup_ext(void)
{
return pickup_ext;
}
}
/*! \brief Notify metermaids that we've changed an extension */
-static void notify_metermaids(char *exten, char *context)
+static void notify_metermaids(const char *exten, char *context)
{
if (option_debug > 3)
ast_log(LOG_DEBUG, "Notification of state change to metermaids %s@%s\n", exten, context);