res_pjsip_outbound_registration: Add validation for 'server_uri' and 'client_uri'.
authorJoshua Colp <jcolp@digium.com>
Tue, 31 Dec 2013 20:27:03 +0000 (20:27 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 31 Dec 2013 20:27:03 +0000 (20:27 +0000)
commit135b9d3562da69e255e6ce3c84cd7a8ff5c8d0b2
tree7e0030db6f737e353d34116fbdd66972d772be25
parent20d02c1288022677640cca6cfd297c2799b9b36e
res_pjsip_outbound_registration: Add validation for 'server_uri' and 'client_uri'.

When applying configuration for outbound registrations the 'server_uri' and
'client_uri' fields were not validated. The code will now confirm that they
exist and that they contain parseable SIP URIs.

Reported by: Andrew Nagy
........

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

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