[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-users
Subject:    [Freeswitch-users] Executing java application within an HTTAPI application
From:       "Thomas, Tom" <tthomas () soleocommunications ! com>
Date:       2017-03-30 16:46:04
Message-ID: SN1PR0801MB16455FCBE47875932B880464A4340 () SN1PR0801MB1645 ! namprd08 ! prod ! outlook ! com
[Download RAW message or body]

Greetings everyone,
I was wondering if mod_java is supported by the "execute" work action in HTTAPI. So \
something like this within a response document:

<document type="text/freeswitch-httapi">
<work>
<execute application="java" data="{args_for_java_app}" ..../>
</work>
</document>

I haven't setup a webserver for HTTAPI yet. So I wanted to know before I go down this \
path that this can be done. I have a java application that I currently execute from \
the dialplan. I need to know if httapi can use execute to do the same.

Thanks a lot in advance.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Greetings everyone,<o:p></o:p></p>
<p class="MsoNormal">I was wondering if mod_java is supported by the \
&#8220;execute&#8221; work action in HTTAPI. So something like this within a response \
document:<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;document \
type=&quot;text/freeswitch-httapi&quot;&gt;<o:p></o:p></p> <p \
class="MsoNormal">&lt;work&gt;<o:p></o:p></p> <p class="MsoNormal">&lt;execute \
application=&quot;java&quot; data=&quot;{args_for_java_app}&quot; \
&#8230;./&gt;<o:p></o:p></p> <p class="MsoNormal">&lt;/work&gt;<o:p></o:p></p>
<p class="MsoNormal">&lt;/document&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I haven&#8217;t setup a webserver for HTTAPI yet. So I wanted to \
know before I go down this path that this can be done. I have a java application that \
I currently execute from the dialplan. I need to know if httapi can use execute to do \
the same.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks a lot in advance.<o:p></o:p></p>
</div>
</body>
</html>



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.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
--===============6227193593088260057==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic