Switch from using pjsip_strerror to pj_strerror.
authorMark Michelson <mmichelson@digium.com>
Tue, 8 Oct 2013 20:52:04 +0000 (20:52 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 8 Oct 2013 20:52:04 +0000 (20:52 +0000)
commit2904a198d55ca64e2a77c77710a286630812dd37
treeae493ddcab8f9f59034c009871af07220a5f1462
parentf87086b3743ba5a1639e251b53c0f5e5cce31534
Switch from using pjsip_strerror to pj_strerror.

pjsip_strerror is only aware of PJSIP-specific error
codes. pj_strerror() is aware of all PJProject error
codes and OS-specific error codes.

This specifically fixes an oft-seen error in transport
configuration code where EADDRINUSE would result in
"Unknown PJSIP error 120098" instead of a useful
message.
........

Merged revisions 400749 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip.c
res/res_pjsip/config_transport.c