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:
parent
becd2f520b
commit
93ed28b997
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue