[Freeswitch-users] HttAPI calling freeswitch api

Adrian Fretwell adrian at a2es.co.uk
Sat Jan 7 21:55:23 UTC 2023


Hello,

I needed to call the "uuid_display" API function from a httapi 
document.  Document shown below, but is there a better way of doing 
this?  I could not work out how else to call the api function.

<document type="xml/freeswitch-httapi">
   <params/>
   <work>
     <execute application="set" 
data="api_result=${uuid_display(484f819a-4141-4f35-aa91-01c676f4ebb6 
'Hello World')}"/>
     <execute application="sleep" data="2000"/>
     <hangup/>
   </work>
</document>

Many thanks &Kind regards,


Adrian Fretwell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20230107/da2ea782/attachment.html>


More information about the FreeSWITCH-users mailing list