mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
docs: Fix various typos in channels/
Found via `codespell -q 3 -S "./CREDITS,*.po" -L abd,asent,atleast,cachable,childrens,contentn,crypted,dne,durationm,enew,exten,inout,leapyear,mye,nd,oclock,offsetp,ot,parm,parms,preceeding,pris,ptd,requestor,re-use,re-used,re-uses,ser,siz,slanguage,slin,thirdparty,varn,varns,ues`
(cherry picked from commit 44a27dc13f
)
This commit is contained in:
committed by
Asterisk Development Team
parent
a82e7c2f89
commit
595a58685b
@@ -1341,7 +1341,7 @@ int analog_hangup(struct analog_pvt *p, struct ast_channel *ast)
|
||||
/* Need to hold the lock for real-call, private, and call-waiting call */
|
||||
analog_lock_sub_owner(p, ANALOG_SUB_CALLWAIT);
|
||||
if (!p->subs[ANALOG_SUB_CALLWAIT].owner) {
|
||||
/* The call waiting call dissappeared. */
|
||||
/* The call waiting call disappeared. */
|
||||
analog_set_new_owner(p, NULL);
|
||||
break;
|
||||
}
|
||||
@@ -3327,7 +3327,7 @@ static struct ast_frame *__analog_handle_event(struct analog_pvt *p, struct ast_
|
||||
analog_lock_sub_owner(p, ANALOG_SUB_CALLWAIT);
|
||||
if (!p->subs[ANALOG_SUB_CALLWAIT].owner) {
|
||||
/*
|
||||
* The call waiting call dissappeared.
|
||||
* The call waiting call disappeared.
|
||||
* Let's just ignore this flash-hook.
|
||||
*/
|
||||
ast_log(LOG_NOTICE, "Whoa, the call-waiting call disappeared.\n");
|
||||
@@ -3454,7 +3454,7 @@ static struct ast_frame *__analog_handle_event(struct analog_pvt *p, struct ast_
|
||||
analog_lock_sub_owner(p, ANALOG_SUB_THREEWAY);
|
||||
if (!p->subs[ANALOG_SUB_THREEWAY].owner) {
|
||||
/*
|
||||
* The 3-way call dissappeared.
|
||||
* The 3-way call disappeared.
|
||||
* Let's just ignore this flash-hook.
|
||||
*/
|
||||
ast_log(LOG_NOTICE, "Whoa, the 3-way call disappeared.\n");
|
||||
@@ -3688,7 +3688,7 @@ winkflashdone:
|
||||
}
|
||||
|
||||
/* Added more log_debug information below to provide a better indication of what is going on */
|
||||
ast_debug(1, "Polarity Reversal event occured - DEBUG 2: channel %d, state %u, pol= %d, aonp= %d, honp= %d, pdelay= %d, tv= %" PRIi64 "\n", p->channel, ast_channel_state(ast), p->polarity, p->answeronpolarityswitch, p->hanguponpolarityswitch, p->polarityonanswerdelay, ast_tvdiff_ms(ast_tvnow(), p->polaritydelaytv) );
|
||||
ast_debug(1, "Polarity Reversal event occurred - DEBUG 2: channel %d, state %u, pol= %d, aonp= %d, honp= %d, pdelay= %d, tv= %" PRIi64 "\n", p->channel, ast_channel_state(ast), p->polarity, p->answeronpolarityswitch, p->hanguponpolarityswitch, p->polarityonanswerdelay, ast_tvdiff_ms(ast_tvnow(), p->polaritydelaytv) );
|
||||
break;
|
||||
default:
|
||||
ast_debug(1, "Dunno what to do with event %d on channel %d\n", res, p->channel);
|
||||
|
Reference in New Issue
Block a user