[Vtigercrm-developers] Asterisk Integration
pinaki at vtiger.com
Fri Jul 24 09:58:22 PDT 2009
This issue has been fixed in the GA release of vtiger. Can you please check
and update us?
On Fri, Jul 24, 2009 at 8:39 PM, Alan Lord (News) <alanslists at gmail.com>wrote:
> Can someone explain what this chunk of code is for in function function
> transfer($from,$to) in /modules/PBXManager/utils/AsteriskClass.php?
> $arr = explode(":", $to);
> $typeCalled = $arr;
> $to = trim($arr);
> This is being called via the Ajax stuff for initiating outbound calls.
> Our telephone numbers for contacts/leads etc are usually in the form of
> $AREA $NUMBER
> or they have an international prefix:
> +$INT (0)$AREA $NUMBER
> explode() always results in an Array.
> As we do *not* have a colon in our phone numbers this chunk of code
> mangles them and afterwards $to is empty.
> I don't think it should be called for an outgoing call.
> Reach hundreds of potential candidates - http://jobs.vtiger.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtigercrm-developers