Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

Pickup calls

Open vieridipaola opened this issue 2 years ago • 1 comments

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

vieridipaola avatar Oct 19 '22 13:10 vieridipaola

Nice idea, ill see what i can do to incorporate this.

InnovateAsterisk avatar Oct 20 '22 09:10 InnovateAsterisk