ViciPhone - Our WebRTC Phone

Discussions about development of VICIDIAL and astGUIclient

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

Re: ViciPhone - Our WebRTC Phone

Postby Nefariousparity » Thu Mar 08, 2018 2:43 pm

Well I feel like I am making some progress.

I deleted and re created the ext. Here is what sip debug shows in asterisk.

<--- SIP read from WS:1.2.3.2:57922 --->
[Mar 8 11:09:37] SIP/2.0 488 Not Acceptable Here
[Mar 8 11:09:37] Via: SIP/2.0/WS 1.2.3.4:0;branch=z9hG4bK735e503c;rport
[Mar 8 11:09:37] To: <sip:vi4trqgv@192.0.2.197(Whos ip is this?);transport=wss>;tag=m4g576785n
[Mar 8 11:09:37] From: "ACagcW15205361306666666666666666" <sip:0000000000@1.2.3.4:0>;tag=as6394f272
[Mar 8 11:09:37] Call-ID: 78d4aa630dd4b84022ddab7032aaa070@1.2.3.4:0
[Mar 8 11:09:37] CSeq: 102 INVITE
[Mar 8 11:09:37] Supported: outbound
[Mar 8 11:09:37] User-Agent: VICIphone 1.0-rc1
[Mar 8 11:09:37] Content-Length: 0

Here are requests.
https://imgur.com/dl9qtun
https://imgur.com/I5UcHMg

So I think the intial cert problem is fixed because I realized the extension had to be created after you made the template for said extensions. Now I see this 488.
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

Re: ViciPhone - Our WebRTC Phone

Postby Nefariousparity » Sat Mar 10, 2018 3:14 am

So, I would just like to thank everyone in the Vicidial forum, for years of continued support. Namely Mflorrel, Gardo, William Connely to name a few. Hours and hours I have poured over these forums for about 7 years. Logging ideas, other peoples trials and tribulations and creating my own. I would like to document my steps in regards to getting the ViciPhone to work off a fresh install I did on a VM in ProxMox.

1) Vicibox.com Download Latest ISO
2) Os Install
3) Configure Network Card
4) yast network
5) zypper up

6) Reboot

Follow these steps in this URL
7) viewtopic.php?f=8&t=37686

**NOW**
The kicker for me int his regard was to make sure that the cert file had both the cert and priv key. In Linux you can combine these two files as so.
(/etc/certbot/archive/funurl/
cat privkey1.pem cert1.pem > certcombined.pem
Then mv cert1.pem cert.bak
Then mv certcombined.pem to cert.pem

The symlink will still be establiashed. And this worked me.

Anywho, that article was 100% accurate minus the part where privkey and cert had to be combined. I still kept in the directory cert.pem and privkey.pem just cert ALSO included both hash keys.

Of course I omited some steps as I assume you know the basic install. And as far as the browser based soft phone is already documented. Lastly, make sure your firewall is configured correctly.
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

Re: ViciPhone - Our WebRTC Phone

Postby dspaan » Wed Mar 14, 2018 6:49 am

Thanks for the guide, so is Asterisk 13 still a requirement to get this working?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 23 guests