Closed whi4 closed 1 year ago
Sorry if that is hard to read. I am not sure how to neatly include the log.
Thanks in advance. The plug-in looks very useful
Regards, Robert
I have a little more information:
Phone **610@fritz.box is actually a DECT handset that only supports G.726.
Is this codec currently supported?
Thanks, Robert
Hi Robert,
currently the following audio codecs are supported: speex/16000/1, speex/8000/1, speex/32000/1, iLBC/8000/1, GSM/8000/1, PCMU/8000/1, PCMA/8000/1, G722/16000/1, opus/48000/2, L16/44100/2, L16/44100/1
Probably makes sense to look into that and install the libraries for pjsip so more codecs are supported.
In your case the question would be, if the fritz.box is able to re-encode the audio stream to the one that is supported on the particular device.
Regards, Arne
Hi Arne,
Thanks for looking into this. I found this url: https://docs.pjsip.org/en/latest/overview/features_codec.html
The fritzbox 7490 does not seem to transcode for the dect handset. I cannot find any menu selections or info online.
Regards, Robert
The pjsip page says the Intel IPP codecs are deprecated: https://docs.pjsip.org/en/latest/specific-guides/audio/ipp.html#guide-ipp
Also using them in pjsip requires some sort of license: https://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs#LinuxInstructions
Also it looks like these IPP codecs are optimized for Intel SIMD instructions, which are not available on ARM.
Not sure what to make from all of this, but it looks like there are some blockers.
Which DECT phone are we talking about?
Hi Arne,
The additional libraries do not look promising, you are right.
I am using my fritzbox as a dect base station and have several panasonic dect phones around the house.
I have my hass system connected to wifi and was hoping to use your add-on to supplement the capabilities of the fritzbox.
I was planning to setup ha automations to divert incoming calls at particular times and also to attempt some limited conference calling.
It appears that the dect phones (in the 61x fritzbox range) do not behave like proper sip phones (in the 62x fritzbox range)
I was hoping to implement voice menus on the dect phones, but that now does not look likely.
Regards, Robert
I guess you're out of luck here. Maybe you can try to run asterisk somewhere and have it transcode between the codecs, but that's probably not an easy task.
Sorry for not being able to help you
Hi Arne
Thanks for your support here.
I have overcome this "problem" by setting up an additional sip account at linphone.org for the dect phone. (Within fritzbox the new sip account is a new phone number and only one dect phone will ring with that number)
The menu example works fine now (I am using sip:xxx@sip.linphone.org rather than sip:**610@fritz.box)
It looks like the fritzbox handles the local dect phone stuff differently when you call it locally.
I am looking forward to continuing to learn about your add-in.
Regards, Robert
Hi Robert,
thanks for the feedback, glad you could overcome the hurdles! Have fun creating menus and stuff :-).
Arne
Hi, I am beginning to use this plugin and seem to be going along well.
I have used the "Call number for help" example from the homeassistant site and it works ok if I call an "external" number, like xxx@sip.linphone.org. The tts works ok, and tts works ok to my mediaplayers at home.
The weird thing is that it does not work if I call a phone connected to my fritzbox. My fritzbox is connected directly to the internet and I am using a google wifi for my home devices. So my homeassistant is on 192.168.86.x and my fritzbox is on 192.168.189.1. The fritz.box address does not work on my home wireless network (at the moment) and I have used to ip for the sip registration.
I hope the attached log file identifies why there is no sound on the phone.