[asterisk-dev] Asterisk accept wrong Codec

Joshua Colp jcolp at digium.com
Wed Apr 12 11:19:34 MST 2006


Thomas Winter wrote:
> Hi,
> 
> I receive from an SIP Proxy an Session progress with session description.
> 
> from Ethereal log
> 
> Media description:
> .
> Media Format: ITU-T G.721
> .
> Media Attribute (a) rtpmap G726-32/8000
> 
> After this Asterisk sends to the Gateway an  G.721 RTP stream.
> Because the internal Caller has G.711 there is no sound going through.
> 
> Iam not sure whats happend here, is the SIP Proxy doing wrong or is Asterisk 
> doing the wrong thing.
> 
> g.721 is disallowed in sip.conf . I also tried to force with SIP_CODEC to 
> G.726, but Asterisk still sending g.721 to the Gatway on the request of the 
> Sip-Proxy.
> 
> 
> In the other direction the Gateway is sending with g.726 to Asterisk and I 
> have sound.
> 
> thank you.
> 
> best regards
> 
> Thomas
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

That's G726-32. It's perfectly fine... your problem is elsewhere. Have 
you done an rtp debug to see if you can see the packets going out?

-- 
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com



More information about the asterisk-dev mailing list