Where did you read all of that because it's out of date.<div>All of the above is deprecated in favor of ESL and the perl module for ESL.</div><div>That should have been much easier to find than the stuff you are referencing since ESL was even mentioned</div>
<div>in this very thread.</div><div><br></div><div>What threading issues are you having in perl? Are you actually going to use perl for a threaded app?</div><div><br><br><div class="gmail_quote">On Tue, May 25, 2010 at 10:03 AM, Phone <span dir="ltr"><<a href="mailto:phone.bytes@gmail.com">phone.bytes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sorry to revive this already long thread...but I think the history is<br>
relevant as I am still stuck on the approach.<br>
<br>
I came across the perl POE "POE::Filter::FSSocket" and thought I might<br>
learn and use it. Thought it might be nice to help with the<br>
socket/threading issues...and avoid having to get down and dirty with<br>
them. However, in looking closer it appeared that nothing had really<br>
happened on it for about 4 years...then I read a post indicating that<br>
it was out of date and that Anthony's FreeSWITCH::CLient would be a<br>
better choice. I have been able to try out the perl FreeSWITCH Client<br>
example on the wiki and send out some calls using "bgapi"...but I am<br>
not sure how to handle the multiple threads. Would I just deal with all<br>
events in a loop similar to what is in the wiki client example?<br>
<br>
Now I am really confused as to how to tackle this. Not an expert with<br>
any particular language...but it seems that scripting may be nice from a<br>
maintenance point of view??<br>
<br>
Any further thoughts or examples to get me on my way? I am really open<br>
as to the approach to take.<br>
<br>
Thanks<br>
<br>
So now I don't know what direction to go to get this started.<br>
<div><div></div><div class="h5">Jan Berger wrote:<br>
> You don't need to pull a db these day's, you can use triggers to signal your<br>
> application - a bit depending on what db you use and what scripting they<br>
> offer beyond SQL.<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Phone<br>
> Sent: 13. mai 2010 01:46<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] Questions on Building an application for<br>
> FreeSWITCH<br>
><br>
> Thanks for sharing your experience.<br>
><br>
> We would like to get over to linux with this.<br>
><br>
> I am still trying to get my head around how this generally works. I<br>
> guess we would write a client to sit and run on the linux box where it<br>
> could periodically check the DB and then talk sockets to FS to make the<br>
> calls?<br>
><br>
> Can you point me to examples of talking sockets?<br>
><br>
><br>
><br>
><br>
><br>
> Kristian Kielhofner wrote:<br>
><br>
>> Glad to hear.<br>
>><br>
>> I still say to build the app and logic completely separately and connect<br>
>><br>
> it<br>
><br>
>> to FreeSWITCH over the socket using ESL.<br>
>><br>
>><br>
>> --<br>
>> Kristian Kielhofner<br>
>> <a href="http://blog.krisk.org" target="_blank">http://blog.krisk.org</a><br>
>><br>
>> ----- Original Message -----<br>
>> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
>> <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>><br>
>> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
>> <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
>> Sent: Wed May 12 18:28:13 2010<br>
>> Subject: Re: [Freeswitch-users] Questions on Building an application<br>
>> forFreeSWITCHThis is legit. We are not into harassing anyone. There<br>
>> are too many<br>
>> people doing that already.<br>
>><br>
>> We currently have this working on a Windows/Dialogic platform, but would<br>
>> like to get it over to FreeSWITCH for a number of reasons. It is always<br>
>> nice to avoid spending alot of time developing using a method that you<br>
>> later find has serious issues or limitations and then having to change<br>
>> horses and start over. I just thought I would tap on someone else's<br>
>> wisdom in regards to a good way to talk to FS that works well. I did<br>
>> notice that the wiki talks like LUA is the preferred way to go.<br>
>><br>
>> Thanks<br>
>><br>
>><br>
>><br>
>> Michael Collins wrote:<br>
>><br>
>><br>
>>> On Wed, May 12, 2010 at 2:50 PM, Kristian Kielhofner<br>
>>> <<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a> <mailto:<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>>> wrote:<br>
>>><br>
>>> Are you going to be calling my cell phone to ask if I owe $10,000<br>
>>> or more to<br>
>>> the IRS?<br>
>>><br>
>>> Seriously, the world does not need another robodialer to harass<br>
>>> people...<br>
>>><br>
>>> Agreed, however there are legitimate use cases for this, like a<br>
>>> retailer calling to say an order is in, or reminder calls sent out by<br>
>>> a doctor's office. But yes, if it's dialing for dollars then I'm with<br>
>>> you: Por favor! No mas!<br>
>>> -MC<br>
>>><br>
>>><br>
>>><br>
>>> With that being said, write your app in whatever you want using<br>
>>> ESL and<br>
>>> connect to the socket to originate calls and listen for events.<br>
>>><br>
>>><br>
>>> --<br>
>>> Kristian Kielhofner<br>
>>> <a href="http://blog.krisk.org" target="_blank">http://blog.krisk.org</a><br>
>>><br>
>>> ----- Original Message -----<br>
>>> From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>><br>
>>> <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>>><br>
>>> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
>>> <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>><br>
>>> Sent: Wed May 12 15:40:58 2010<br>
>>> Subject: [Freeswitch-users] Questions on Building an application<br>
>>> forFreeSWITCHI am looking for a boot in the right direction on the<br>
>>> following project.<br>
>>><br>
>>> I am looking to build an "application" with FS where it will<br>
>>> frequently<br>
>>> check a database and then make an outbound call when a record with<br>
>>> certain conditions is found in the DB. It needs to determine if the<br>
>>> call was then answered by a machine/vm, busy, or answered by a<br>
>>><br>
> person,<br>
><br>
>>> play a message and get a response back to be recorded in the db.<br>
>>> It may<br>
>>> find many calls that need to be made at the same time. It will be<br>
>>> running on a PRI.<br>
>>><br>
>>> I am confused as to what approach to use to accomplish this.<br>
>>><br>
>>> Lua Script, Perl Script, Javascript, Phython, PHP, Ruby....etc.<br>
>>> Liverpie, ESL....etc.<br>
>>> Or a totally different approach.<br>
>>><br>
>>> I realize that there is not only one "correct" way to build this,<br>
>>> but I<br>
>>> am looking for advise from those who have done this type of thing<br>
>>> before. I value the opinion of those who have gone down this road<br>
>>><br>
> and<br>
><br>
>>> would be willing to share their thoughts on a recommended path to<br>
>>><br>
> take<br>
><br>
>>> to accomplish this.<br>
>>><br>
>>> Thanks<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>> _______________________________________________<br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>