How to associate an inbound call sid with custom ID? Currently Twilio posts or gets its parameters to the configured voice URL, but one can't send custom parameters to twilio to callback with it's parameters. Example scanario: Caller calls in to authenticated to be connected to a different number at /twiml.php
, Twilio posts at /voice_url.php
at call initiation. How to then associated the current running authenticated caller with a callsid, assuming their caller id might be unknown?
- The strategy I've tried already was querying twilio for all running calls then matching the caller ID with the previously stored callerId from the twilio statuscall to the voice_url, but If i have multiple calls going with more than one 'unknown' caller ID, that wont work.