Establishing a Call from .Net based application
Hi, Is there any API modules available for me to initiate a call from .Net based application?. The idea is to include the API modules if any with the .NET base classes so that the API commands will be made available on it. I know it is doable when I use socket programming in .NET in which Telnet session is created. However, this would potentially hamper the performance of the application because of multiple sessions that will be created for each call. Other than that, Is there any Freeswitch API modules (like plug-ins) available in order to include it into the .Net classes and start building the customized application? Any help from any one is highly appreciated. Thanks, Scott
Please try http://wiki.freeswitch.org/wiki/Webapi you can create class and map to webapi. Dome C. 2010/1/19 Scott Fernandez <scottferri09@gmail.com>:
Hi,
Is there any API modules available for me to initiate a call from .Net based application?.
The idea is to include the API modules if any with the .NET base classes so that the API commands will be made available on it. I know it is doable when I use socket programming in .NET in which Telnet session is created. However, this would potentially hamper the performance of the application because of multiple sessions that will be created for each call.
Other than that, Is there any Freeswitch API modules (like plug-ins) available in order to include it into the .Net classes and start building the customized application?
Any help from any one is highly appreciated.
Thanks, Scott
_______________________________________________ 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
I've implemented the Example 13: Call Screening from http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_13:_Call_Screening (below) and, while the file plays fine (over and over), fs is reporting an error from switch_ivr_originate. [ERR] switch_ivr_originate.c:202 sofia/internal/sip:1000@10.0.1.100 Error Playing File! If I remove the group_confirm_file line, it works as expected. Could it be that the DTMF (pressing 1 to accept the call) is interrupting the playback of the file? <extension name="screen"> <condition field="destination_number" expression="^(\d{4})$"> <action application="set" data="call_screen_filename=/tmp/${caller_id_number}-name.wav"/> <action application="answer"/> <action application="sleep" data="1000"/> <action application="phrase" data="voicemail_record_name"/> <action application="playback" data="tone_stream://%(500, 0, 640)"/> <action application="set" data="playback_terminators=#*0123456789"/> <action application="record" data="${call_screen_filename} 7 200 2"/> <action application="set" data="group_confirm_key=1"/> <action application="set" data="fail_on_single_reject=true"/> <action application="set" data="group_confirm_file=${call_screen_filename}"/> <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="user/$1"/> <action application="voicemail" data="default $${domain} $1"/> <action application="hangup"/> </condition> </extension> -Troy
Thanks Dome. Will try it out and get back to you if I come across any issues. Regards, Scott. On Wed, Jan 20, 2010 at 11:02 AM, Dome Charoenyost <dome@tel.co.th> wrote:
Please try http://wiki.freeswitch.org/wiki/Webapi you can create class and map to webapi.
Dome C.
2010/1/19 Scott Fernandez <scottferri09@gmail.com>:
Hi,
Is there any API modules available for me to initiate a call from .Net based application?.
The idea is to include the API modules if any with the .NET base classes so that the API commands will be made available on it. I know it is doable when I use socket programming in .NET in which Telnet session is created. However, this would potentially hamper the performance of the application because of multiple sessions that will be created for each call.
Other than that, Is there any Freeswitch API modules (like plug-ins) available in order to include it into the .Net classes and start building the customized application?
Any help from any one is highly appreciated.
Thanks, Scott
_______________________________________________ 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
participants (3)
-
Dome Charoenyost
-
Scott Fernandez
-
Troy Anderson