Softphone, webphone and VoIP server Forum

HomeHomeDiscussionsDiscussionsMizu WebphoneMizu WebphoneCan't init Webphone in java web applicationCan't init Webphone in java web application
Previous
 
Next
New Post
11/19/2017 11:02 PM
 
Hi team,
I download JVoIP SDK and and create a small java web application.
I create an endpoint to make a phone call. But i can't init webphone object.
webphone webphone = new webphone();
The error log is: 
'java.awt.HeadlessException: null
    at java.applet.Applet.<init>(Applet.java:67) ~[na:1.8.0_91]
    at webphone.webphone.<init>(Unknown Source) ~[JVoIP.jar:na]'
I guest when initialize webphone object, Mizu JVoIP auto initializes Applet object and applet auto checks GraphicsEnvironment.
But i only want to make a phone call and record the voice answer and my app only run in background. 
Pls help me review.
Thanks
 
New Post
11/21/2017 9:16 AM
 
Hi

The problem is that the downloadable version cannot work without GUI/X-Window.
We also have a headless version.

Please send me the following details by email to info@mizu-voip.com and I will send a trial:
• the address (IP and/or domain) of your SIP server(s) (what you set as the “serveraddress” JVoIP parameter
• a brand name (this will be the name/title of your JVoIP instance)
• your company name
• link to your company website
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsMizu WebphoneMizu WebphoneCan't init Webphone in java web applicationCan't init Webphone in java web application


You need to register / login to be able to post in the forum