adrian at a2es.co.uk Guest
|
Posted: Sat Jan 07, 2023 5:09 pm Post subject: [Freeswitch-users] HttAPI calling freeswitch api |
|
|
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 |
|