This is a beta module for the Elastix Call Center Module. This module provides a Video Agent Console using the SIPML5 WebRTC API
##Features:##
- Embedded SIP Phone for make and receive calls.
- Chat Window based on SIP.
- Video capabilities.
##Prerequistes## The WebRTC Agent Console Addon is required. You can install it from the Addon Menu of your elastix(http://addons.elastix.org/index.php?lang=en).
##Installation:##
- Download the code and use the RPM in the RPM folder(You can download directly the RPM from here http://goo.gl/h198Fb):
-
As root run the next command in the linux shell:
yum install --nogpgcheck -y elastix-video_agent_console_webrtc-0.1-1.noarch.rpm
- Configure FreePBX for Video:
-
Go to Unembedded FreePBX --> Tools --> Asterisk SIP Settings, and enable the video support select all codecs.
-
Save the changes and reload
-
Configure the SIP peers to use Video codecs, the easiest way is to set the fields disallow and allow to all.
- Reconfigure the Webrtc2SIP media gateway:
-
Change to asterisk user running the next command:
su asterisk
-
Start the null script:
script /dev/null
-
Connect to the gateway and stop it:
`screen -r` `quit`
-
Reconfigure the settings of the webrtc2sip media gateway by replacing this line:
`<codecs>pcma;pcmu;gsm;h264-bp;h264-mp;h263;h263+,h264</codecs>`
with
`<codecs>pcma;pcmu;gsm;h264-bp;h264-mp;h263;h263+;h264;vp8</codecs>`
-
Restart the webrtc2sip media gateway:
`screen -S wrtc`
then inside the screen session execute:
`webrtc2sip`
exit the screen session by typing:
`CTRL+A+D`
-
Exit from the asterisk's user shell:
exit
the last exit will stop the null script now tyepe again:`exit`
with the last exit now you are in the root's shell.
- Enjoy and please report bugs and of features.
##Client Example##
In order to test the Module you can copy the folder ClientExamplePage to your Apache's web root folder(In elastix /var/www/html).
Then change this part of code in the vid1.htm file to match your peer settings:
//stack options
`mySipStack = new SIPml.Stack({`
`realm: 'asterisk',`
`impi: 'mypeer',`
`impu: 'sip:mypeer@myip',`
`password: 'mypwd', // optional`
`display_name: 'WEBRTC', // optional`
`websocket_proxy_url: 'ws://myip:10060', // optional`
##ScreenShots##
####NOTES####
- The resolution of the video can be changed by editing the config.xml file.
- The sip peer must have configured the h263p codec to allow resizing of the video.
- Depending on the Machine capabilities the Video transcoding(usually from VP8 to h263p) will show the quality.
- The screenshot was taken from a Virtualbox Machine i386 1 processor 512 of RAM.
- Higher hardware specs will allow you better Video Quality
- THIS CONSOLE WILL WORK ONLY WITH VIDEO CALLS For audio calls only use the normal webrtc agent console.