System specs:
PIAF=1.7.5.5
Asterisk=1.6.2.15
FreePBX=2.7.0.6
Currently remote Yealink handsets but they are on a private WAN, so only routers no NAT etc. The trunks are SIP trunks - no ZAP or onboard trunk cards.
I have 2 questions.
1. I currently have the voicemail codec set to record the messages in wav (slin) (not WAV gsm) The problem I have is that when listening to voicemail messages, the message is distorted. Its hard to describe without hearing it but its a bit like if you record something and the input is too loud, you loose some of the sound though clipping. But actually the message is quiet volume wise in comparison to the built in prompts which are crystal clear by the way. It is an even distortion across the whole message, so I dont think it is caused by lost packets or jitter. I am using a jitter buffer on the sip channels but I have tried turning these off and still experience the same issue. I am transcoding (see below) but even if I turn this off ie. set the format to ulaw and allow the phone to use ulaw) I still have the same issue.
2. What codecs can be used for voicemail? The phones are using (and can only use) the G726-32, since I believe this is the only version asterisk supports ie. not the 16, 24 or 40 versions). I can not use g711 as I have limited bandwidth. So, I tried setting the voicemail.conf format=g726|wav which didnt work (only the wav file is created) , so I tried format=g726-32|wav which does work - the recorded file is created but when I try to play it back the system tries to play a file with the .g276 extension and not the .g726-32 which is actually there.
For example:
message001.g726-32 is created in /var/spool/asterisk/voicemail/ but when you try to play your message from the phone, the system looks for message001.g726 and of course just don't play the message. Not sure if this is a bug or if it just isn't supported.
Any light on this would be great. I am at a bit of a loss on what to try next.
Kevin
PIAF=1.7.5.5
Asterisk=1.6.2.15
FreePBX=2.7.0.6
Currently remote Yealink handsets but they are on a private WAN, so only routers no NAT etc. The trunks are SIP trunks - no ZAP or onboard trunk cards.
I have 2 questions.
1. I currently have the voicemail codec set to record the messages in wav (slin) (not WAV gsm) The problem I have is that when listening to voicemail messages, the message is distorted. Its hard to describe without hearing it but its a bit like if you record something and the input is too loud, you loose some of the sound though clipping. But actually the message is quiet volume wise in comparison to the built in prompts which are crystal clear by the way. It is an even distortion across the whole message, so I dont think it is caused by lost packets or jitter. I am using a jitter buffer on the sip channels but I have tried turning these off and still experience the same issue. I am transcoding (see below) but even if I turn this off ie. set the format to ulaw and allow the phone to use ulaw) I still have the same issue.
2. What codecs can be used for voicemail? The phones are using (and can only use) the G726-32, since I believe this is the only version asterisk supports ie. not the 16, 24 or 40 versions). I can not use g711 as I have limited bandwidth. So, I tried setting the voicemail.conf format=g726|wav which didnt work (only the wav file is created) , so I tried format=g726-32|wav which does work - the recorded file is created but when I try to play it back the system tries to play a file with the .g276 extension and not the .g726-32 which is actually there.
For example:
message001.g726-32 is created in /var/spool/asterisk/voicemail/ but when you try to play your message from the phone, the system looks for message001.g726 and of course just don't play the message. Not sure if this is a bug or if it just isn't supported.
Any light on this would be great. I am at a bit of a loss on what to try next.
Kevin