res_pjsip.c: Register PJMEDIA error code decoder.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 23 Jun 2016 20:13:24 +0000 (15:13 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 30 Jun 2016 20:40:39 +0000 (15:40 -0500)
commite6e12c752cfb6ef1a0164c290ebc27b093f1041f
tree6d8c55ee1f39e0a88bdbbffa41e746aa88538273
parent5d2fc6bab70279c1e3f43916c7b8257a365be858
res_pjsip.c: Register PJMEDIA error code decoder.

Registering the PJMEDIA error codes allows errors found when parsing an
incoming SDP to be easier to figure out.

"Missing SDP rtpmap for dynamic payload type (PJMEDIA_SDP_EMISSINGRTPMAP)"
is much easier to understand than "Unknown error 220030".

ASTERISK-25772

Change-Id: I44b2dcea656fedd7593171be9e845880a2c70ca0
res/res_pjsip.c