GithubHelp home page GithubHelp logo

client-acd's People

Contributors

bpartridge83 avatar choppen5 avatar lambtron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

client-acd's Issues

Screen pop settings

I noticed for the ACD that you have to have the screenpop open in a new window. Otherwise the call is answered, the screenpop refreshes the browser, and the call is dropped.

Heroku Deploy Fails

Hi,

Firstly, thanks for putting this together - awesome stuff.

I tried deploying to Heroku and I get the following error;

-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.4.4
-----> Installing dependencies using bundler 1.15.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from http://rubygems.org/...........
       Fetching version metadata from http://rubygems.org/.
       Fetching addressable 2.4.0
       Fetching bson 1.12.5
       Fetching builder 3.2.2
       Installing builder 3.2.2
       Using bundler 1.15.2
       Fetching daemons 1.2.3
       Installing daemons 1.2.3
       Fetching eventmachine 1.0.9.1
       Installing bson 1.12.5
       Installing addressable 2.4.0
       Fetching json 1.8.3
       Installing eventmachine 1.0.9.1 with native extensions
       Installing json 1.8.3 with native extensions
       Fetching jwt 1.5.4
       Installing jwt 1.5.4
       Fetching multi_json 1.12.0
       Installing multi_json 1.12.0
       Fetching rack 1.6.4
       Installing rack 1.6.4
       Fetching tilt 2.0.2
       Installing tilt 2.0.2
       Fetching bson_ext 1.12.5
       Installing bson_ext 1.12.5 with native extensions
       Fetching mongo 1.12.5
       Installing mongo 1.12.5
       Fetching twilio-ruby 4.11.1
       Installing twilio-ruby 4.11.1
       Fetching rack-protection 1.5.3
       Installing rack-protection 1.5.3
       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/ruby-2.4.4/bin/ruby -r
       ./siteconf20181018-217-160zys9.rb extconf.rb
       creating Makefile
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       make "DESTDIR=" clean
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       make "DESTDIR="
       compiling generator.c
       generator.c: In function ‘generate_json’:
       generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function);
       did you mean ‘mFixnum’?
            } else if (klass == rb_cFixnum) {
                                ^~~~~~~~~~
                                mFixnum
       generator.c:861:25: note: each undeclared identifier is reported only once for
       each function it appears in
       generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function);
       did you mean ‘rb_cFixnum’?
            } else if (klass == rb_cBignum) {
                                ^~~~~~~~~~
                                rb_cFixnum
       generator.c: At top level:
       cc1: warning: unrecognized command line option ‘-Wno-self-assign’
       cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
       cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
       Makefile:241: recipe for target 'generator.o' failed
       make: *** [generator.o] Error 1
       
       make failed, exit code 2
       
       Gem files will remain installed in
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3
       for inspection.
       Results logged to
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/json-1.8.3/gem_make.out
       
       An error occurred while installing json (1.8.3), and Bundler cannot continue.
       Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
       
       In Gemfile:
         json
       Bundler Output: Fetching gem metadata from http://rubygems.org/...........
       Fetching version metadata from http://rubygems.org/.
       Fetching addressable 2.4.0
       Fetching bson 1.12.5
       Fetching builder 3.2.2
       Installing builder 3.2.2
       Using bundler 1.15.2
       Fetching daemons 1.2.3
       Installing daemons 1.2.3
       Fetching eventmachine 1.0.9.1
       Installing bson 1.12.5
       Installing addressable 2.4.0
       Fetching json 1.8.3
       Installing eventmachine 1.0.9.1 with native extensions
       Installing json 1.8.3 with native extensions
       Fetching jwt 1.5.4
       Installing jwt 1.5.4
       Fetching multi_json 1.12.0
       Installing multi_json 1.12.0
       Fetching rack 1.6.4
       Installing rack 1.6.4
       Fetching tilt 2.0.2
       Installing tilt 2.0.2
       Fetching bson_ext 1.12.5
       Installing bson_ext 1.12.5 with native extensions
       Fetching mongo 1.12.5
       Installing mongo 1.12.5
       Fetching twilio-ruby 4.11.1
       Installing twilio-ruby 4.11.1
       Fetching rack-protection 1.5.3
       Installing rack-protection 1.5.3
       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/ruby-2.4.4/bin/ruby -r
       ./siteconf20181018-217-160zys9.rb extconf.rb
       creating Makefile
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       make "DESTDIR=" clean
       
       current directory:
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
       make "DESTDIR="
       compiling generator.c
       generator.c: In function ‘generate_json’:
       generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function);
       did you mean ‘mFixnum’?
            } else if (klass == rb_cFixnum) {
                                ^~~~~~~~~~
                                mFixnum
       generator.c:861:25: note: each undeclared identifier is reported only once for
       each function it appears in
       generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function);
       did you mean ‘rb_cFixnum’?
            } else if (klass == rb_cBignum) {
                                ^~~~~~~~~~
                                rb_cFixnum
       generator.c: At top level:
       cc1: warning: unrecognized command line option ‘-Wno-self-assign’
       cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
       cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
       Makefile:241: recipe for target 'generator.o' failed
       make: *** [generator.o] Error 1
       
       make failed, exit code 2
       
       Gem files will remain installed in
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/gems/json-1.8.3
       for inspection.
       Results logged to
       /tmp/build_e5efea1e8f8e0cac6c14cdb0336730e4/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/json-1.8.3/gem_make.out
       
       An error occurred while installing json (1.8.3), and Bundler cannot continue.
       Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
       
       In Gemfile:
         json
 !
 !     Failed to install gems via Bundler.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Any idea what the issue is and how I can resolve it?

NB: Sadly I am not a developer :(

Thank you.

Heroku failed to build.

Chose Option 1, but Heroku will not build. I suspect its the gems version, but unclear.

-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.2.4
-----> Installing dependencies using bundler 1.11.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from http://rubygems.org/............
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Installing addressable 2.3.5
Installing builder 3.2.0
Installing bson 1.9.2
Installing daemons 1.1.4
Installing eventmachine 1.0.3 with native extensions
Installing json 1.8.0 with native extensions
Installing multi_json 1.6.1
Installing rack 1.5.2
Installing tilt 1.3.4
Using bundler 1.11.2
Installing bson_ext 1.9.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160504-214-2lup9v.rb extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling cmain.cpp
compiling page.cpp
compiling pipe.cpp
compiling em.cpp
em.cpp: In member function ‘void EventMachine_t::_RunEpollOnce()’:
em.cpp:574:37: error: ‘rb_thread_select’ was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
em.cpp: In member function ‘int SelectData_t::_Select()’:
em.cpp:827:67: error: ‘rb_thread_select’ was not declared in this scope
return EmSelect (maxsocket+1, &fdreads, &fdwrites, &fderrors, &tv);
^
em.cpp: In member function ‘void EventMachine_t::_RunSelectOnce()’:
em.cpp:946:40: error: ‘rb_thread_select’ was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
make: *** [em.o] Error 1
make failed, exit code 2
Gem files will remain installed in /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/gems/eventmachine-1.0.3 for inspection.
Results logged to /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/eventmachine-1.0.3/gem_make.out
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160504-214-1hpj4hi.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:0:
../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’:
../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^
../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [enabled by default]
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/gems/json-1.8.0 for inspection.
Results logged to /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/json-1.8.0/gem_make.out
Installing mongo 1.9.2
Installing jwt 0.1.6
Installing rack-protection 1.4.0
An error occurred while installing eventmachine (1.0.3), and Bundler cannot
continue.
Make sure that gem install eventmachine -v '1.0.3' succeeds before bundling.
Bundler Output: Fetching gem metadata from http://rubygems.org/............
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Installing addressable 2.3.5
Installing builder 3.2.0
Installing bson 1.9.2
Installing daemons 1.1.4
Installing eventmachine 1.0.3 with native extensions
Installing json 1.8.0 with native extensions
Installing multi_json 1.6.1
Installing rack 1.5.2
Installing tilt 1.3.4
Using bundler 1.11.2
Installing bson_ext 1.9.2 with native extensions

   Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

   /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160504-214-2lup9v.rb extconf.rb
   checking for rb_trap_immediate in ruby.h,rubysig.h... no
   checking for rb_thread_blocking_region()... no
   checking for inotify_init() in sys/inotify.h... yes
   checking for writev() in sys/uio.h... yes
   checking for rb_wait_for_single_fd()... yes
   checking for rb_enable_interrupt()... no
   checking for rb_time_new()... yes
   checking for sys/event.h... no
   checking for epoll_create() in sys/epoll.h... yes
   creating Makefile

   make "DESTDIR=" clean

   make "DESTDIR="
   compiling cmain.cpp
   compiling page.cpp
   compiling pipe.cpp
   compiling em.cpp
   em.cpp: In member function ‘void EventMachine_t::_RunEpollOnce()’:
   em.cpp:574:37: error: ‘rb_thread_select’ was not declared in this scope
   EmSelect (0, NULL, NULL, NULL, &tv);
   ^
   em.cpp: In member function ‘int SelectData_t::_Select()’:
   em.cpp:827:67: error: ‘rb_thread_select’ was not declared in this scope
   return EmSelect (maxsocket+1, &fdreads, &fdwrites, &fderrors, &tv);
   ^
   em.cpp: In member function ‘void EventMachine_t::_RunSelectOnce()’:
   em.cpp:946:40: error: ‘rb_thread_select’ was not declared in this scope
   EmSelect (0, NULL, NULL, NULL, &tv);
   ^
   make: *** [em.o] Error 1

   make failed, exit code 2

   Gem files will remain installed in /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/gems/eventmachine-1.0.3 for inspection.
   Results logged to /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/eventmachine-1.0.3/gem_make.out

   Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

   /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/ruby-2.2.4/bin/ruby -r ./siteconf20160504-214-1hpj4hi.rb extconf.rb
   creating Makefile

   make "DESTDIR=" clean

   make "DESTDIR="
   compiling generator.c
   In file included from generator.c:1:0:
   ../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’:
   ../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given
   VALUE result = rb_str_new(FBUFFER_PAIR(fb));
   ^
   ../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [enabled by default]
   VALUE result = rb_str_new(FBUFFER_PAIR(fb));
   ^
   make: *** [generator.o] Error 1

   make failed, exit code 2

   Gem files will remain installed in /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/gems/json-1.8.0 for inspection.
   Results logged to /tmp/build_2d54a5039f38db0e84134d6aa7dbbce2/choppen5-client-acd-374d73f/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/json-1.8.0/gem_make.out
   Installing mongo 1.9.2
   Installing jwt 0.1.6
   Installing rack-protection 1.4.0
   An error occurred while installing eventmachine (1.0.3), and Bundler cannot
   continue.
   Make sure that `gem install eventmachine -v '1.0.3'` succeeds before bundling.

!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed

Deploy to Heroku Issues

I tried to download heroku onto my computer and complete the 'deploy to herko' section of the instructions. I was able to sign up for a trial of heroku, and create an app (url: salesforceclick2call.herokuapp.com).

In the settings section of this app there is a Github repo section. I attempted to paste https://github.com/choppen5/client-acd.git , but this was not fruitful.

I am not sure where I would set the environmental variables. Would this be in a command shell? Please forgive me I am new to heroku and github.

I have downloaded the Heroku toolbelt for Mac OS and have the github application installed on my Mac. I was also able to add a SSH key to my heroku account, and received a confirmation email with the key.

Shell log:

Last login: Thu Jan 30 10:43:13 on console
Pauls-iMac:~ paulfischer$ git clone https://github.com/choppen5/client-acd.git
Cloning into 'client-acd'...
remote: Reusing existing pack: 576, done.
remote: Total 576 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (576/576), 133.84 KiB | 0 bytes/s, done.
Resolving deltas: 100% (314/314), done.
Checking connectivity... done
Pauls-iMac:~ paulfischer$ cd client-acd
Pauls-iMac:client-acd paulfischer$ heroku create
-bash: heroku: command not found
Pauls-iMac:client-acd paulfischer$ heroku labs:enable websockets
-bash: heroku: command not found
Pauls-iMac:client-acd paulfischer$ heroku create
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       No such file or directory - getcwd (Errno::ENOENT)
Backtrace:   /usr/local/heroku/lib/heroku/command/base.rb:32:in `pwd'
             /usr/local/heroku/lib/heroku/command/base.rb:32:in `app'
             /usr/local/heroku/lib/heroku/command/base.rb:238:in `extract_org_from_app'
             /usr/local/heroku/lib/heroku/command/base.rb:50:in `org'
             /usr/local/heroku/lib/heroku/command/apps.rb:237:in `create'
             /usr/local/heroku/lib/heroku/command.rb:218:in `run'
             /usr/local/heroku/lib/heroku/cli.rb:28:in `start'
             /usr/bin/heroku:24:in `<main>'

Command:     heroku create
Version:     heroku-toolbelt/3.2.0 (x86_64-darwin10.8.0) ruby/1.9.3

Pauls-iMac:client-acd paulfischer$ heroku addons:add mongohq
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new

Mongo::OperationFailure Unknown option to update command: upsert

Hi,
Getting the error in client-act.rb file below is the debug for the same.

2017-10-24T07:16:02.356908+00:00 heroku[router]: at=info method=GET path="/websocket?clientname=twilioATtechilaservicesDOTcom" host=techilatwiml.herokuapp.com request_id=4657dd2d-ac4b-4b6a-a988-9b16fd6573d7 fwd="123.252.249.18" dyno=web.1 connect=1ms service=7ms status=500 bytes=165 protocol=https
2017-10-24T07:16:02.355031+00:00 app[web.1]: 2017-10-24 07:16:02 - Mongo::OperationFailure - Database command 'update' failed: Unknown option to update command: upsert:
2017-10-24T07:16:02.355045+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/db.rb:610:in rescue in command' 2017-10-24T07:16:02.355046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/db.rb:606:in command'
2017-10-24T07:16:02.355047+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:314:in block in send_write_command' 2017-10-24T07:16:02.355048+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:55:in block in instrument'
2017-10-24T07:16:02.355048+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:20:in instrument' 2017-10-24T07:16:02.355049+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:54:in instrument'
2017-10-24T07:16:02.355050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:313:in send_write_command' 2017-10-24T07:16:02.355050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection.rb:1104:in send_write'
2017-10-24T07:16:02.355051+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection.rb:497:in update' 2017-10-24T07:16:02.355052+00:00 app[web.1]: /app/client-acd.rb:131:in block (3 levels) in <top (required)>'
2017-10-24T07:16:02.355053+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/em-websocket-0.3.8/lib/em-websocket/connection.rb:22:in trigger_on_open' 2017-10-24T07:16:02.355053+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/em-websocket-0.3.8/lib/em-websocket/handler.rb:18:in run'
2017-10-24T07:16:02.355054+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket.rb:123:in dispatch' 2017-10-24T07:16:02.355054+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket.rb:22:in from_env'
2017-10-24T07:16:02.355055+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket/ext/sinatra/request.rb:17:in websocket' 2017-10-24T07:16:02.355057+00:00 app[web.1]: /app/client-acd.rb:121:in block in <top (required)>'

MongoHQ issues

User @judamarto reported:

"Hello, I deployed using Option 1 to Heroku and it seems the app keep crashing due to this error. Appreciate if you can let me know on how to fix it.

/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/generic.rb:214:in `initialize': the scheme mongodb does not accept registry part: heroku:OV-g5g2GmsXQy8rQTszY8U1f1s7I3AmCsmRHmKHyNAgNjbr1f-0D6nfmZW5qarw4eI_UJX3OBkr2xItajW4ltA@candidate.37.mongolayer.com:10653,candidate.18.mongolayer.com:10683 (or bad hostname?) (URI::InvalidURIError)"

He also found a solution using MongoLab. Trying that now.

Browsing to another page in saleforce hangs up the call

Hi,
Any way to avoid having the softphone hangup when an end user browses to another page on salesforce? I know they can right-click on the URL and open in a new tab. But for non-technical people, that is not an option. Is it possible to maybe set it up so when a phone number is clicked, the softphone opens in a new browser window? Any other ideas?

On hold

Thanks Charles, great sample!

However, the on hold button doesn't seem to work, it will actually disconnect the call when you click on the hold button. And if the caller calls again, the call will be picked up automatically...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.