Remove any spaces around signal code for INFO with type application/dtmf.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2404 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-12-19 14:21:01 +00:00
parent 9aa7bb2325
commit 8b18ba5e61
1 changed files with 5 additions and 2 deletions

View File

@ -3392,8 +3392,11 @@ void YateSIPConnection::doInfo(SIPTransaction* t)
}
}
}
else if (sb)
sig = sb->text().toInteger(info_signals,-1);
else if (sb) {
String tmp = sb->text();
tmp.trimSpaces();
sig = tmp.toInteger(info_signals,-1);
}
else {
t->setResponse(415);
return;