More whitespace and typo fixes for chan_skinny - yay!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
North Antara
2006-03-22 20:45:00 +00:00
parent 19af878bac
commit 2ccaab2ad1

View File

@@ -827,7 +827,7 @@ struct skinny_line {
char label[42]; /* Label that shows next to the line buttons */
struct skinny_subchannel *sub; /* pointer to our current connection, channel and stuff */
char accountcode[AST_MAX_ACCOUNT_CODE];
char exten[AST_MAX_EXTENSION]; /* Extention where to start */
char exten[AST_MAX_EXTENSION]; /* Extension where to start */
char context[AST_MAX_CONTEXT];
char language[MAX_LANGUAGE];
char cid_num[AST_MAX_EXTENSION]; /* Caller*ID */
@@ -2388,7 +2388,7 @@ static int handle_message(skinny_req *req, struct skinnysession *s)
transmit_response(s, req);
break;
case UNREGISTER_MESSAGE:
/* XXX Acutally unregister the device */
/* XXX Actually unregister the device */
break;
case IP_PORT_MESSAGE:
/* no response necessary */
@@ -2613,7 +2613,7 @@ static int handle_message(skinny_req *req, struct skinnysession *s)
#if 0
/* XXX Do this right XXX */
/* If the redial function works the way I think it will, a modification of it
can work here was well. Yikes. */
can work here as well. Yikes. */
req->data.speeddialreq.speedDialNumber = speedDialNum;
snprintf(req->data.speeddial.speedDialDirNumber, sizeof(req->data.speeddial.speedDialDirNumber), "31337");
snprintf(req->data.speeddial.speedDialDisplayName, sizeof(req->data.speeddial.speedDialDisplayName),"Asterisk Rules!");
@@ -2704,7 +2704,7 @@ static int handle_message(skinny_req *req, struct skinnysession *s)
case ONHOOK_MESSAGE:
sub = find_subchannel_by_line(s->device->lines);
if (sub->parent->hookstate == SKINNY_ONHOOK) {
/* Somthing else already put us back on hook */
/* Something else already put us back on hook */
break;
}
sub->cxmode = SKINNY_CX_RECVONLY;
@@ -2714,8 +2714,8 @@ static int handle_message(skinny_req *req, struct skinnysession *s)
ast_verbose("Skinny %s@%s went on hook\n",sub->parent->name, sub->parent->parent->name);
}
if (sub->parent->transfer && (sub->owner && sub->next->owner) && ((!sub->outgoing) || (!sub->next->outgoing))) {
/* We're allowed to transfer, we have two active calls and */
/* we made at least one of the calls. Let's try and transfer */
/* We're allowed to transfer, we have two active calls and
we made at least one of the calls. Let's try and transfer */
#if 0
if ((res = attempt_transfer(p)) < 0) {