Hi Alan,<div><br></div><div>This issue has been fixed in the GA release of vtiger. Can you please check and update us?</div><div><br></div><div>Regards</div><div>Pinaki</div><div>vtiger Team</div><div><br><br><div class="gmail_quote">
On Fri, Jul 24, 2009 at 8:39 PM, Alan Lord (News) <span dir="ltr">&lt;<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can someone explain what this chunk of code is for in function function<br>
transfer($from,$to) in /modules/PBXManager/utils/AsteriskClass.php?<br>
<br>
<br>
                 $arr = explode(&quot;:&quot;, $to);<br>
                 if(is_array($arr)){<br>
                         $typeCalled = $arr[0];<br>
                         $to = trim($arr[1]);<br>
                 }<br>
<br>
<br>
This is being called via the Ajax stuff for initiating outbound calls.<br>
<br>
Our telephone numbers for contacts/leads etc are usually in the form of<br>
either:<br>
<br>
$AREA $NUMBER<br>
<br>
or they have an international prefix:<br>
<br>
+$INT (0)$AREA $NUMBER<br>
<br>
<br>
explode() always results in an Array.<br>
<br>
As we do *not* have a colon in our phone numbers this chunk of code<br>
mangles them and afterwards $to is empty.<br>
<br>
I don&#39;t think it should be called for an outgoing call.<br>
<br>
Alan<br>
<br>
<br>
_______________________________________________<br>
Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a><br>
</blockquote></div><br></div>