[Vtigercrm-developers] Fwd: Re: Asterisk Connector & Asterisk 11

Vic Cekvenich vic.cvc at gmx.com
Sun Aug 17 22:06:11 GMT 2014



-------- Original Message --------
Subject: 	Re: [Vtigercrm-developers] Asterisk Connector & Asterisk 11
Date: 	Wed, 6 Aug 2014 13:39:41 -0400
From: 	vtiger at camden.net <vtiger at camden.net>
Reply-To: 	vtiger at camden.net, vtigercrm-developers at lists.vtigercrm.com
To: 	Rishab K <rishab.k at vtiger.com>, 
<vtigercrm-developers at lists.vtigercrm.com>, <support at zebrahosting.eu>



new version revision =14176

made changes all changes as described below

click-to-call results in ring CRM extension after you pick up it hangs 
up on you before dialing out

inbound results in hang up on caller, no caller pop in CRM and no ring 
on phone, just hangs up on the inbound caller

attached are the logs....







------------------------------------------------------------------------
*From*: "Rishab K" <rishab.k at vtiger.com>
*Sent*: Wednesday, August 06, 2014 1:21 AM
*To*: vtiger at camden.net
*Subject*: Re: [Vtigercrm-developers] Asterisk Connector & Asterisk 11

Hi,

Here is the brief description for incoming call process.

*Incoming Calls Process*:
1. When there is an incoming call, Asterisk(say FreePBX) will forward 
the call
    a) to context based on the incoming number
       or
    b)to the default context configured in FreePBX -> Settings -> 
Asterisk SIP Settings
      (Configure *Default Context*=*vtiger*).
2. AGI request is initiated and sends this request to port=4573 (default 
agi port).
3. vtigeragi.jar has the mapping and based on the mapping request is 
forwarded to mapped class.
    (incoming.agi = com.vtiger.apps.asterisk.agi.actions.IncomingCall)
4. This class (com.vtiger.apps.asterisk.agi.actions.IncomingCall) will 
know where Vtiger CRM is and forwards the request.
5. In Vtiger, PBXManager will process the request and sends response 
(list of extensions to dial) back to Vtiger
    Connector.
6. Vtiger Connector will execute the dial application for all those 
extensions sent from Vtiger.

------------------------------------------------------------------------
Based on the log files it looks like Vtiger Connector is running in 
12.5.115.199 server. am I right? if so then update following files as 
shown below.

*extensions.conf*

??
[vtiger]
exten => _X.,1,Agi(agi://
  ?12.5.115.199?
*
??
*/incoming.agi)

?OR

*VtigerAsteriskConnector.properties*

ServerIP = 0.0.0.0?

?-----------------------------------------------------------------------?

*
??
?
   ?Outgoing Calls for Outside Numbers:?
*
?Issue for outgoing calls is already fixed and changes are pushed to 
SVN( revision =14176 ). Once updated run updateVtlibModule() for PBXManager.

updateVtlibModule("PBXManager","packages/vtiger/mandatory/PBXManager.zip");


Following are the changes that need to be done for fixing this issue.

  * *extensions.conf *(Remove old context = vtiger and update with below
    context)
    [vtiger_inbound]
    exten => *INBOUND_DID*,1,Agi(agi://
      ?12.5.115.199?
    *
      ??
    */incoming.agi)
    exten => _X.,1,Agi(agi://
      ?12.5.115.199?
    *
      ??
    */incoming.agi)

    where,
    INBOUND_DID - Replace with the incoming DID provided by your service
    provider.


    [vtiger_outbound]
    exten => _X.,1,Agi(agi://
      ?12.5.115.199?
    *
      ??
    */incoming.agi)
  *
    *?PBXManager Settings page*
    1. Added new field "*Outbound Trunk*" - Configure your outbound
    trunk name
    2. Added new field "*Outbound Context*" - Configure outbound context
    name (*vtiger_outbound*)
  *
    Update default context configured in FreePBX -> Settings -> Asterisk
    SIP Settings to "*vtiger_inbound*".

?------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Click-To-Call-AGI_sh.txt
Type: application/octet-stream
Size: 6031 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Click-To-Call-CLI.txt
Type: application/octet-stream
Size: 2708 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Click-To-Call-Webapp_sh.txt
Type: application/octet-stream
Size: 7933 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Inbound-AGI_sh.txt
Type: application/octet-stream
Size: 6048 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Inbound-CLI.txt
Type: application/octet-stream
Size: 3753 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Inbound-Webapp_sh.txt
Type: application/octet-stream
Size: 4049 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140817/6f7c20d2/attachment-0011.obj>
-------------- next part --------------
_______________________________________________
http://www.vtiger.com/


More information about the vtigercrm-developers mailing list