Chrome extension 1.1.0 released
A new version is up on the Chrome Web Store
It has the following new features:
* Extension buttons work as speed dials:
You can click on any of them to quickly originate a call to their extension.
* Ability to define a notification content URL
Apart from the popup link you can define to open a new browser tab pointing to some web application you might have, now you can use a web application to get the actual content of the call notification, to show it directly inside the notification. For example, you can have an answering service and want to display the greeting speech for when a call comes in, then you can create a web service that will retrieve that information directly, and it will be presented right inside the call notification, with no need to open a new browser tab.
* Configurable protocol handler
Previous versions added the sip: protocol handler to click to call numbers on web pages, so if you have a soft phone that registers itself with that protocol handler, clicking on the number should make your phone call directly (without using the Asterisk/FOP2 callback method). It seems some users are installing soft phones that sets a protocol handler, but they do not want to use that soft phone to make the call, so now that handler is configurable via Options (by default its empty, with no handler).
Enjoy!
It has the following new features:
* Extension buttons work as speed dials:
You can click on any of them to quickly originate a call to their extension.
* Ability to define a notification content URL
Apart from the popup link you can define to open a new browser tab pointing to some web application you might have, now you can use a web application to get the actual content of the call notification, to show it directly inside the notification. For example, you can have an answering service and want to display the greeting speech for when a call comes in, then you can create a web service that will retrieve that information directly, and it will be presented right inside the call notification, with no need to open a new browser tab.
* Configurable protocol handler
Previous versions added the sip: protocol handler to click to call numbers on web pages, so if you have a soft phone that registers itself with that protocol handler, clicking on the number should make your phone call directly (without using the Asterisk/FOP2 callback method). It seems some users are installing soft phones that sets a protocol handler, but they do not want to use that soft phone to make the call, so now that handler is configurable via Options (by default its empty, with no handler).
Enjoy!
Comments
It's still not working for me.
Protocol handler field is empty and I'm getting no callback after clicking a number.
Even selecting a number and right click->fop2 extension->dial xxxxx do nothing.
What am I missing?
בלובינט-IP מרכזיות
Isn't enough?
Now it appear that even from the web it's not working.
Only local extensions can be dialed.
As stated above it has "all" for permission.
Please try this, go to the FOP2 Manager, edit the user you use to perform tests, remove all permissions that is has assigned and add only the "dial" permission. Then run this:
/usr/local/fop2/autoconfig-users.sh | grep XXX
Where XXX is the extension of that user you just modified, look for the user=xxx,password,permissions line, verify that the permission string is indeed "dial" and nothing else.
Then restart fop2:
service fop2 restart
Then log again to fop2 with that user and attempt a call origination, you can click a target extension and then click the dial action button... remember that you must have your phone/softphone ready and working... your phone should ring and when pickup it will dial the target extension. Let me know if doing that works
The extension has the dial permission but still only local extensions can be dialed using the dial action button or pressing other extension button.
http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10
looks like the problem is the context.
Dial from fop2 has context: domain.name-ext-local
Has this context works for local numbers dialing to external number with the same context got response:
127.0.0.1 <- Response: Error
127.0.0.1 <- Message: Extension does not exist.
Dialing external numbers use the context: domain.name-from-internal
Why external numbers use local context?
fop2 ver 2.9 use the correct context for external numbers so dialing external numbers worked.
Which file I need to change the context so there will be no need to manually update each button?
Since the Chrome Extension has no conversion rules, the only way is to do the filtering in Asterisk (e. g. "exten => _+ZXXX.,1,NoOp()").