I am trying to integrate voice calling feature with Twilio. I use react-native-twilio-programmable-voice. I place call from my application to a mobile number which is verified in twilio account. But When i hear the call it is playing the TwilioML xml message and in debugger it is showing inbound call. It should be outbound call since I am calling from my application to another number.
Why this is happening? My application just need to call on other numbers. I don't want incomming call to application.
TwilioVoice.connect({ To: +9196xxxxxxxx, From: '+14158959608' })
----- Update -----
XML updated to
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial>+91969xxxxxxx</Dial>
</Response>
also used Twilio ML bin
But now showing error "callerId must be provided for TwilioClient and SIP calls when using Dial"
Where i made mistake ?