Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] HttAPI calling freeswitch api


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
adrian at a2es.co.uk
Guest





PostPosted: Sat Jan 07, 2023 5:09 pm    Post subject: [Freeswitch-users] HttAPI calling freeswitch api Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services