Hello and thank you for answering.
I did what you suggested but I couldn't be able to install it.
When I run: *sudo gem install oversip.gemspec* I get *ERROR*: *Could not find a valid gem 'oversip.gemspec' (>= 0) in any repository. *I thought it may be a problem with my ruby version but after I updated it I got the 1.8.7 version but the problem is still there.
Bellow is the output of *gem env* *RubyGems Environment:* * - RUBYGEMS VERSION: 1.5.0* * - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i586-linux]* * - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8* * - RUBY EXECUTABLE: /usr/bin/ruby* * - EXECUTABLE DIRECTORY: /usr/bin* * - RUBYGEMS PLATFORMS:* * - ruby* * - x86-linux* * - GEM PATHS:* * - /usr/lib/ruby/gems/1.8* * - /home/carlos/.gem/ruby/1.8* * - GEM CONFIGURATION:* * - :update_sources => true* * - :verbose => true* * - :benchmark => false* * - :backtrace => false* * - :bulk_threshold => 1000* * - REMOTE SOURCES:* * - http://rubygems.org/* * *
From the side of sipml5, which I tried before writing my first mail, I had
no luck either. I checked the call.htm file but I don't know where to modify it in order to make in point to my Kamailio. I just filled the input boxes with my local SIP credentials.
Regards.
Carlos.
On Tue, Aug 7, 2012 at 3:30 AM, Muhammad Shahzad <shaheryarkh@googlemail.com
wrote:
For WS client, you can try SIPML5,
http://code.google.com/p/sipml5/
Just download source code to some web server's root and edit call.html to point to your web sockets server (Kamailio or OverSIP).
You can install OverSIP as follows (below instructions are for Debian 6.x / Ubuntu 11.x)
apt-get install build-essential ruby1.9.1-full libev-dev gem1.9.1 install oversip ln -s /var/lib/gems/1.9.1/gems/oversip-1.0.5/etc /etc/oversip
And then finally edit /etc/oversip/oversip.conf for your needs. Your web sockets address and port should be same as what you have mentioned in sipml5/call.html page.
You can start oversip as, (there is an init.d script in sources, but its not installed by gem1.9.1)
oversip -P /var/run/oversip.pid
The advantage of OverSIP is that it supports PATH and outbound support, so you can create chain of SIP proxies.
Thank you.
On Tue, Aug 7, 2012 at 12:40 AM, Carlos Ruiz Díaz < carlos.ruizdiaz@gmail.com> wrote:
Hello list,
I'm trying to test the websocket module on Kamailio but I currently lack of a working web SIP phone that makes use of the websocket transport protocol. I'm trying with OverSIP https://github.com/versatica/OverSIP but there's no documentation on how to try it (and I don't do Ruby).
Is there another HTML5 SIP client that I can use or at least a page where I can find documentation about how to configure OverSIP?
Regards.
Carlos.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Muhammad Shahzad
CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev