Webrtc for Vicidial

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Re: Webrtc for Vicidial

Postby iboam » Thu Jun 16, 2016 5:06 pm

Im able to make calls using https://www.doubango.org/sipml5/call.htm but now it's not even ringing on vicidial
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Webrtc for Vicidial

Postby iboam » Thu Jun 16, 2016 5:08 pm

Im able to make calls using https://www.doubango.org/sipml5/call.htm and https://tryit.jssip.net/ but on vicidial it's not even ringing when login as agent
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Webrtc for Vicidial

Postby williamconley » Thu Jun 16, 2016 5:13 pm

iboam wrote:Im able to make calls using https://www.doubango.org/sipml5/call.htm and https://tryit.jssip.net/ but on vicidial it's not even ringing when login as agent

Since you did not post any asterisk output, log errors, configuration changes ...

I would say that you have found out why there are presently two different groups creating WebPhones that DO work for Vicidial. Cuz it's not "just plug it in and it'll work". Wait for one of them to finish and/or drop some $$ on them to get involved in the development or help to speed it along. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Webrtc for Vicidial

Postby iboam » Thu Jun 16, 2016 5:55 pm

I'm just following his instructions @ https://github.com/chornyitaras/PBXWebPhone/wiki
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Webrtc for Vicidial

Postby williamconley » Thu Jun 16, 2016 6:04 pm

In that case, based on the fact that someone else did it and got a ring but no answer ... and we've never looked at it ... I'd say wait for The Vicidial Group's version to come out. It'll likely be an upgrade to Vicibox, but it may require a full re-install.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Webrtc for Vicidial

Postby chornyi_taras » Fri Jun 17, 2016 2:01 am

iboam wrote:Im able to make calls using https://www.doubango.org/sipml5/call.htm and https://tryit.jssip.net/ but on vicidial it's not even ringing when login as agent


Please update PBXWebPhone to latest version and clear your browser cache

Do you see webphone frame when login as agent?

should be something like this

If not please provide browser logs(press F12 and select console). Also please make sure that you are using https.
Output of asterisk command "sip show peer <phone>" will be helpful.
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 87
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: Webrtc for Vicidial

Postby iboam » Mon Jun 20, 2016 1:16 pm

Trust me i did and reviewed every single line ... i'm getting this error in vicidial An Error occurred while connecting to the websocket.
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Webrtc for Vicidial

Postby williamconley » Mon Jun 20, 2016 1:24 pm

chornyi_taras wrote:If not please provide browser logs(press F12 and select console). Also please make sure that you are using https.
Output of asterisk command "sip show peer <phone>" will be helpful.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Webrtc for Vicidial

Postby chornyi_taras » Mon Jun 20, 2016 5:30 pm

iboam wrote:Trust me i did and reviewed every single line ... i'm getting this error in vicidial An Error occurred while connecting to the websocket.

Specify Web Socket URL:

Admin->Servers-><Dialler server>-> Web Socket URL: to "wss://<server domain name>:8089/ws"
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 87
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: Webrtc for Vicidial

Postby mcargile » Thu Jul 21, 2016 12:39 pm

If you are interested in testing our WebRTC phone for Vicidial you should check out this thread:

viewtopic.php?f=3&t=35875
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: Webrtc for Vicidial

Postby arpit.modi » Mon May 01, 2017 1:30 am

We have followed steps from https://github.com/chornyitaras/PBXWebPhone and configured this module and it seems to be working fine except audio issue.

My system information is as below:

Admin Vicidial Information
VERSION: 2.14-611a
BUILD: 170425-1353
© 2017 ViciDial Group

Agent Vicidial Information
VERSION: 2.14-520c
BUILD: 170416-1640

Asterisk Version
Asterisk 11.25.1-vici

Log for rtp is as below:

[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033387, ts 480640, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033388, ts 480800, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033389, ts 480960, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033390, ts 481120, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033391, ts 481280, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033392, ts 481440, len 000160)
[Apr 28 03:33:33] Sent RTP packet to xxx.xxx.xxx.xxx:58125 (type 00, seq 033393, ts 481600, len 000160)

When agent is logging in, and press call Agent webphone:

[Apr 28 06:57:14] == Using SIP RTP CoS mark 5
[Apr 28 06:57:15] > Channel SIP/5555-00000002 was answered
[Apr 28 06:57:15] -- Executing [8600052@default:1] MeetMe("SIP/5555-00000002", "8600052,F") in new stack
[Apr 28 06:57:15] == Parsing '/etc/asterisk/meetme.conf': Found
[Apr 28 06:57:15] == Parsing '/etc/asterisk/meetme-vicidial.conf': Found
[Apr 28 06:57:15] -- Created MeetMe conference 1023 for conference '8600052'
[Apr 28 06:57:15] -- <SIP/5555-00000002> Playing 'conf-onlyperson.gsm' (language 'en')

[Apr 28 06:57:46] NOTICE[7292]: chan_sip.c:29370 check_rtp_timeout: Disconnecting call 'SIP/5555-00000002' for lack of RTP activity in 61 seconds

[Apr 28 06:57:46] -- Hungup 'DAHDI/pseudo-1305219282'

[Apr 28 06:57:46] == Spawn extension (default, 8600052, 1) exited non-zero on 'SIP/5555-00000002'
[Apr 28 06:57:46] -- Executing [h@default:1] AGI("SIP/5555-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----44---------------") in new stack

It looks like issue with RTP, we have already opened rtp port range from firewall.

Can you please suggest me how to make it working?
Is there anything wrong in configuration?

Just to add up, It works fine with any other softphone and audio coming properly. So it must be something from WebRTC side i guess.

Any help would be highly appreciated.
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Re: Webrtc for Vicidial

Postby chornyi_taras » Mon May 01, 2017 5:27 am

add stun server config to
/etc/asterisk/rtp.conf
Code: Select all
icesupport=yes
stunaddr=stun.l.google.com:19302
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 87
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: Webrtc for Vicidial

Postby arpit.modi » Mon May 01, 2017 6:45 am

Hi,

Thanks for your response. I have already have it in my rtp.conf
But still no audio.

Any other ideas?
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Re: Webrtc for Vicidial

Postby williamconley » Mon May 01, 2017 12:43 pm

Temporarily (for just the test) turn off the firewall completely.

also: Does the server have a public IP? If not, this can present a challenge for SIP to SIP. If your client and your server are both behind a firewall, challenges can ensue.

Verify the externip value in sip.conf of course.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Webrtc for Vicidial

Postby arpit.modi » Tue May 02, 2017 5:33 am

Thanks for your response.
Yes, externip and other settings are perfect.

Actually the issue was something strange. It worked fine when the server was on public IP but when we put behind firewall and do port forward it was having RTP issue.

Somehow it got fixed by changing NAT policy to manual in firewall settings.
Still checking more in different scenarios.

Thanks for support.
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Re: Webrtc for Vicidial

Postby williamconley » Tue May 02, 2017 10:21 am

That's not "strange", that's what happens to SIP when you don't maintain a clear NonNAT pathway. Drama ensues. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Webrtc for Vicidial

Postby arpit.modi » Tue May 02, 2017 1:34 pm

Yeah I completely understand. Firewall and networking is absolutely not my cup of tea. :lol:
Thanks for helping out.
arpit.modi
 
Posts: 40
Joined: Wed Apr 22, 2009 7:09 am

Previous

Return to Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 68 guests