[Freeswitch-users] mod_httapi usage/popular?

Zvonimir Bužanić Zvonimir.Buzanic at asseco-see.hr
Thu Jan 5 15:51:55 UTC 2023


We are using mod_xml_curl & c/c++ app to handle scripting, logic, ivrs, recording, etc.
New version is go based & httapi.

Br, Zvonimir

From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Avi Marcus
Sent: 05. siječnja 2023. 16:16
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] mod_httapi usage/popular?

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

I use mod_v8 with a small script that curl's to my endpoint with instructions.

It's not fully featured, but I've set up what I need.

On Thu, Jan 5, 2023, 5:06 PM Adrian Fretwell <adrian at a2es.co.uk<mailto:adrian at a2es.co.uk>> wrote:

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<mailto: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<mailto: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<mailto: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 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<mailto: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<mailto: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 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<mailto: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<mailto: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
This communication is for informational purposes only. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Present message and any attached files may be or contain privileged information and is the property exclusive of ASSECO SEE CAPITAL GROUP. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. The information contained in this message is solely intended for the physical or legal person to whom it is addressed and to the authorized persons for receiving it. In the case you are not the intended recipient or the authorized person to receive this message, we inform that disclosure, duplicate, distribution or taking up any actions on information contained in this message are strictly forbidden and are under civil and legal responsibility. In case you received it by error, you are requested to notify the sender and to destroy the original e-mail message from your system. Opinions, conclusions or any other information contained into this message, which are not related to ASSECO SEE CAPITAL GROUP activity must not be understood to be expressed or should be endorsed by ASSECO SEE CAPITAL GROUP. The interpretation expressed in the present message did not reflect ASSECO SEE CAPITAL GROUP opinion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20230105/1608181e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list