Fix dialing in skinny that was broken in some cases.

Issue 10136, fix provided by DEA.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jason Parker 18 years ago
parent 54b08bfe83
commit abf5430584

@ -4099,7 +4099,7 @@ static int handle_message(struct skinny_req *req, struct skinnysession *s)
len = strlen(d->exten);
if (len < sizeof(d->exten) - 1) {
d->exten[len] = dgt;
d->exten[len] = '\0';
d->exten[len+1] = '\0';
} else {
ast_log(LOG_WARNING, "Dropping digit with value %d because digit queue is full\n", dgt);
}

Loading…
Cancel
Save