Is there a way to display Twilio number in Caller ID without hard-coding it? -
i have question similar one: how can display twilio number inbound calls
however, have 2 separate twilio numbers both point same url, hard-coding number caller id no longer option. there method can utilize twilio number called? know phonenumber gets caller's number, need way distinguish of 2 numbers calling.
twilio evangelist here.
when twilio makes http request application letting know has called twilio number, pass along a bunch of form-encoded parameters, including twilio phone number person called. web platform should have way grab parameters fro mthe incoming request. illustration in php looks this:
$from = $_request['to'];
in .net, there number of ways it, here one:
request.form["to"]
hope helps.
twilio
No comments:
Post a Comment