<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-09-29 19:24 GMT+02:00 Vladimir Karažija <span dir="ltr"><<a href="mailto:vladimir@kosacrta.hr" target="_blank">vladimir@kosacrta.hr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Great to be of help ;) When you visit Croatia, just let me know ;)</div></blockquote><div>Of course! :D</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>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?</div></div></blockquote><div>Yes.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>To be honest, never tested internal calls for incoming call popup on vtiger 6.3 version...</div><div><br></div><div>This is probably because internal calls are handled by from-internal context and are not in context where agi script is catching calls.</div><div><br></div><div>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".</div></div></blockquote><div>What do you means exactly when you tell me about this bug?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>regards, Vladimir</div><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div>Vladimir Karažija</div><div>Kosa crta d.o.o.</div><div>Jagnedje 1</div><div>10090 Zagreb</div><div>OIB: 57724075047</div><div><br></div><div>t. <a href="tel:%2B385%201%20777%2033%2085" value="+38517773385" target="_blank">+385 1 777 33 85</a></div><div>m. <a href="tel:%2B385%2091%20122%200511" value="+385911220511" target="_blank">+385 91 122 0511</a><br></div><div><a href="http://www.kosacrta.hr" target="_blank">www.kosacrta.hr</a></div></div></div></div></div></div>
<br></span><div class="gmail_quote"><div><div class="h5">On Tue, Sep 29, 2015 at 6:36 PM, Michele Mastropieri <span dir="ltr"><<a href="mailto:michele.mastropieri@gmail.com" target="_blank">michele.mastropieri@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">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 :-)<div>My context for sip phone extensions is [from-internal].</div><div>Changed outbound trunk with trunk name for external calls.</div><div>Yes, I use SIP trunk for external calls.</div><div>The internal calls do not appears into incoming popup. Only from external sip trunk. Why?</div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-09-29 16:48 GMT+02:00 Vladimir Karažija <span dir="ltr"><<a href="mailto:vladimir@kosacrta.hr" target="_blank">vladimir@kosacrta.hr</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>my configuration is different but works.</div><div><br></div><div>Do you have [from-trunk] context in your extensions.conf ?</div><div><br></div><div>This is where I put agi script for incoming call popup. Not in the from-internal, remove agi script [from-internal] context.</div><div><br></div><div>Also what is your phone extension context? It should be from-internal. </div><div><br></div><div>And in Provider configuration in PBX manager change Outbound trunk to trunk name that you use for external calls.</div><div><br></div><div>You use SIP trunk for external calls?</div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div>Vladimir Karažija</div><div>Kosa crta d.o.o.</div><div>Jagnedje 1</div><div>10090 Zagreb</div><div>OIB: 57724075047</div><div><br></div><div>t. <a href="tel:%2B385%201%20777%2033%2085" value="+38517773385" target="_blank">+385 1 777 33 85</a></div><div>m. <a href="tel:%2B385%2091%20122%200511" value="+385911220511" target="_blank">+385 91 122 0511</a><br></div><div><a href="http://www.kosacrta.hr" target="_blank">www.kosacrta.hr</a></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div>On Tue, Sep 29, 2015 at 9:55 AM, Michele Mastropieri <span dir="ltr"><<a href="mailto:michele.mastropieri@gmail.com" target="_blank">michele.mastropieri@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>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.</div><div><br></div><div><<<<Vtiger Asterisk Server Details:>>>></div><div>Vtiger Asterisk App URL<span style="white-space:pre-wrap">        </span><a href="http://192.168.1.130:8383" target="_blank">http://192.168.1.130:8383</a></div><div>Outbound Context<span style="white-space:pre-wrap">        </span>vtiger</div><div>Outbound Trunk<span style="white-space:pre-wrap">     </span>from-internal</div><div>Vtiger Secret Key<span style="white-space:pre-wrap">   </span>38270845255</div><div><<<<end details>>>></div><div><br></div><div><<<<VtigerAsteriskConnector.properties>>>></div><div>// Location where the application server will be running.</div><div>ServerIP   = 127.0.0.1</div><div>ServerPort = 8383</div><div>// Call Recordings storage path</div><div>StorageDir = /VtigerAsteriskConnector</div><div>// Enable(true) or Disable(false) call recordings</div><div>Recording = true</div><div>// Location where the applications database files will be stored.</div><div>AsteriskAppDBPath = /VtigerAsteriskConnector</div><div>// Asterisk Server Details</div><div>AsteriskServerPublicIP = 192.168.1.130</div><div>AsteriskServerIP   = 127.0.0.1</div><div>AsteriskServerPort = 5038</div><div>AsteriskUsername   = admin</div><div>AsteriskPassword   = 123456</div><div>// Vtiger CRM URL</div><div>VtigerURL = <a href="http://192.168.2.26" target="_blank">http://192.168.2.26</a></div><div>VtigerSecretKey = 38270845255</div><div>//Enable(true) or Disable(false) Asterisk Events and Database Logs in Connector</div><div>AsteriskLog = true</div><div>DatabaseLog = true</div><div><<<<VtigerAsteriskConnector.properties>>>></div><div><br></div><div><<<<manager.conf>>>></div><div>[general]</div><div>enabled = yes</div><div>port = 5038</div><div>bindaddr = 0.0.0.0</div><div>displayconnects=no ;only effects 1.6+</div><div>[admin]</div><div>secret = 123456</div><div>deny = <a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a></div><div>permit = <a href="http://127.0.0.1/255.255.255.0" target="_blank">127.0.0.1/255.255.255.0</a></div><div>permit = <a href="http://192.168.1.250/255.255.255.0" target="_blank">192.168.1.250/255.255.255.0</a></div><div>permit = <a href="http://192.168.2.26/255.255.255.0" target="_blank">192.168.2.26/255.255.255.0</a></div><div>permit = <a href="http://192.168.5.102/255.255.255.0" target="_blank">192.168.5.102/255.255.255.0</a></div><div>read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate</div><div>write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate</div><div>writetimeout = 5000</div><div>#include manager_additional.conf</div><div>#include manager_custom.conf</div><div><<<<end manager.conf>>>></div><div><br></div><div><<<<extensions.conf (interested parts)>>>></div><div>[vtiger]</div><div>exten => _X.,1,Agi(agi://<a href="http://127.0.0.1/incoming.agi" target="_blank">127.0.0.1/incoming.agi</a>)</div><div><br></div><div>[from-internal]</div><div>include => from-internal-noxfer</div><div>include => from-internal-xfer</div><div>include => bad-number</div><div>exten => _X.,1,Agi(agi://<a href="http://127.0.0.1/incoming.agi" target="_blank">127.0.0.1/incoming.agi</a>)</div><div><<<<end extension.conf>>>></div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><div><div dir="ltr"><span style="color:rgb(42,42,42)"><pre style="line-height:17px;white-space:normal"><span style="font-family:verdana,sans-serif;font-size:small"><br></span></pre></span></div></div>
</div></div></div></div></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(42,42,42)"><pre style="line-height:17px;white-space:normal"><span style="font-family:verdana,sans-serif;font-size:small"><br></span></pre></span></div></div>
</div></div>