Browser-Phone
Browser-Phone copied to clipboard
Pickup calls
Hi,
My Asterisk dialplan defines a Pickup feature when calling **${EXTEN}.
I'd like Browser-Phone users to be able to pick up calls when a specific "buddy" is ringing (via XMPP or SIMPLE presence).
A quick hack modifying phone.js with something like this does the job:
profileRow += "<button id=\"contact-"+ buddyObj.identity +"-btn-pickupCall\" onclick=\"DialByLine('audio', '"+ buddyObj.identity +"', '**"+ buddyObj.ExtNo +"');\" class=roundButtons title=\"Pickup "+ lang.audio_call +"\"><i class=\"fa fa-phone\"></i></button>";
However, I'm sure this can be done way better and without hacking phone.js.
Any thoughts?
If it's not yet possible in the current release can you please consider it for the next one?
Thanks
Nice idea, ill see what i can do to incorporate this.