Both for this line and line 825.  We allow the user to specify their own phone format (see administration->site information->phone format) so that openELIS can be used in many countries.  addNumberPhoneDashAndIndicative will only work for Cote d'Iviore.  It would be a fairly complicated piece of code to make it work for all possible formats.  I do not think that it is worth the effort to implement this part of the feature since it would break in many other locals. 
 It is also not part of the story being worked on, that only has to do with ':' in time stamps.  Auto filling phone numbers is https://www.pivotaltracker.com/story/show/55928672