Yes, it is intended.  sofia_contact is used inline to fill in the dialplan.  It should not cause any problems with parsing the message correctly, you can confirm this is the case by running sofia_contact from fs_cli and see that it is handled properly.  


On Jul 6, 2010, at 4:41 AM, Oliver Schönbeck wrote:
I recently noticed that the response send after a call to sofia_contact via  socket connection lags the two \n at the end. Which leads to some Problems parsing the messages correctly.
Is this behaviour intended?
 
I’m using sofia_contact to check whether a user is currently registered or not so I am in the need to call this function via socket.
Is there an alternative?