diff --git a/engine/Client.cpp b/engine/Client.cpp index 4e527420..b54252b4 100644 --- a/engine/Client.cpp +++ b/engine/Client.cpp @@ -1661,6 +1661,15 @@ bool Client::callStart(const String& target, const String& line, m->setParam("protocol",proto); if (account) m->setParam("account",account); + String tmp; + if (getText("def_username",tmp) && tmp) + m->setParam("caller",tmp); + tmp.clear(); + if (getText("def_callerid",tmp) && tmp) + m->setParam("callername",tmp); + tmp.clear(); + if (getText("def_domain",tmp) && tmp) + m->setParam("domain",tmp); return cc->startRouter(m); } diff --git a/modules/skin/tabbed/gtk2client.ui b/modules/skin/tabbed/gtk2client.ui index 9b2a90a4..9e907a5e 100644 --- a/modules/skin/tabbed/gtk2client.ui +++ b/modules/skin/tabbed/gtk2client.ui @@ -187,7 +187,7 @@ tabbed=2,,,,> tooltip=Allow having more than one simultaneously open connections label=Username editor=,,,,def_username, - tooltip=User identifier or alias + tooltip=Phone number, user identifier or alias label=Caller name editor=,,,,def_callerid, tooltip=Caller ID to insert in outgoing calls