[Vtigercrm-developers] Vtiger + Asterisk Incoming Popup problem.

Vladimir Karažija vladimir at kosacrta.hr
Tue Sep 29 17:24:43 GMT 2015


Great to be of help ;) When you visit Croatia, just let me know ;)

Just to be clear, with this setup you get incoming call popup for external
calls and you have working click to call for outgoing calls from vtiger?

To be honest, never tested internal calls for incoming call popup on vtiger
6.3 version...

This is probably because internal calls are handled by from-internal
context and are not in context where agi script is catching calls.

You will have another problem with incoming calls, all extensions will be
ringing and all users will get popup. This is known "bug" or "feature" .

regards, Vladimir


Vladimir Karažija
Kosa crta d.o.o.
Jagnedje 1
10090 Zagreb
OIB: 57724075047

t. +385 1 777 33 85
m. +385 91 122 0511
www.kosacrta.hr

On Tue, Sep 29, 2015 at 6:36 PM, Michele Mastropieri <
michele.mastropieri at gmail.com> wrote:

> Moving agi script from [from-internal] to [from-trunk] into
> extensions.conf made me able to get incoming popup! And for this I'll offer
> a beer :-)
> My context for sip phone extensions is [from-internal].
> Changed outbound trunk with trunk name for external calls.
> Yes, I use SIP trunk for external calls.
> The internal calls do not appears into incoming popup. Only from external
> sip trunk. Why?
>
> 2015-09-29 16:48 GMT+02:00 Vladimir Karažija <vladimir at kosacrta.hr>:
>
>> Hi,
>>
>> my configuration is different but works.
>>
>> Do you have [from-trunk] context in your extensions.conf ?
>>
>> This is where I put agi script for incoming call popup. Not in the
>> from-internal, remove agi script [from-internal] context.
>>
>> Also what is your phone extension context? It should be from-internal.
>>
>> And in Provider configuration in PBX manager change Outbound trunk to
>> trunk name that you use for external calls.
>>
>> You use SIP trunk for external calls?
>>
>> Vladimir Karažija
>> Kosa crta d.o.o.
>> Jagnedje 1
>> 10090 Zagreb
>> OIB: 57724075047
>>
>> t. +385 1 777 33 85
>> m. +385 91 122 0511
>> www.kosacrta.hr
>>
>> On Tue, Sep 29, 2015 at 9:55 AM, Michele Mastropieri <
>> michele.mastropieri at gmail.com> wrote:
>>
>>> If I click-to-call from vtiger, the call is placed out. The problem is
>>> that no incoming call popup appears! Please help me if you have some
>>> minutes.
>>>
>>> <<<<Vtiger Asterisk Server Details:>>>>
>>> Vtiger Asterisk App URL http://192.168.1.130:8383
>>> Outbound Context vtiger
>>> Outbound Trunk from-internal
>>> Vtiger Secret Key 38270845255
>>> <<<<end details>>>>
>>>
>>> <<<<VtigerAsteriskConnector.properties>>>>
>>> // Location where the application server will be running.
>>> ServerIP   = 127.0.0.1
>>> ServerPort = 8383
>>> // Call Recordings storage path
>>> StorageDir = /VtigerAsteriskConnector
>>> // Enable(true) or Disable(false) call recordings
>>> Recording = true
>>> // Location where the applications database files will be stored.
>>> AsteriskAppDBPath = /VtigerAsteriskConnector
>>> // Asterisk Server Details
>>> AsteriskServerPublicIP = 192.168.1.130
>>> AsteriskServerIP   = 127.0.0.1
>>> AsteriskServerPort = 5038
>>> AsteriskUsername   = admin
>>> AsteriskPassword   = 123456
>>> // Vtiger CRM URL
>>> VtigerURL = http://192.168.2.26
>>> VtigerSecretKey = 38270845255
>>> //Enable(true) or Disable(false) Asterisk Events and Database Logs in
>>> Connector
>>> AsteriskLog = true
>>> DatabaseLog = true
>>> <<<<VtigerAsteriskConnector.properties>>>>
>>>
>>> <<<<manager.conf>>>>
>>> [general]
>>> enabled = yes
>>> port = 5038
>>> bindaddr = 0.0.0.0
>>> displayconnects=no ;only effects 1.6+
>>> [admin]
>>> secret = 123456
>>> deny = 0.0.0.0/0.0.0.0
>>> permit = 127.0.0.1/255.255.255.0
>>> permit = 192.168.1.250/255.255.255.0
>>> permit = 192.168.2.26/255.255.255.0
>>> permit = 192.168.5.102/255.255.255.0
>>> read =
>>> system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
>>> write =
>>> system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
>>> writetimeout = 5000
>>> #include manager_additional.conf
>>> #include manager_custom.conf
>>> <<<<end manager.conf>>>>
>>>
>>> <<<<extensions.conf (interested parts)>>>>
>>> [vtiger]
>>> exten => _X.,1,Agi(agi://127.0.0.1/incoming.agi)
>>>
>>> [from-internal]
>>> include => from-internal-noxfer
>>> include => from-internal-xfer
>>> include => bad-number
>>> exten => _X.,1,Agi(agi://127.0.0.1/incoming.agi)
>>> <<<<end extension.conf>>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150929/979f6d5f/attachment.html>


More information about the vtigercrm-developers mailing list