mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Typos: recieved => received
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@299005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -20762,7 +20762,7 @@ static int handle_request_notify(struct sip_pvt *p, struct sip_request *req, str
|
||||
}
|
||||
} else if (!strcmp(event, "keep-alive")) {
|
||||
/* Used by Sipura/Linksys for NAT pinhole,
|
||||
* just confirm that we recieved the packet. */
|
||||
* just confirm that we received the packet. */
|
||||
transmit_response(p, "200 OK", req);
|
||||
} else if (!strcmp(event, "call-completion")) {
|
||||
res = handle_cc_notify(p, req);
|
||||
|
@@ -206,7 +206,7 @@ struct sig_pri_chan {
|
||||
struct pri_subcmd_aoc_e aoc_e;
|
||||
int aoc_s_request_invoke_id; /*!< If an AOC-S request was present for the call, this is the invoke_id to use for the response */
|
||||
unsigned int aoc_s_request_invoke_id_valid:1; /*!< This is set when the AOC-S invoke id is present */
|
||||
unsigned int waiting_for_aoce:1; /*!< Delaying hangup for AOC-E msg. If this is set and AOC-E is recieved, continue with hangup before timeout period. */
|
||||
unsigned int waiting_for_aoce:1; /*!< Delaying hangup for AOC-E msg. If this is set and AOC-E is received, continue with hangup before timeout period. */
|
||||
unsigned int holding_aoce:1; /*!< received AOC-E msg from asterisk. holding for disconnect/release */
|
||||
#endif /* defined(HAVE_PRI_AOC_EVENTS) */
|
||||
unsigned int inalarm:1;
|
||||
|
12
main/aoc.c
12
main/aoc.c
@@ -253,7 +253,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un
|
||||
decoded->multiplier = ie.multiplier; /* only one byte */
|
||||
memcpy(decoded->currency_name, ie.name, sizeof(decoded->currency_name));
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid currency ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid currency ie\n");
|
||||
}
|
||||
break;
|
||||
case AOC_IE_UNIT:
|
||||
@@ -262,7 +262,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un
|
||||
memcpy(&ie, data + 2, len);
|
||||
ast_aoc_add_unit_entry(decoded, ie.valid_amount, ntohl(ie.amount), ie.valid_type, ie.type);
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid unit ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid unit ie\n");
|
||||
}
|
||||
break;
|
||||
case AOC_IE_BILLING:
|
||||
@@ -271,7 +271,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un
|
||||
memcpy(&ie, data + 2, len);
|
||||
decoded->billing_id = ie.id; /* only one byte */
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid billing ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid billing ie\n");
|
||||
}
|
||||
break;
|
||||
case AOC_IE_CHARGING_ASSOCIATION:
|
||||
@@ -282,7 +282,7 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un
|
||||
decoded->charging_association.charge.id = ntohl(decoded->charging_association.charge.id);
|
||||
}
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid charging association ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid charging association ie\n");
|
||||
}
|
||||
break;
|
||||
case AOC_IE_RATE:
|
||||
@@ -291,14 +291,14 @@ static int aoc_parse_ie(struct ast_aoc_decoded *decoded, unsigned char *data, un
|
||||
memcpy(&ie, data + 2, len);
|
||||
aoc_parse_ie_charging_rate(decoded, &ie);
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid charging rate ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid charging rate ie\n");
|
||||
}
|
||||
break;
|
||||
case AOC_IE_TERMINATION_REQUEST:
|
||||
if (len == 0) {
|
||||
decoded->termination_request = 1;
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Recieved invalid termination request ie\n");
|
||||
ast_log(LOG_WARNING, "Received invalid termination request ie\n");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user