<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Thanks for sharing the good news!</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Unfortunately I can’t get it to work. Guess a few more steps needed in your descriptions :-)</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
This part:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">keep in mind Asterisk has a general settings and a outbound settings for each trunk both have trunk name and they must match</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">Left me puzzled</span><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;">….</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;">The outbound trunk you mention, is a SIP trunk or something you setup for vTiger only? (I am on FreePBX so things might be a little different.</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;">Thanks,</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;">Bastiaan Houtkooper</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;">Zebra Hosting</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="arial,helvetica,sans-serif"><span style="font-size: 13px;"><br>
</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"<a href="mailto:vtiger@camden.net">vtiger@camden.net</a>" <<a href="mailto:vtiger@camden.net">vtiger@camden.net</a>><br>
<span style="font-weight:bold">Reply-To: </span><<a href="mailto:vtiger@camden.net">vtiger@camden.net</a>>, <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>><br>
<span style="font-weight:bold">Date: </span>Tue, 19 Aug 2014 21:36:16 -0400<br>
<span style="font-weight:bold">To: </span>Rishab K <<a href="mailto:rishab.k@vtiger.com">rishab.k@vtiger.com</a>>, <<a href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>><br>
<span style="font-weight:bold">Subject: </span>[Vtigercrm-developers] Asterisk Good News<br>
</div>
<div><br>
</div>
<font style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><font style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><br>
after starting from scratch the Asterisk Connector and PBX Manager are working consistently with one minor issue
<div><br>
</div>
<div>click to call:</div>
<div><br>
</div>
<div>when you call out the person you call sees caller ID as them self</div>
<div><br>
</div>
<div>IE:</div>
<div><br>
</div>
<div>I click my cell phone number, my extension rings, I answer my extension and Asterisk calls my cell</div>
<div><br>
</div>
<div>my cell phone rings, but the callerID on my cell is saying I am getting a incoming call from my cell, when it should be the default outbound CID of my extension</div>
<div><br>
</div>
<div>the call does connect, just has the wrong callerID</div>
<div><br>
</div>
<div>on phones that support both Cname and CiD, the CID still comes up as the person you are calling see the CID as them selfs but</div>
<div><br>
</div>
<div>the Cname is set to the Display Name of the Extension which is technically correct but the whole callerID string should be set to the Outbound CID string of the extensions settings</div>
<div><br>
</div>
<div>most companies will have the display name as the person real name or just the extensions number where outbound CID will be "NAME"<NUMBER> of how the company wants outside callers to see the callerID info </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>for those that are going to ask how we got it to work</div>
<div><br>
</div>
<div>you must be on rev 14179 or higher, you must also update PBX Manager</div>
<div><br>
</div>
<div>you need to have</div>
<div><br>
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">[vtiger_outbound]</span><br style="font-family: arial, helvetica, sans-serif;">
<span style="font-family: arial, helvetica, sans-serif;">exten => _X.,1,Agi(agi://</span><a href="http://12.5.115.199/incoming.agi" ?_blank?="" target="_blank" style="color: rgb(73, 118, 153); text-decoration: none; font-family: arial, helvetica, sans-serif;">0.0.0.0/incoming.agi</a><span style="font-family: arial, helvetica, sans-serif;">)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;"><br>
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">in extensions.conf and outbound context in PBX Manager also set to "vtiger_outbound"</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">actually as long as both match it will work</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;"><br>
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">the outbound trunk is the name of your trunk in Asterisk to use for outbound calling, keep in mind Asterisk has a general settings and a outbound settings for each trunk both have trunk name and
 they must match</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;"><br>
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">for inbound even though we tried to set default context to "vtiger_inbound" in asterisk we never got the AGI to fire from there and for us it broke other stuff, we put "</span><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">exten
 => _X.,1,Agi(agi://</span><a href="http://12.5.115.199/incoming.agi" ?_blank?="" target="_blank" style="font-size: 10pt; color: rgb(73, 118, 153); text-decoration: none; font-family: arial, helvetica, sans-serif;">0.0.0.0/incoming.agi</a><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">)"
 into the from-internal context in extensions.conf as that is our default context and it works just fine</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><br>
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">yes that is correct you will have 2 contexts in extensions.conf both with </span><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">"</span><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">exten
 => _X.,1,Agi(agi://</span><a href="http://12.5.115.199/incoming.agi" ?_blank?="" target="_blank" style="font-size: 10pt; color: rgb(73, 118, 153); text-decoration: none; font-family: arial, helvetica, sans-serif;">0.0.0.0/incoming.agi</a><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">)"</span></div>
<div><br>
</div>
<div><br>
</div>
</font><br>
</font>_______________________________________________ <a href="http://www.vtiger.com/">
http://www.vtiger.com/</a></span>
</body>
</html>