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

FS Installation Script

################################ #SPE2 INSTALLATION SCRIPT #Last update: 18  June 2015 #No...

Does SPE Support High Availability (HA)

SPE supports HA.CloudAstrix uses an Open Source HA software using two servers and a SAN. All...

Moving SPE Server to another

You need to copy below directories at new server:1. /usr/local/freeswitch/sounds/en/us/callie/*2....

Detailed GRANT setup to MySQL

If you try to connect to your mysql server from remote machine, and run into error like below,...

No Inbound in Natting Environment

In a situation where your network is natted and there is no inbound from external call, but there...