]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix mis-spelling of the word registered.
authorMichiel van Baak <michiel@vanbaak.info>
Sun, 15 Feb 2009 23:37:03 +0000 (23:37 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Sun, 15 Feb 2009 23:37:03 +0000 (23:37 +0000)
Reported by De_Mon on #asterisk-dev.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@175921 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c
include/asterisk/manager.h
main/devicestate.c
main/pbx.c

index e10128563c720a6ede17e40b2d241e6d9950e1ba..acb0a2e900db96b8058803b67d64cdc9226ec59b 100644 (file)
@@ -355,10 +355,10 @@ enum check_auth_result {
 
 /*! \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 */
@@ -16806,7 +16806,7 @@ static struct ast_channel *sip_request_call(const char *type, int format, void *
        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;
        }
index 34ae432359bf2383e1e7c216667538e1eca34eca..9890d5f777ac03bdf5e1a380e114a161944c8deb 100644 (file)
@@ -100,8 +100,8 @@ int ast_manager_register2(
        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 );
 
index f84c87df74d80d3150941e8c03dee961c159db6b..5368a5ab0a6d1a8254d8d010d7ec358a9d347aed 100644 (file)
@@ -50,7 +50,7 @@ static const char *devstatestring[] = {
        /* 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 */
index 187447588bca274eb8407e4a0b6575b1f5f701fa..b5ef431060d7ac47ba096f09428c2f7445a8c4fd 100644 (file)
@@ -3256,7 +3256,7 @@ static int handle_show_application(int fd, int argc, char *argv[])
        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;
@@ -3288,7 +3288,7 @@ static int handle_show_hints(int fd, int argc, char *argv[])
        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;