<div dir="ltr"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div><div class="gmail_quote"><div class="HOEnZb"><div class="h5"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><div style="font-size:12.8px">Hello everyone,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We are creating a setup/framework to test pbx's from several vendor (one of them being Asterisk).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Let me just sketch what we have now and what issues we are having at the moment.</div><div style="font-size:12.8px">We started with programming everything for Cisco (CUCM) using jtapi which works.</div><div style="font-size:12.8px">We can tell the pbx to set up calls, put calls on hond, extend calls,... everything works perfectly so far..</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">After that we started working on the same for Asterisk. Since we read that Astrisk works with jtapi we were hoping for a smooth development. But apparently the version of Asterisk we need to test doesn't work with jtapi.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">After some searching we started using Asterisk-Java. But this gives some problems also(or we are doing it wrong...).</div><div style="font-size:12.8px">We used the Dail-example and after some corrections we were able to do some stuff. </div><div style="font-size:12.8px">We have a set-up with 2 Zoiper phones and try to make the pbx setup a call between these two using the following line of code.</div><div style="font-size:12.8px"><pre style="white-space:pre-wrap;background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"Courier New";font-size:9pt">DialActivity dial = pbx.dial(from<span style="color:rgb(204,120,50)">, </span>fromCallerID<span style="color:rgb(204,120,50)">, </span>to<span style="color:rgb(204,120,50)">, </span>toCallerID)<span style="color:rgb(204,120,50)">;</span></pre></div><div style="font-size:12.8px">At first we thought we finally did it, we saw on one of the phones that we were being called. But problem was that this phone is the phone that should make the call, not get called. The call it receives is from the 'to' number but on the second phone nothing happens there is no call to be seen there...<br></div><div style="font-size:12.8px">We should be able to control who hangs up the phone, in some cases it is the called party and others the calling party</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">If anyone has any idea where we went wrong or how we are supposed to do it, could you please help us out? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div><div class="m_7439923254683719360m_-1581721338626571262gmail-m_1287509242452837196gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><table style="font-family:"Times New Roman""><tbody><tr><td colspan="2" style="font-stretch:normal;font-size:13px;line-height:normal;font-family:Verdana,sans-serif;min-width:350px;color:rgb(248,72,94);font-weight:bold;padding-left:15px"><p>Arne Herbots</p></td></tr><tr><td colspan="2" style="font-stretch:normal;font-size:13px;line-height:normal;font-family:Verdana,sans-serif;color:rgb(83,86,90);padding-left:15px">IT Consultant</td></tr><tr><td colspan="2" style="font-stretch:normal;font-size:13px;line-height:normal;font-family:Verdana,sans-serif;color:rgb(83,86,90);padding-left:15px;padding-top:9px"></td></tr><tr><td colspan="2" style="font-stretch:normal;font-size:13px;line-height:normal;font-family:Verdana,sans-serif;padding-left:15px;color:rgb(83,86,90)"><a href="tel:+32+4+75+38+24+53" style="text-decoration:none;color:rgb(83,86,90)" target="_blank">+32 4 75 38 24 53</a></td></tr><tr><td colspan="2" style="font-stretch:normal;font-size:13px;line-height:normal;font-family:Verdana,sans-serif;color:rgb(248,72,94);padding-left:15px"><a href="mailto:arne.herbots@devoteam.com" style="text-decoration:none;color:rgb(248,72,94)" target="_blank">arne.herbots@devoteam.com</a></td></tr><tr><td colspan="2" height="20px"></td></tr><tr><td height="74" width="475" valign="top" border="0" style="border-collapse:collapse"><img src="http://www.devoteam.com/devoteamimg/signature_pattern_corail_devoteam.png" width="475" height="78" alt="pattern devoteam" style="border:0px;border-collapse:collapse;margin:0px;padding:0px"></td><td height="74" width="25px" valign="top" align="left" border="0" style="font-family:Verdana;border-collapse:collapse"><div style="min-height:25px"><a href="https://www.linkedin.com/company/devoteam" style="text-decoration:none" target="_blank"><img src="http://www.devoteam.com/devoteamimg/signature_linkedin.png" width="24" height="24" alt="Devoteam sur Linkedin" style="border:0px;border-collapse:collapse"></a></div><div style="min-height:25px"><a href="https://plus.google.com/+Devoteam-group" style="text-decoration:none" target="_blank"><img src="http://www.devoteam.com/devoteamimg/signature_google.png" width="24" height="24" alt="Devoteam sur Google Plus" style="border:0px;border-collapse:collapse"></a></div><div style="min-height:24px"><a href="https://twitter.com/devoteam" style="text-decoration:none" target="_blank"><img src="http://www.devoteam.com/devoteamimg/signature_twitter.png" width="24" height="24" alt="Devoteam sur Twitter" style="border:0px;border-collapse:collapse"></a></div></td></tr><tr><td colspan="2"><a href="http://www.devoteam.com/" target="_blank"><img src="http://www.devoteam.com/devoteamimg/signature_logo_devoteam.png" width="150" height="58" alt="Devoteam"></a><img src="http://www.devoteam.com/devoteamimg/innovative_technology_consulting.png" width="350" height="58" alt="Innovative technology consulting for business"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div>
</div>
</div><br></div>
</div></div></div><br></div>