Hi all,
I’m trying to get a service going between a few soft-phones (Twinkle, SIPDroid), an ATA (Grandstream HT814) and the Internode NodePhone service. Server is Asterisk 16.6.2 on OpenBSD 6.6 (AMD64):
Asterisk 16.6.2 built by _pbuild @ amd64-stable.ports.openbsd.org on a amd64 running OpenBSD on 2019-11-22 09:21:53 UTC
I realise up front that “OpenBSD” is not an officially supported platform. I am assuming I have screwed up something configuration wise. If my configuration is fine, and what I’m doing should work, then I’ll take it to the OpenBSD misc
list to sort out their port.
Outbound calls work fine, however, when I try an inbound call (via yee olde PSTN, we haven’t gotten rid of that yet), I get this:
[Apr 5 16:27:40] WARNING[-1][C-00000001] channel.c: Unable to find a codec translation path: (g729) -> (alaw)
Now, I originally had these settings for the SIP endpoints (in pjsip.conf
):
allow=g722,ilbc,g726,g729,alaw,ulaw,g723
I tried adding disallow=all
above this. No dice. Finally, I tried the nuclear option: disallow=all allow=alaw
. (i.e. disallow everything except ALAW). Still no dice. The caller gets hung up on for no reason. It’s getting rather expensive ringing my SIP line from the PSTN at 25c a pop just for it to hang up on me. Outbound calls work fine.
The following is what I have loaded:
vk4msl-gap*CLI> module show like codec_
Module Description Use Count Status Support Level
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0 Running core
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0 Running core
codec_alaw.so A-law Coder/Decoder 0 Running core
codec_g722.so ITU G.722-64kbps G722 Transcoder 0 Running core
codec_g726.so ITU G.726-32kbps G726 Transcoder 0 Running core
codec_gsm.so GSM Coder/Decoder 0 Running core
codec_ilbc.so iLBC Coder/Decoder 0 Running core
codec_lpc10.so LPC10 2.4kbps Coder/Decoder 0 Running core
codec_resample.so SLIN Resampling Codec 0 Running core
codec_ulaw.so mu-Law Coder/Decoder 0 Running core
10 modules loaded
That to me says g729
shouldn’t be included in the list, but even if I drop it to alaw
only, it still gets chosen. How do I tell all parties concerned to “never EVER use G.729”?