Fixed bug: properly retrieve selected contact when handling call action from address book.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5751 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2014-01-31 13:07:37 +00:00
parent 9ef7002392
commit 03b31b7281
1 changed files with 3 additions and 1 deletions

View File

@ -8119,8 +8119,10 @@ bool DefaultLogic::callContact(NamedList* params, Window* wnd)
return false;
NamedList dummy("");
if (!params) {
String sel;
Client::self()->getSelect(s_contactList,sel);
dummy.assign(sel);
params = &dummy;
Client::self()->getSelect(s_contactList,*params);
}
if (!Client::self()->getTableRow(s_contactList,*params,params))
return false;