[Freeswitch-users] mod_httapi usage/popular?
Adrian Fretwell
adrian at a2es.co.uk
Thu Jan 5 15:05:55 UTC 2023
Hi Gregor,
Thankyou that is really helpful.
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.
Kind regards,
Adrian Fretwell
On 05/01/2023 14:49, Gregor Nanger wrote:
> When we started with FS years ago, we built everything with mod_xml_curl.
>
> 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.
>
> We are using mod_httapi in production without problems, but still main
> logic is with mod_xml_curl.
>
> If you are using Python, you can write webhooks in Python or in any
> language you prefer.
>
> I am also curious how community is using mod_httapi.
>
> BR, Gregor
>
>
>
> On Thu, 5 Jan 2023 at 15:08, Adrian Fretwell <adrian at a2es.co.uk> wrote:
>
> Hello,
>
> 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?
>
> The reason for me asking this, is that I'm having second thoughts
> about using Python and I really don't like Lua.
>
>
> Kind regards,
>
> Adrian Fretwell
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire
> https://signalwire.com
> 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
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
>
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWirehttps://signalwire.com
> 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 timehttps://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20230105/54442468/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list