When buy a new number from twilio and connecting it with sms url to recieve SMS reply from user we do the following:
twilio.object.account.incoming_phone_numbers.create(
:phone_number => number,
:sms_url => url
)
but when change this url we have to go through all numbers and change the SMS url so we create a Twiml app.
Question is: Can we connect phone number when buy it to Twiml app something like:
twilio.object.account.incoming_phone_numbers.create(
:phone_number => number,
:twiml_sid => sid // that what we are trying to achieve
)
or its only sms_url
!