/*! \brief States for outbound registrations (with register= lines in sip.conf */
enum sipregistrystate {
- REG_STATE_UNREGISTERED = 0, /*!< We are not registred */
+ REG_STATE_UNREGISTERED = 0, /*!< We are not registered */
REG_STATE_REGSENT, /*!< Registration request sent */
REG_STATE_AUTHSENT, /*!< We have tried to authenticate */
- REG_STATE_REGISTERED, /*!< Registred and done */
+ REG_STATE_REGISTERED, /*!< Registered and done */
REG_STATE_REJECTED, /*!< Registration rejected */
REG_STATE_TIMEOUT, /*!< Registration timed out */
REG_STATE_NOAUTH, /*!< We have no accepted credentials */
if (create_addr(p, host, NULL)) {
*cause = AST_CAUSE_UNREGISTERED;
if (option_debug > 2)
- ast_log(LOG_DEBUG, "Cant create SIP call - target device not registred\n");
+ ast_log(LOG_DEBUG, "Cant create SIP call - target device not registered\n");
sip_destroy(p);
return NULL;
}
const char *synopsis,
const char *description);
-/*! Unregister a registred manager command */
-/*! \param action Name of registred Action:
+/*! Unregister a registered manager command */
+/*! \param action Name of registered Action:
*/
int ast_manager_unregister( char *action );
/* 2 AST_DEVICE IN USE */ "In use", /*!< In use */
/* 3 AST_DEVICE_BUSY */ "Busy", /*!< Busy */
/* 4 AST_DEVICE_INVALID */ "Invalid", /*!< Invalid - not known to Asterisk */
- /* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /*!< Unavailable (not registred) */
+ /* 5 AST_DEVICE_UNAVAILABLE */ "Unavailable", /*!< Unavailable (not registered) */
/* 6 AST_DEVICE_RINGING */ "Ringing", /*!< Ring, ring, ring */
/* 7 AST_DEVICE_RINGINUSE */ "Ring+Inuse", /*!< Ring and in use */
/* 8 AST_DEVICE_ONHOLD */ "On Hold" /*!< On Hold */
return RESULT_SUCCESS;
}
-/*! \brief handle_show_hints: CLI support for listing registred dial plan hints */
+/*! \brief handle_show_hints: CLI support for listing registered dial plan hints */
static int handle_show_hints(int fd, int argc, char *argv[])
{
struct ast_hint *hint;
return RESULT_SUCCESS;
}
-/*! \brief handle_show_switches: CLI support for listing registred dial plan switches */
+/*! \brief handle_show_switches: CLI support for listing registered dial plan switches */
static int handle_show_switches(int fd, int argc, char *argv[])
{
struct ast_switch *sw;