chan_sip.c help!

Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)
Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)
Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)
Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)
Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)
Nov 30 16:28:58 WARNING[13220] chan_sip.c: Asked to transmit frame type 64, while native formats is 2 (read/write = 2/2)

I have seen a lot of these recently and I am unsure as to what it means. I have googled a lot and I know that it is something to do with codecs. (I also had ‘native formats is 8 (read/write = 8/8)’ )

In sip.conf I have the following:

disallow=all
allow=gsm
;allow=alaw

I am not the best on Asterisk when it comes to codecs, so any help would be appreciated!

Many Thanks,
Simon

I’ve not worked with Asterisk in a long time, but had to open up a case this morning to solve something simple. I “may” be able to help push you in the right direction. I think this may mean that your SIP provider is asking you to transmit in a certain codec and you’ve disallowed everything but GSM. I’ll bet if you allow=all (or whatever the syntax is) that you’d see this go away. I’m betting you don’t really want to allow all, so if it does go away then look into what codec your trying to use with your servers and update what you’ll allow. Keep in mind it’s only a warning too, which sometimes is only really info.

I meant to say “look into what codec the provider is trying to use when talking to your servers”

Hey cynack,

Thanks for the reply!

I have checked this, the VOIP provider has the following specified:

disallow=all
allow=alaw
allow=gsm

as you can see that is the same as what I currently have in sip.conf - I am a bit stuck !

I spoke with the VOIP provider and they weren’t able to help much as they don’t specialise in Asterisk, however they did mention about the codecs. I’ll try switching the allow=all on and see if that makes a difference.

If you have any further ideas or help cynack - it would be much appreciated!

Thanks,
Simon

This is lower level than that. It means that there has been a change in formats during the call.

If you just get the occasional message, with no external symptoms, I would ignore it as a transient error whilst the call is reconfiguring.