Metaswitch/sprout — pull request #359 by mirw (2014-01-18 02:11:15+00:00)
Title: [Reviewer: Andy] Don't try to parse SDP body when processing IFCs if there is no body

Andy,

Please can you review my fix to the issue we discussed? We were accessing the SDP body before checking that it existed - REGISTERs in particular won't often have bodies. As you can see, I've added UT - I haven't tested this live.

Thanks,

Matt

(fixes #358)