VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
msc at freeswitch.org Guest
|
Posted: Fri Aug 28, 2009 11:15 am Post subject: [Freeswitch-users] How can it be done with freeswitch? |
|
|
Nagalenoj,
This is definitely possible to do with FreeSWITCH. However, it is not exactly simple. You have some learning to do. My recommendation is to learn about event socket. Most likely you'll need to use outbound event socket. (Read about event socket and ESL, the event socket library, on the wiki.)
I also recommend that you look at some of the example scripts in src/libs/esl/perl/ which show some of the ways to handle calls with a script. You've already done a good job of breaking down the steps, now experiment with handling each of these steps with a script. We don't have extensive Perl script examples which means we would love to see your code when you have it all figured out!
-MC
On Thu, Aug 27, 2009 at 11:44 PM, Nagalenoj <nagalenoj@gmail.com (nagalenoj@gmail.com)> wrote:
|
|
Back to top |
|
|
nagalenoj at gmail.com Guest
|
Posted: Fri Aug 28, 2009 11:31 pm Post subject: [Freeswitch-users] How can it be done with freeswitch? |
|
|
Thanks for your help. Is it the only possible way.?
Else, will it be done with the functions listed in the below url,
http://wiki.freeswitch.org/wiki/Mod_perl_functions_and_classes
I was trying to do with these classes and functions.
mercutioviz wrote:
Quote: |
Nagalenoj,
This is definitely possible to do with FreeSWITCH. However, it is not
exactly simple. You have some learning to do. My recommendation is to
learn
about event socket. Most likely you'll need to use outbound event socket.
(Read about event socket and ESL, the event socket library, on the wiki.)
I also recommend that you look at some of the example scripts in
src/libs/esl/perl/ which show some of the ways to handle calls with a
script. You've already done a good job of breaking down the steps, now
experiment with handling each of these steps with a script. We don't have
extensive Perl script examples which means we would love to see your code
when you have it all figured out!
-MC
On Thu, Aug 27, 2009 at 11:44 PM, Nagalenoj <nagalenoj@gmail.com> wrote:
Quote: |
Dear friends,
I am using freeswitch for the last one month and trying to write perl
scripts to do some tasks.
I am trying a new thing, which is something that I don't how to do it and
I
don't whether it can be done with freeswitch. my requirement is as
follows,
A calls B[This extension has to execute a script].
The script has to do the following,
* Cut the call and callback to the number.
* Get a phone number[DTMF] from A.
* Dial the number(C) and bridge A and C.
* When C cuts the call, the control has to comeback to
script.
* Ask another number to A to dial out, get another phone
number[DTMF] from A.
* Dial the number(D) and bridge A and D.
Please, help me to do this. Is there any other documentation to read
about
the perl freeswitch functions.
--
View this message in context:
http://www.nabble.com/How-can-it-be-done-with-freeswitch--tp25184845p25184845.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
View this message in context: http://www.nabble.com/How-can-it-be-done-with-freeswitch--tp25184845p25199956.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Aug 31, 2009 11:26 am Post subject: [Freeswitch-users] How can it be done with freeswitch? |
|
|
On Fri, Aug 28, 2009 at 9:26 PM, Nagalenoj <nagalenoj@gmail.com (nagalenoj@gmail.com)> wrote:
Yes, these classes and functions are the building blocks that you'll use to construct your application. We have a few Perl examples you can use to get you going. At this point you will probably just need to roll up your sleeves and start hacking away at it. Definitely email or drop by #freeswitch on irc.freenode.net if you have more questions.
-MC |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|