", from: "+12225551234", to: new PhoneNumber" /> ", from: "+12225551234", to: new PhoneNumber" /> ", from: "+12225551234", to: new PhoneNumber"/>

How to confirm a caller id number was used?

111 Views Asked by At

I'm creating a CallResource using code like this:

var resource = CallResource.Create(
    twiml: "<some TwiMl>",
    from: "+12225551234",
    to: new PhoneNumber("+17235551234"),
    callerId: "<Twilio number I own>"
);

I can see the call being created in the console and the from and to numbers are the one entered in those fields but I can't see the callerId number anywhere.

How can I confirm that the caller id entered was correctly used?

1

There are 1 best solutions below

0
Ben On BEST ANSWER

In the case where you are creating a CallResource to connect an external party to a conference call the from: field is not used to make a call. This means you can set it to whatever you want (I didn't test if this number was constrained by the verified caller id system since all our numbers are bought through Twilio)

CallerId doesn't seem to be used in this case.