I am trying do something very simple and have an outgoing call from speech server to my Office Communicator.
I am using the MakeCall activity, set the calledparty to be a sip uri and set it as follow:
Host:ocs.domain.com, User:user, Port:0
I also set the ocs.domain.com as a trusted SIP peer in the console.
This is the error I am getting:
Application Error 50000: An exception occurred in the Speech workflow with Id d02f3ae7-1568-43c2-af76-c9c8865f7da5. The exception was: A SIP request has failed. The current operation is 'Opening'. The session state is 'Connecting'. The remote participant is 'sip:firstname.lastname@example.org:5061;transport=Tls'. The response code was '404'. The response text was 'Not Found'.
There is one thing I am not sure about when I set the sip uri:
The peer server (OCS server) is "ocs.domain.com", but the user sip is email@example.com. The problem (I suspect) is that the speech server is trying to find firstname.lastname@example.org but there is no such user on the server, and thats why I getting this error.
If I set the user to be email@example.com the full sip uri looks like this: sip:firstname.lastname@example.org@ocs.domain.com... which does not work as well.
Looks like the MakeCall uses the Host parameter for the peer server and as the user domain. Is there a way to tell the speech server to connect to ocs.domain.com but authenticate with email@example.com ?
Any idea? What am I missing?
Is this the right way to configure outbound call? speech server->ocs->communicator or is there a different way to do that?
BTW: inbound calls works just fine.