Populate the callto combo if we succeed to start a new call.
git-svn-id: http://voip.null.ro/svn/yate@1439 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
2873202827
commit
3e1853d145
|
@ -1103,7 +1103,11 @@ bool Client::action(Window* wnd, const String& name)
|
|||
getText("account",account,wnd);
|
||||
account.trimBlanks();
|
||||
fixDashes(account);
|
||||
return callStart(target,line,proto,account);
|
||||
if (!callStart(target,line,proto,account))
|
||||
return false;
|
||||
delOption("callto",target,wnd);
|
||||
addOption("callto",target,true,target,wnd);
|
||||
return true;
|
||||
}
|
||||
else if (name.startsWith("callto:"))
|
||||
return callStart(name.substr(7));
|
||||
|
|
Loading…
Reference in New Issue