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:
parent
9aa7bb2325
commit
8b18ba5e61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue