JoshFink Posted October 24, 2014 Share Posted October 24, 2014 (edited) Edit : Updated this to make more sense We use Ringcentral at work but the RingCentral app for Mac is horrible, IMO. I've been playing around with the API where you pass variables in the URL and it will dial the phone number for you. See below for the example of what it looks like: Note: The URL is correct I've changed all my values. https://service.ringcentral.com/ringout.asp?cmd=call&username=8005551212&ext=123&password=password123&to={query}&from=4155551212&prompt=0 Now I can get this to work, for the most part, from doing the following. Go to features Click Contacts Click the + for custom actions Field = Phone Action = Pass to URL Scheme Then I put the above line in the next box This works. I use Alfred to look up my contact, click the phone number and it opens up a web page, passes the URL complete and dials the phone. Two Issues I have that I hope I can get some help with : I really would rather not have a browser open. Is there a way that something can be done behind the scenes without the browser opening to pass the URL (this might be a dumb question but I figured I would ask). RingCentral, for some reason, even though I'm passing my credentials via the URL still wants me to have a session cookie in the browser otherwise I get an invalid username and password. Seems kind of strange but it might be a RingCentral limitation. Thanks for the help Josh PS. While I love this program it's absolutely killing me trying to find new ways to use Alfred to improve my daily work. Edited October 24, 2014 by JoshFink Link to comment
frankspin Posted October 24, 2014 Share Posted October 24, 2014 Just to verify: You figured out how to grab the contact info and pass it into the URL, but want it happen in the background instead of opening a tab/window? Link to comment
JoshFink Posted October 24, 2014 Author Share Posted October 24, 2014 (edited) Edited the top post. See above. Thanks Edited October 24, 2014 by JoshFink Link to comment
ctwise Posted October 25, 2014 Share Posted October 25, 2014 Edit : Updated this to make more sense We use Ringcentral at work but the RingCentral app for Mac is horrible, IMO. I've been playing around with the API where you pass variables in the URL and it will dial the phone number for you. See below for the example of what it looks like: Note: The URL is correct I've changed all my values. https://service.ringcentral.com/ringout.asp?cmd=call&username=8005551212&ext=123&password=password123&to={query}&from=4155551212&prompt=0 Now I can get this to work, for the most part, from doing the following. Go to features Click Contacts Click the + for custom actions Field = Phone Action = Pass to URL Scheme Then I put the above line in the next box This works. I use Alfred to look up my contact, click the phone number and it opens up a web page, passes the URL complete and dials the phone. Two Issues I have that I hope I can get some help with : I really would rather not have a browser open. Is there a way that something can be done behind the scenes without the browser opening to pass the URL (this might be a dumb question but I figured I would ask). RingCentral, for some reason, even though I'm passing my credentials via the URL still wants me to have a session cookie in the browser otherwise I get an invalid username and password. Seems kind of strange but it might be a RingCentral limitation. Thanks for the help Josh PS. While I love this program it's absolutely killing me trying to find new ways to use Alfred to improve my daily work. Take a look at the 'curl' command. It has a lot of options for GETing URLs. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now