Added "newcall"="true" in user.auth for requests that can create a new call.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1305 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-05-09 20:22:33 +00:00
parent becd2f520b
commit 93ed28b997
1 changed files with 2 additions and 0 deletions

View File

@ -1057,6 +1057,8 @@ bool YateSIPEngine::checkUser(const String& username, const String& realm, const
addr << ":" << message->getParty()->getPartyPort();
m.addParam("address",addr);
}
// a dialogless INVITE could create a new call
m.addParam("newcall",String::boolText((message->method == "INVITE") && !message->getParam("To","tag")));
}
if (params) {