<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I looks like something failed in your update and you' ve stil got an
old version of cdr_opensips.php. <br>
<br>
This bug was fixed in 8.0.7. <br>
<br>
It should be:<br>
$description=$this->destinations[0]["default"][$mygroup];<br>
<br>
Best regards,<br>
<br>
Tijmen de Mes<br>
AG Projects<br>
<br>
Op 1/20/11 11:30 AM, Adrià Vidal schreef:
<blockquote
cite="mid:AANLkTi=DdzufRB+pPBH_Z2+rMs28v60Aj-BAMsWZaT+9@mail.gmail.com"
type="cite">We have upgraded our CDRtool to 8.0.13, and now when
we make making a research Grouped by Sip Destination Id<br>
the Description field is empty<br>
<br>
Taking a look to the code seem these part of the code is on the
way<br>
<br clear="all">
<br>
if
($this->group_byOrig==$this->DestinationIdField) {<br>
if ($this->CDRTool['filter']['domain']
&&
$this->destinations[$this->CDRTool['filter']['domain']]) {<br>
list($_dst_id,$_dst_name)=$this->getPSTNDestinationId($mygroup,'',$this->CDRTool['filter']['domain']);<br>
$description=$_dst_name;<br>
} else {<br>
$description=$this->destinations["default"][$mygroup];<br>
//list($_dst_id,$_dst_name)=$this->getPSTNDestinationId($mygroup);<br>
//$description=$_dst_name;<br>
<br>
should i get some code from the old version?<br>
<br>
<br>
-- <br>
--<br>
Adrià Vidal<br>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>