How to integrate FreeSWITCH in our application
Hello, I have downloaded and compiled the sources without any problems. Now we want to use the library to make a call controlled by our own business logic (We dont want to use a dialplan) We didnt find any documents or samples how we can 'manually' establish a call and play a media file. Can you give us some coding tips for this? Thanks in advance!! Ali
did u execute "make samples" after "make install"? this will install the sample configuration w/c you can modify to suit your needs. On Sat, Jul 3, 2010 at 2:29 PM, Durmuş Ali Öztürk <ali.stgt@gmail.com>wrote:
Hello,
I have downloaded and compiled the sources without any problems. Now we want to use the library to make a call controlled by our own business logic (We dont want to use a dialplan)
We didnt find any documents or samples how we can 'manually' establish a call and play a media file.
Can you give us some coding tips for this?
Thanks in advance!! Ali
_______________________________________________ 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
There are several ways to accomplish this. I would start by reading up on the "originate" command, which is used from the CLI or event socket like this: originate sofia/gateway/mygw/12223334444 &bridge(user/1001) Of course, it's a lot more powerful than just this example. You can originate calls from the event socket and control what happens, including playing files and getting digits. There are simple ESL examples in libs/esl. Do a wiki search on esl or event socket library and you'll see more. My last piece of advice is this: take a deep breath! This telephony stuff can be overwhelming at first. Keep plugging away at it. Also, join the IRC channel and listen to the weekly conf calls on Wednesdays. Welcome to FreeSWITCH! -MC Sent from my iPhone On Jul 2, 2010, at 11:29 PM, Durmuş Ali Öztürk <ali.stgt@gmail.com> wrote:
Hello,
I have downloaded and compiled the sources without any problems. Now we want to use the library to make a call controlled by our own business logic (We dont want to use a dialplan)
We didnt find any documents or samples how we can 'manually' establish a call and play a media file.
Can you give us some coding tips for this?
Thanks in advance!! Ali
_______________________________________________ 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
participants (3)
-
Durmuş Ali Öztürk
-
Michael S Collins
-
Nandy Dagondon