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

Detailed GRANT setup to MySQL

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

Various TCPDump Commands

In order to troubleshoot, you may run these various TCP Dump commands and use Wireshark to see...

Sofia-SIP

Introduction Sofia is a SIP stack used by FreeSWITCH. When you see "sofia" anywhere in your...

Create Low Balance Notification Email Warning

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

Setup NATTING Network Scenario

If your network has a Natting structure, you may setup as below.41.162.54.77 is the public...