Softphone, webphone and VoIP server Forum

HomeHomeDiscussionsDiscussionsMizu WebphoneMizu WebphoneI want to use UDP instead of WSS in registerationI want to use UDP instead of WSS in registeration
Previous
 
Next
New Post
2/22/2023 9:45 AM
 

Hello,

When i click on register it shows below in event log.

Via: SIP/2.0/WSS 5l171garge90.invalid;branch=z9hG4bKL5rEWHdZDm1laKWkyahmlDSpxFgnLA2F;rport

I want to use UDP protocol instead of WSS. I have changes the protcol to 0 in webphone_config.js file as below:

transport: 0, //Optional SIP transport protocol. -1: auto detect, 0: UDP, 1: TCP, 2: TLS (usually doesn't have to be set)

still, it take WSS instead of UDP.

Can anyone help me to solve this?

Thanks,

Atul

 

 

 
New Post
2/22/2023 10:05 AM
 

Hello

Most probably you are using the webphone with the WebRTC engine which is capable only to websocket transport (which can then be translated to UDP by the WebRTC-SIP proxy. See the "How to handle WebRTC" FAQ point in the documentation for the details about this topic).
If you wish direct UDP for the SIP signaling, then you should use the NS engine.
Set the enginepriority_ns parameter to 4 to prioritize the NS engine then reload and download the NS engine plugin.
On Windows just launch the new WebPhoneService_Install.exe from the webphone\native folder on your client/test PC if the download is not offered automatically.

Contact us at webphone@mizu-voip.com if still doesn't work as expected.

 

 

 
New Post
2/22/2023 11:23 AM
 
Hello,

Thanks a lot for your reply.

I have downloaded zip file from the link https://www.mizu-voip.com/Portals/0/Files/webphone_demo.zip

And I have extracted it in my XAMP server httpdoc folder and I run the demo in browser.

Actually, I want to implement chrome extension and that's why I refer the webphone code.

Thanks,
Atul
 
New Post
2/22/2023 4:08 PM
 
Ok.
What is your question or problem? (except the problem explained in your first post which we already answered)
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsMizu WebphoneMizu WebphoneI want to use UDP instead of WSS in registerationI want to use UDP instead of WSS in registeration


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