<div dir="ltr"><div dir="auto">Tim is correct: this is normal from my experience too.</div><div dir="auto"><br></div><div>I feel partly responsible for your woes, since I think you found that solution from me pointing out the script repository online.</div><div dir="auto"><br></div><div>Thinking about it some more, I think I would have the HTTP Triggered Application use the Trigger Application step in async mode, to start the initial callback feature, and then it can just End almost immediately.</div><div><br></div><div>I through together this quick and dirty MS Paint representation of it:</div><div><br></div><div><div><div><img src="cid:ii_k5y14opd1" alt="image.png" style="margin-right: 0px;"><br></div></div></div><div><br></div><div>There's like a dozen ways to solve this, and this is just one of them.  Some details are left out of the drawing on purpose, so if you get stuck, let's keep this thread going.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 28, 2020, 7:14 AM Johnson, Tim <<a href="mailto:johns10t@cmich.edu" target="_blank">johns10t@cmich.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div>
<p class="MsoNormal">As far as my experience, this is “normal” for UCCX. Yes, I believe the request stays open until the script ends. I believe we opened up a TAC case about it a year or two ago but I don’t believe it went anywhere.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> cisco-voip <<a href="mailto:cisco-voip-bounces@puck.nether.net" rel="noreferrer" target="_blank">cisco-voip-bounces@puck.nether.net</a>>
<b>On Behalf Of </b>Matthew Loraditch<br>
<b>Sent:</b> Tuesday, January 28, 2020 8:06 AM<br>
<b>To:</b> <a href="mailto:cisco-voip@puck.nether.net" rel="noreferrer" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> [cisco-voip] HTTP Response for HTTP Triggered Script<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Got the following comment from the developer who is writing an app that will queue a call via http trigger:<u></u><u></u></p>
<p class="MsoNormal"><i>It seems like the MobileApp integration is accepting my request, spits back some HTML, but the HTTP request remains open until the queued call is answered.<u></u><u></u></i></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal"><i>Ideally, that HTTP request would be closed with a successful HTTP status code (e.g. HTTP 200) when the call was queued, so that I can report back to the user that they can wait for a callback. <u></u><u></u></i></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal">I understand his problem, but I see no way  of fixing it. The send http response command doesn’t seem to have any settings but the doc sent back. Is this normal behavior or can I do something with the doc being sent back to make it work?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 7.5pt 0in 0in">
<p class="MsoNormal"><span style="font-size:1pt"> <u></u><u></u></span></p>
</td>
<td style="padding:7.5pt 0in 7.5pt 7.5pt">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><b><span style="color:rgb(243,128,11)">Matthew Loraditch</span></b><b><span style="font-size:1pt;font-family:remialcxesans,serif;color:white">​</span></b><b><span style="color:rgb(243,128,11)"><u></u><u></u></span></b></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><b><span style="color:gray">Sr. Network Engineer<u></u><u></u></span></b></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0in 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">p:</span><span style="color:gray"> </span><a href="tel:443.541.1518" rel="noreferrer" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">443.541.1518</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">w:</span><span style="color:gray"> </span><a href="http://www.heliontechnologies.com/" rel="noreferrer" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">www.heliontechnologies.com</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:gray"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">e:</span><span style="color:gray"> </span><a href="mailto:MLoraditch@heliontechnologies.com" rel="noreferrer" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">MLoraditch@heliontechnologies.com</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="bottom" style="padding:0in">
<p class="MsoNormal"><a href="http://www.heliontechnologies.com/" rel="noreferrer" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="300" height="75" style="width: 3.125in; height: 0.7812in;" id="gmail-m_8108426424113407817m_4092468605583057639Picture_x0020_6" alt="Helion Technologies"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://facebook.com/heliontech" rel="noreferrer" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_8108426424113407817m_4092468605583057639Picture_x0020_2" alt="Facebook"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in 2.25pt 0in 0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://twitter.com/heliontech" rel="noreferrer" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_8108426424113407817m_4092468605583057639Picture_x0020_3" alt="Twitter"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in 2.25pt 0in 0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://www.linkedin.com/company/helion-technologies" rel="noreferrer" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_8108426424113407817m_4092468605583057639Picture_x0020_4" alt="LinkedIn"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="font-size:1pt"><img border="0" width="400" height="147" style="width: 4.1666in; height: 1.5312in;" id="gmail-m_8108426424113407817m_4092468605583057639Picture_x0020_5"></span><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" rel="noreferrer" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer noreferrer" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote></div>