Skip to main content

Hello World

IMPORTANT!

If you hadn't yet read the intro part of this section, please click here to read it first.

Scenario Diagram

How does it work?

Our scenario includes 6 different modules, according to table below:

#ModuleDescription
1Attached Voice ApplicationThis is the Voice Application webhook.
2Say SomethingGenerate a Text-To-Speech Message.
3PausePause the execution for predefined number of seconds.
4Say SomethingGenerate a Text-To-Speech Message.
5Hangup CallHangup the call.
6Voice Application ResponseRender the module output for execution.

Each of the modules will generate one part of the CXML document to be returned, while the response will assemble all parts to a single rendered response.

Module #1 Result - Voice Application Request
[
{
"To": "88888",
"From": "999999",
"body": {
"ApiVersion": "1",
"CallStatus": "in-progress",
"From": "999999",
"CallSid": "f3bd0737e5784aa7b1d285bc0154db10",
"To": "88888",
"SessionData": {
"id": 10048287,
"domainId": 755,
"outgoingSubscriberId": 136490,
"destination": "88888",
"callerId": "999999",
"token": "f3bd0737e5784aa7b1d285bc0154db10",
"profile": {
"subscriber-sip-headers": {},
"callId": [
"28293431436702-395851086431570@192.168.2.161"
]
},
"callStartTime": 1719354316138,
"status": "processing",
"vappServer": "xxx.xxx.xxx.xxx",
"ringing": false,
"domainNameOrId": "yyy.yyy.yyy.com"
},
"Domain": "yyy.yyy.yyy.com",
"CallerName": "999999",
"Direction": "subscriber",
"AccountSid": "yyy.yyy.yyy.com",
"Session": "f3bd0737e5784aa7b1d285bc0154db10"
},
"query": {},
"Domain": "yyy.yyy.yyy.com",
"CallSid": "f3bd0737e5784aa7b1d285bc0154db10",
"headers": {
"connection": "upgrade",
"host": "hook.eu1.make.com",
"x-forwarded-for": "xxx.xxx.xxx.xxx, zzz.zzz.zzz.zzz, hook.eu1.make.com",
"x-forwarded-proto": "https",
"x-real-ip": "zzz.zzz.zzz.zzz",
"x-request-id": "f4b4bec1b49c13c9e6e0d9c9252f648d",
"content-length": "701",
"cdn-loop": "cloudflare",
"cf-ipcountry": "US",
"accept-encoding": "gzip, br",
"cf-ray": "89985f5d0cc62c54-ORD",
"cf-visitor": "{\"scheme\":\"https\"}",
"user-agent": "APP.Core/5.3.480",
"content-type": "application/json",
"authorization": "Bearer make-applications-key",
"x-cx-callername": "999999",
"x-cx-session": "f3bd0737e5784aa7b1d285bc0154db10",
"x-cx-apikey": "XI17F8CF2305ED4137A194D1D3A62A3451",
"x-cx-from": "972549371955",
"x-cx-stageid": "5180d5c3a7be58e9",
"x-cx-domain": "yyy.yyy.yyy.com",
"x-cx-to": "88888",
"x-cx-source": "SUBSCRIBER",
"cf-connecting-ip": "zzz.zzz.zzz.zzz"
},
"CallStatus": "in-progress",
"SessionData": {
"id": 10048287,
"domainId": 755,
"outgoingSubscriberId": 136490,
"destination": "88888",
"callerId": "999999",
"token": "f3bd0737e5784aa7b1d285bc0154db10",
"profile": {
"subscriber-sip-headers": {},
"callId": [
"28293431436702-395851086431570@192.168.2.161"
]
},
"callStartTime": 1719354316138,
"status": "processing",
"vappServer": "zzz.zzz.zzz.zzz",
"ringing": false,
"domainNameOrId": "yyy.yyy.yyy.com"
},
"CallDirection": "subscriber",
"CallStartTime": 1719354316138,
"SessionStatus": "processing",
"MakeScenarioURL": "https://hook.eu1.make.com/uwneohf2o1gipop22jt97qahvsmidamk"
}
]
Module #2 Result
Module #3 Result
Module #4 Result
Module #5 Result
Module #6 Result

Upon completing the scenario execution, the final rendered CXML document looks like this:

<Response>
<Say language="en-US" voice="Google:en-US-Neural2-H" loop="1">Welcome to Cloudonix, this is your friendly Hello World Announcement.</Say>
<Pause length="5"/>
<Say language="en-US" voice="Google:en-US-Neural2-H" loop="1">Thank you and good bye</Say>
<Hangup/>
</Response>

References

Module: Attached Voice Application
Module: Say Something
Module: Pause
Module: Hangup Call
Module: Voice Application Response