<div dir="auto">I use mod_v8 with a small script that curl's to my endpoint with instructions.<div dir="auto"><br></div><div dir="auto">It's not fully featured, but I've set up what I need. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 5, 2023, 5:06 PM Adrian Fretwell <<a href="mailto:adrian@a2es.co.uk">adrian@a2es.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Hi Gregor,</p>
    <p>Thankyou that is really helpful.</p>
    <p>I have been using Python with Postgresql behind Nginx to serve
      mod_xml_curl  and have managed to get the round trip response
      times down to 3 or 4 milliseconds.  So I figured if I can do the
      same with handling httapi requests, it should work reasonably
      well.<br>
    </p>
    <p><br>
    </p>
    <div></div>
    <font face="Verdana, Helvetica, Sans-Serif" color="#000000">Kind
      regards,<br>
      <br>
      Adrian Fretwell<br>
    </font>
    <p><br>
    </p>
    <div>On 05/01/2023 14:49, Gregor Nanger
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default">When we started with FS years ago, we
            built everything with mod_xml_curl.</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default">After that we've started with
            mod_httapi and if we would start over, we would build more
            logic with mod_httapi. I like it as you can build small
            pieces of dialplan and have more control of logic while call
            progress through dialplan. In mod_xml_curl you have to build
            all dialplan, when call starts, that FS compiles it. You can
            use transfer, but mod_httapi is more developer friendly.</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default">We are using mod_httapi in production
            without problems, but still main logic is with mod_xml_curl.</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default">If you are using Python, you can write
            webhooks in Python or in any language you prefer.</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default">I am also curious how community is
            using mod_httapi.</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default">BR, Gregor</div>
          <div class="gmail_default"><br>
          </div>
          <div class="gmail_default"><br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Thu, 5 Jan 2023 at 15:08,
            Adrian Fretwell <<a href="mailto:adrian@a2es.co.uk" target="_blank" rel="noreferrer">adrian@a2es.co.uk</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>
              <p>Hello,</p>
              <p>mod_httapi appears to be handy alternative to calling
                embedded language scripts for ad-hoc dialplan
                interactions.  I can see a lot of potential for this, do
                many people use it?  If you have used it in production
                would you share any experiences good or bad?  Any hints
                or tips or gotchas to avoid?<br>
              </p>
              <p>The reason for me asking this, is that I'm having
                second thoughts about using Python and I really don't
                like Lua.<br>
              </p>
              <p><br>
              </p>
              <font face="Verdana, Helvetica, Sans-Serif" color="#000000">Kind regards,<br>
                <br>
                Adrian Fretwell<br>
              </font><small><small><small><br>
                  </small></small></small> </div>
_________________________________________________________________________<br>
            <br>
            The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
            Enhance your FreeSWITCH install with disruptive priced SMS
            and PSTN services.<br>
            Build your next product on our scalable cloud platform.<br>
            <br>
            Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
            <br>
            Professional FreeSWITCH Services<br>
            <a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
            <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
            <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
            <a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" target="_blank" rel="noreferrer">https://signalwire.com</a>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time <a href="https://signalwire.community" target="_blank" rel="noreferrer">https://signalwire.community</a>

Professional FreeSWITCH Services
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a>
<a href="https://freeswitch.com" target="_blank" rel="noreferrer">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a href="https://freeswitch.com/oss" target="_blank" rel="noreferrer">https://freeswitch.com/oss</a>
<a href="https://freeswitch.org/confluence" target="_blank" rel="noreferrer">https://freeswitch.org/confluence</a>
<a href="https://cluecon.com" target="_blank" rel="noreferrer">https://cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="https://freeswitch.com" target="_blank" rel="noreferrer">https://freeswitch.com</a></pre>
    </blockquote>
  </div>

_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>