Reputation: 1420
I have populated the following numbers from the database.
<Dial callerId="+266696687">
<Number>8018xxxxxx</Number>
<Number>8012xxxxxx</Number>
<Number>8013xxxxxx</Number>
</Dial>
How to get the dialed number?
Okay, to clarify this question. [Updated 07/08/2012]
On the above details the 3 numbers will simultaneously ringings, right?
So, when one of them answers the call. How we can get the number?
Example, if 8018xxxxxx answers the call, how I can get them? thru $_REQUEST['Number']? absolutely not $_REQUEST['Dial'].
Upvotes: 0
Views: 388
Reputation: 30565
You can specify a URL on the TWIML. At that URL you can then get the number and do whatever processing is required.
Please see the Twilio Docs at: https://www.twilio.com/docs/api/twiml/number
Upvotes: 2