aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-16 00:26:59 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-16 00:26:59 +0000
commit6573bfb8eab544bca16a41981260c8f7ceac0971 (patch)
tree696e19259ea554e50bea5d3d52d54e263008b6d8 /channels
parenta67e27326ec065668b6b339f7a199235000c27f0 (diff)
Merged revisions 175921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r175921 | mvanbaak | 2009-02-16 00:37:03 +0100 (Mon, 16 Feb 2009) | 3 lines fix mis-spelling of the word registered. Reported by De_Mon on #asterisk-dev. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175952 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
-rw-r--r--channels/chan_unistim.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0742c3010..b4dee7403 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -694,7 +694,7 @@ 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
* \note Initial state. We should have a timeout scheduled for the initial
* (or next) registration transmission, calling sip_reregister
*/
@@ -21967,7 +21967,7 @@ static struct ast_channel *sip_request_call(const char *type, int format, void *
*/
if (create_addr(p, host, NULL, 1)) {
*cause = AST_CAUSE_UNREGISTERED;
- ast_debug(3, "Cant create SIP call - target device not registred\n");
+ ast_debug(3, "Cant create SIP call - target device not registered\n");
dialog_unlink_all(p, TRUE, TRUE);
dialog_unref(p, "unref dialog p UNREGISTERED");
/* sip_destroy(p); */
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index 13c397808..48d11e481 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -1117,7 +1117,7 @@ static void close_client(struct unistimsession *s)
cur = cur->next;
}
if (cur) { /* Session found ? */
- if (cur->device) { /* This session was registred ? */
+ if (cur->device) { /* This session was registered ? */
s->state = STATE_CLEANING;
if (unistimdebug)
ast_verb(0, "close_client session %p device %p lines %p sub %p\n",
@@ -3324,7 +3324,7 @@ static void init_phone_step2(struct unistimsession *pte)
for (i = 1; i < 6; i++)
send_favorite(i, 0, pte, "");
send_text(TEXT_LINE0, TEXT_NORMAL, pte, "Sorry, this phone is not");
- send_text(TEXT_LINE1, TEXT_NORMAL, pte, "registred in unistim.cfg");
+ send_text(TEXT_LINE1, TEXT_NORMAL, pte, "registered in unistim.cfg");
strcpy(tmp, "MAC = ");
strcat(tmp, pte->macaddr);
send_text(TEXT_LINE2, TEXT_NORMAL, pte, tmp);
@@ -3419,7 +3419,7 @@ static void process_request(int size, unsigned char *buf, struct unistimsession
if (memcmp(buf + SIZE_HEADER, packet_recv_pick_up, sizeof(packet_recv_pick_up)) == 0) {
if (unistimdebug)
ast_verb(0, "Handset off hook\n");
- if (!pte->device) /* We are not yet registred (asking for a TN in AUTOPROVISIONING_TN) */
+ if (!pte->device) /* We are not yet registered (asking for a TN in AUTOPROVISIONING_TN) */
return;
pte->device->receiver_state = STATE_OFFHOOK;
if (pte->device->output == OUTPUT_HEADPHONE)