Hello, I finished installing my FreePBX server recently, connected with the trunk provider, SIP manager (a gigaset N610 IP pro) and with my odoo. Because of my swisscom router using the port 5060 for his own thing, I was obliged to put my FreePBX server in DMZ (exposed host).
To test if everything work, I have called myself from odoo to my cellphone and from a voip phone (also a gigaset) to my cellphone, everything work fine. I tested to call with my cellphone and receiving the call with odoo or ith the gigaset worked fine too.
But I have found out that for some call, their was no audio and I don’t know why.
Hi again @AubeMort
I don’t have experiance with Swisscom Router but i guess there must have SIP ALG option Enable? Could you pls check that option and Turn it to Disable (OFF).
The wss work fine, I think.
Just that sometimes I have Audio problems like no sound from both side.
But not all call have problems, some the audio work fine.
Why you are not using default PJ_Sip 5060 protocol? Have you tried at all ?
WebSocket (WS) is a bit complicate. WS/WSS required a bit more knowledge for Sip.
My suggestion is try to use Sip Trunk with PjSip 5060. some basic call. After that you can do with TLS or WSS what you wanted.
I am obliged to use wss with odoo, and if by DEAD Air you talk about the closed connection it should be because of the page getting frozen by the browser when inactive (you changed page) or the computer entering sleep.
Like I said my problem is that for some unknown reason some calls don’t have Audio.
I am in Switzerland, based on the forum linked before, the codec G722 could be blocked by sunrise, I have ulaw, alaw and G711 (and some other) enable in the pjsip setting for my sip trunk with swisscom.
Like I have said, I am sure that at least some call to mobile phone with Sunrise as operator don’t have audio in both direction (the call is connected).