I’m trying to follow the Twilio docs for adding a Caller ID as a verified out going telephone number.
The Twilio c# helper library has a method signature which looks like so
void AddOutgoingCallerId (phoneNumber, friendlyName, callDelay, callback)
where callback is Action<ValidationRequestResult>
I don’t understand this. I’m trying to set a URL that Twilio can post back to once the verification has taken place.
Help appreciated.
You need to implement a method that takes a
ValidationRequestResultand returnsvoid. That’s the method that will get called. You provide that method as the callback parameter.Here’s your call:
And here’s the method that you need to create.