Open tjlytle opened 12 years ago
You could use the /twiml/dial url like the browserphone does.
Look at controllers/twiml.php
in the dial method on line 317. This method will dial 3 ways:
client:{user_id}
)2 & 3 will both dial the user as if the user were the target of a dial twimlet. You can "fake" send the 1 digit (which is all we do with client dials) to skip the announcement step.
Its not "official", but it does this sound like what you're after?
I had taken a look there, but not too closely. It looks like it needs to be authenticated through the rest auth process (not something I've played with before). I'll see if I can get it to work.
I've worked on a few plugins that include a 'dial' functionality (for example the directory plugin allows you to search the users, then dial). It would be nice if there was a common core TwiML URL that could be used to dial a user (and then, if the user rejects, go to voiemail).
There isn't on that I'm just missing, is there?