Codec Mismatch with Linksys PAP2

This is an article to help you resolve an issue in CloudAstrix Service Provider Edition (SPE)

Scenario: 
  • DID Provider sends call in G729, SPE receives in G729, and PAP2 is set to G729a
  • FreeSwitch is configured with g729 in pass-through mode.
  • When someone dial DID, call reaches PAP2 but when call is answered, it cuts immediately with Freeswitch error:
    Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION".
  • When call is answered, this is hte error:

    [ERR] switch_core_codec.c:651 Invalid codec G729a!
    [ERR] switch_core_media.c:2414 Can't load codec?

Solution:

  • If on the PAP 2, codec is changed from G729a to G729, then it works.
  • This procedure is followed: http://wiki.freeswitch.org/wiki/NDLB#NDLB-allow-bad-iananame
  • Ensure the value is set to 'TRUE'
  • Disable INBOUND PROXY MEDIA in SIP PROFILE. Set it to FALSE
  • Ensure you've setup the DID routing correctly.

Was this answer helpful?

 Print this Article

Also Read

CloudAstrix SPE Upgrade Script

Below you will find the link to upgrade SPE. Download the text, rename to an SH file and run it...

SIP Protocol Messages

About The SIP protocol specifies messages that communicate status between endpoints. Each...

SPE: Cannot connect to Freeswitch Database

When adding a server, you get this error: "Alert! We are unable to connect to your freeswitch...

Freeswitch v/s Asterisk

We get asked multiple times daily as to why we're using Freeswitch.We've compiled a neutral list...

Create Low Balance Notification Email Warning

CloudAstrix SPE sends low balance notifications warnings by email to reseller and...