java - dial outbound with Twilio -
a previous question asked how dial web browser. fair enough, how dial number soft-phone, jitsi, or ip phone?
i have build app purpose, using client?
oddly, incoming calls require no configuration ip phone , dialing api easy.
think you're looking sip.
https://www.twilio.com/docs/api/twilio-sip/sending-sip-how-it-works
making outbound , inbound calls using sip domain
using asterix example, call flow 5000@example.sip.com(sip endpoint) alice@example.sip.us1.twilio.com should this:
sip end point ----> yourname(asterix pbx) ----> internet -----> twilio cloud ----> sip domain(example.sip.us1.twilio.com) -----> alice
now once call reaches alice, web hooks can used make necessary modifications per individual use case.
you can use concept make outbound call lets alice.example.sip.us1.twilio.com calls 5000@example.sip.com can achieved using <sip>
part of <dial>
verb in twiml.
making outbound , inbound calls using sip trunking
check out getting started guide here.
the way sip trunking works best understood analogy of pipe. can route calls towards twilio cloud (termination) or twilio cloud towards infrastructure (origination). need set ip access list or credential list security purposes.
please let me know if helps @ all.
Comments
Post a Comment