Trim off any blanks surrounding the signal name in application/dtmf-relay body.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1725 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-02-14 10:36:27 +00:00
parent 26e9636ac0
commit 73a496ae0b
1 changed files with 1 additions and 1 deletions

View File

@ -3075,7 +3075,7 @@ void YateSIPConnection::doInfo(SIPTransaction* t)
String tmp = static_cast<String*>(l->get());
tmp.toUpper();
if (tmp.startSkip("SIGNAL=",false)) {
sig = tmp.toInteger(info_signals,-1);
sig = tmp.trimBlanks().toInteger(info_signals,-1);
break;
}
}