Do not overwrite the original call leg id while doing overlapped routing.

The id of the script itself is available anyway as targetid.


git-svn-id: http://voip.null.ro/svn/yate@4821 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-01-26 12:00:34 +00:00
parent 7742aaf46c
commit 503b84e49f
1 changed files with 0 additions and 2 deletions

View File

@ -126,12 +126,10 @@ function setState($newstate)
function routeTo($num)
{
global $final;
global $ourcallid;
global $executeParams;
setState("routing");
$m = new Yate("call.route");
$m->params = $executeParams;
$m->params["id"] = $ourcallid;
$m->params["called"] = $num;
$m->params["overlapped"] = $final ? "no" : "yes";
$m->Dispatch();