Combining Sip and Number calls in a single Dial noun

396 views
Skip to first unread message

Ben Clark

unread,
Sep 5, 2017, 12:12:04 PM9/5/17
to Twilio Functions
Hi there

I've been trying to set up a system to call a softphone and mobile number concurrently, with the call going through to the first one to answer. 

I've found that Twilio supports multiple calls for Numbers as shown here:  https://www.twilio.com/blog/2009/05/dialing-multiple-numbers-simultaneously-with-twilio.html

However when I try to do the same set up with SIP:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Dial>
    <Number>123412341234</Number>
  </Dial>
</Response>

The debugger shows the following error: "13000 Sip Noun cannot be mixed with Number/Client nouns."

The error message suggests that the Sip noun should only be used on its own, but is it possible to do this sort of concurrent calling with a Dial noun another way? 

Many thanks
Ben 

Chris Corcoran

unread,
Sep 5, 2017, 2:24:44 PM9/5/17
to Twilio Functions
Hi Ben,

Thanks for your question. Unfortunately no, you can not mix the <Number> and <Sip> nouns in the <Dial> verb. You can have multiple instance of both <Sip> and <Number> nested in a <Dial>, but you can't mix them. 

I think this TwiML might do what you want: https://www.twilio.com/labs/twimlets/findme

Have a look and let me know if it works. If it doesn't then we can try to build a Twilio Function that does.

Thanks,
Chris Corcoran
Product Manager, Twilio Runtime
Reply all
Reply to author
Forward
0 new messages