Hi <span class="ik"></span>Geriant,<br><br>My apologies for the delay in reply. We won&#39;t be using php but Perl and there is an AGI module for perl Asterisk::AGI. I may be using Manager API for sending Hangup signal. Im planning to write a bash script which perl invokes when hangup button is pressed in the web interface. Bash script telnets and sends Hangup signal to the manager API. I am not yet able to acheive sending commands via bash script using telnet. But I am trying.<br>
<br>One thing that&#39;s confusing me is if in future, incoming facility needs to be activated and since Auto Answer feature in EyeBeam/Twinkle is ON, don&#39;t you think that would be a problem? I think for that, the possible work around will be using 2 softphones, say EyeBeam and Xlite together in the same PC. Configuring one extension in EyeBeam to make outbound calls (with Auto Answer enabled) and configuring Xlite with an extension which receives inbound calls. Do you have any suggestion on that?<br>
<br>Regards,<br><br>Kurian Mathew Thayil.<br><br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 7:32 PM, Geraint Lee <span dir="ltr">&lt;<a href="mailto:geraint@gmail.com">geraint@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you&#39;re using a php i&#39;d take a look at phpagi - there are others around for various different languages too. our agents use twinkle with auto-answer, the only reason they need to look at twinkle is if they need to perform a transfer (that too will soon be done from the web browser), you can do pretty much anything with the asterisk manager (originate the call and hangup the call and a load of other useful stuff)<br>

<br>Cheers<br><br><div class="gmail_quote">2009/3/10 Kurian Thayil <span dir="ltr">&lt;<a href="mailto:kurianmthayil@gmail.com" target="_blank">kurianmthayil@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>Hi Steve,</div>
<div> </div>
<div>That worked beautifully. Thank you so much. But one question though. Imagine if I keep a Hangup Button in the interface and it should terminate the call. Will that be possible? This scenario happens when the user gets connected to an invalid phone number where the user have to manually disconnect. I don&#39;t plan to confuse the user by asking them to use eyebeam to disconnect the call. If it could be integrated to the web interface they just have to stick on to that alone. Is there any way?</div>



<div> </div>
<div>Regards,</div>
<div> </div>
<div>Kurian Mathew Thayil.<br><br></div>
<div class="gmail_quote"><div><div></div><div>On Tue, Mar 10, 2009 at 4:51 PM, Steve Totaro <span dir="ltr">&lt;<a href="mailto:stotaro@first-notification.com" target="_blank">stotaro@first-notification.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Tue, Mar 10, 2009 at 6:40 AM, Kurian Thayil <span dir="ltr">&lt;<a href="mailto:kurianmthayil@gmail.com" target="_blank">kurianmthayil@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi All,</div>
<div> </div>
<div>Is there a way that I can include call dialing functionality in a webinterface. I have EyeBeam configured with a SIP user say </div>
<div>8440. Will I be able to design an inteface which agent can choose a number and the Dial without punching in the number in </div>
<div>Eyebeam.</div>
<div>I tried using the .call file. ie The agent can choose which number to dial from a web interface. Then, a .call file is </div>
<div>created with the following informations.</div>
<div> </div>
<div>Channel: Zap/g2/9444204943<br>Context: inbound_support<br>Extension: 8440<br>Priority: 0</div>
<div> </div>
<div>Now, in the extensions.conf file, I mentioned the following under inbound_support context.</div>
<div> </div>
<div>[inbound_support]<br>exten =&gt;8440,1,Dial(SIP/8440,55,tTo)<br>exten =&gt;8440,2,Answer<br>exten =&gt;8440,3,Hangup</div>
<div> </div>
<div>But, here the call gets connected only when the receiver end receives the call. When the receiver end picks up the phone, </div>
<div>SIP/8440 rings.</div>
<div> </div>
<div>Is there any other way to implement this. I am not ready to use Vicidial (AstGUIClient) because the interface to be designed </div>
<div>is too custom and the agent should have the list of numbers in front of them while they dial which cannot be done using </div>
<div>Vicicial.</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Kurian Mathew Thayil.</div></blockquote></div></div>
<div><br>The following will ring the internal support personnel (8440) first, after answered, it will then dial the customer (<span style="font-family: monospace;">14109850123</span>) (Are you in Maryland?)<br><br>Turn on auto-answer and it should be seamless.<br>


<span style="font-family: monospace;"></span><br> <br>Stolen from Wiki:<br><br>To create a call to 14109850123 on a SIP phones called bt101, here&#39;s the file you&#39;d create in /var/spool/asterisk/outgoing (whatever name is good, of course must be accessible and deletable by asterisk GNU/Linux user): <span style="font-family: monospace;"><br>


<br>Channel: SIP/8440  </span><span style="font-family: monospace;"><br>MaxRetries: 1 </span><span style="font-family: monospace;">  <br>RetryTime: 60  </span><span style="font-family: monospace;"><br>WaitTime: 30  </span><span style="font-family: monospace;"></span></div>



<div><br><span style="font-family: monospace;">#<br></span><span style="font-family: monospace;"># Assuming that your outgoing call logic is kept in the </span><span style="font-family: monospace;">#  context called [outgoing] </span><span style="font-family: monospace;"><br>


# </span><span style="font-family: monospace;">Context: outgoing </span><span style="font-family: monospace;"><br># Extension: 14109850123 </span><span style="font-family: monospace;"><br># Priority: 1 </span></div></div>

<br clear="all">
<font color="#888888"><br>-- <br>Thanks,<br>Steve Totaro <br>+18887771888 (Toll Free)<br>+12409381212 (Cell)<br><br></font><br></div></div>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>


<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>


</blockquote></div><br>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>