<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-signature"></div>
    <font face="Verdana, Helvetica, Sans-Serif" color="#000000">Kind
      regards,<br>
      <br>
      Adrian Fretwell<br>
    </font>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 05/01/2023 14:49, Gregor Nanger
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC7ttFFEWbe4WFZrSGJdbREZk5MWQ4-2_rGZ2R_kkBPMZE2cqg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">When we started with FS years ago, we
            built everything with mod_xml_curl.</div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">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" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">We are using mod_httapi in production
            without problems, but still main logic is with mod_xml_curl.</div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">If you are using Python, you can write
            webhooks in Python or in any language you prefer.</div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">I am also curious how community is
            using mod_httapi.</div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif">BR, Gregor</div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><br>
          </div>
          <div class="gmail_default" style="font-family:"trebuchet
            ms",sans-serif"><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" moz-do-not-send="true"
              class="moz-txt-link-freetext">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"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">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"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://signalwire.community</a><br>
            <br>
            Professional FreeSWITCH Services<br>
            <a href="mailto:sales@freeswitch.com" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">sales@freeswitch.com</a><br>
            <a href="https://freeswitch.com" rel="noreferrer"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://freeswitch.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a href="https://freeswitch.com/oss" rel="noreferrer"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://freeswitch.com/oss</a><br>
            <a href="https://freeswitch.org/confluence" rel="noreferrer"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://freeswitch.org/confluence</a><br>
            <a href="https://cluecon.com" rel="noreferrer"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a href="https://freeswitch.com" rel="noreferrer"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://freeswitch.com</a></blockquote>
        </div>
        <br clear="all">
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire <a class="moz-txt-link-freetext" href="https://signalwire.com">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 class="moz-txt-link-freetext" href="https://signalwire.community">https://signalwire.community</a>

Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></pre>
    </blockquote>
  </body>
</html>