User settings are applied in outgoing calls.

git-svn-id: http://voip.null.ro/svn/yate@1161 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-01-10 19:14:06 +00:00
parent 98a64eb78c
commit bec6531f02
2 changed files with 10 additions and 1 deletions

View File

@ -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);
}

View File

@ -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