Incompatible Voice Frame Ulaw/alaw

Home » Asterisk Users » Incompatible Voice Frame Ulaw/alaw
Asterisk Users 3 Comments

Hi list!

When I receive an incoming call from a SIP peer where I’ve configured

disallow=all allow=alaw
(and no other codec)

I can see the following NOTICE on the console:

Dropping incompatible voice frame SIP/peer07-0000007c of format ulaw since our native format has changed to (alaw)

My question is: where can I change the native format from ulaw to alaw
(or something else)? Is ulaw, as the native format, adjustable in some config file or is it hard-coded into Asterisk?

It doesn’t seem to have any effect on the voice quality but the messages on the console are quite annoying.

PS: The peer doesn’t support ulaw.

PPS: Asterisk 10.7.0

Thanks a lot!
Markus

3 thoughts on - Incompatible Voice Frame Ulaw/alaw

  • Hi list, I’m resending this.. no one answered. No one got an idea? Thank you!

    When I receive an incoming call from a SIP peer where I’ve configured

    disallow=all allow=alaw
    (and no other codec)

    I can see the following NOTICE on the console:

    Dropping incompatible voice frame SIP/peer07-0000007c of format ulaw since our native format has changed to (alaw)

    My question is: where can I change the native format from ulaw to alaw
    (or something else)? Is ulaw, as the native format, adjustable in some config file or is it hard-coded into Asterisk?

    It doesn’t seem to have any effect on the voice quality but the messages on the console are quite annoying.

    PS: The peer doesn’t support ulaw.

    PPS: Asterisk 10.7.0

    Thanks a lot!
    Markus

  • I suspect you will find the frequency of these messages is the value you have set for rtpkeepalive.

    I would suggest you include the following in your peer’s configuration;

    rtpkeepalive=0

    Larry.

  • Hi Larry,

    Am 26.08.2012 03:57, schrieb Larry Moore:

    thanks! Unfortunately, that didn’t change anything. Any other advise?

    I don’t get where it’s configured that Asterisk’ default “hard-coded”
    codec is ulaw… at least that’s the information we get from that message, right?

    Regards Markus