[Asterisk-Users] G726 not working ?

Michael Manousos manousos at inaccessnetworks.com
Wed Mar 31 08:47:25 MST 2004


Hi,

Bill Hamel wrote:
> Hi,
> 
> I am running FC1 with latest patches of 3/30/04, and I have the latest CVS as of
> this morning 3/30/04 of asterisk, zap and libpri.
> 
> The SIP device I am using is a Sipura SPA-2000 with G726-32 "Forced".
> 
> When I 'make clean" and recompiled zaptel, libpri, asterisk and start asterisk I
> can see:
> 
> [format_g726.so] [format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
>   == Registered file format g726-40, extension(s) g726-40
>   == Registered file format g726-32, extension(s) g726-32
>   == Registered file format g726-24, extension(s) g726-24
>   == Registered file format g726-16, extension(s) g726-16

This is the support for reading/writing raw G.726 (all rates)
data from/to files. It is not the G.726 codec. The codec
is the codec_g726.so module (32 Kbps only).

> 
> I 'Ass'ume this indicates that g726 is installed..
> 
> So in my sip.conf I put many variations of what I thought should go in there,
> finally includeing (to no avail):
> 
> disallow=all
> allow=g726-40
> allow=g726-32
> allow=g726-24
> allow=g726-16
> allow=g726
> allow=ima-adpcm

You should allow "g726" only.

> 
> (Also tried G.726-xx etc... ) And none seem to work because when I dial out I
> get
> 
> Mar 30 15:49:29 WARNING[-1137677392]: chan_sip.c:2128 process_sdp: No compatible
> codecs!
> 
> I must not be putting the correct "allow=" value in sip.conf or possibly missing
> something. 
> 
> Can anyone point me in the right direction ?
> 
> Thanks
> -bh
> 
> 


Michael.





More information about the asterisk-users mailing list