<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR>
Hey y'all,<BR>
<BR>
We have FreeSWITCH and Microsoft Speech Server 2007 running fine on separate boxes. However when we try to consolidate onto a single box as per instructions for inbound DID calls in Brian Campbell’s most excellent blog: <BR>
<BR>
<A href="http://gotspeech.net/blogs/verbalinput/archive/2010/01/08/speech-server-2007-marries-freeswitch-part-4-receiving-calls.aspx">http://gotspeech.net/blogs/verbalinput/archive/2010/01/08/speech-server-2007-marries-freeswitch-part-4-receiving-calls.aspx</A> <BR>
<BR>
We receive a 503 error – terminate and SIP returns Error Cause: 41 [NORMAL_TEMPORARY_FAILURE].<BR>
<BR>
The first leg from the provider to FreeSwitch works fine and the dialplan is parsed correctly, also outbound calls through FreeSWITCH work. The problem occurs when the second leg of the call is trying to create a channel from FreeSWITCH to the Speech Server. Here is the trace:<BR>
<BR>
EXECUTE <A href="mailto:sofia/external/106308_1@74.54.54.178">sofia/external/106308_1@74.54.54.178</A> bridge(<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060;transport=tcp">sofia/internal/2146130149@127.0.0.1:5060;transport=tcp</A>)<BR>2011-01-13 22:23:27.387971 [NOTICE] switch_channel.c:784 New Channel <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [1df88e9c-16e6-415a-ac1b-83e29d25b3b0]<BR>2011-01-13 22:23:27.387971 [DEBUG] mod_sofia.c:3976 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State Change CS_NEW -> CS_INIT<BR>2011-01-13 22:23:27.387971 [DEBUG] switch_core_session.c:1064 Send signal <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [BREAK]<BR>2011-01-13 22:23:27.387971 [DEBUG] switch_core_state_machine.c:320 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) Running State Change CS_INIT<BR>2011-01-13 22:23:27.387971 [DEBUG] switch_core_state_machine.c:356 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State INIT<BR>2011-01-13 22:23:27.387971 [DEBUG] mod_sofia.c:86 <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> SOFIA INIT<BR>2011-01-13 22:23:27.388971 [DEBUG] mod_sofia.c:126 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State Change CS_INIT -> CS_ROUTING<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_session.c:1064 Send signal <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [BREAK]<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:356 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State INIT going to sleep<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:320 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) Running State Change CS_ROUTING<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_channel.c:1615 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) Callstate Change DOWN -> RINGING<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:359 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State ROUTING<BR>2011-01-13 22:23:27.388971 [DEBUG] mod_sofia.c:149 <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> SOFIA ROUTING<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_ivr_originate.c:66 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State Change CS_ROUTING -> CS_CONSUME_MEDIA<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_session.c:1064 Send signal <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [BREAK]<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:359 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State ROUTING going to sleep<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:320 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) Running State Change CS_CONSUME_MEDIA<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:378 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State CONSUME_MEDIA<BR>2011-01-13 22:23:27.388971 [DEBUG] switch_core_state_machine.c:378 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) State CONSUME_MEDIA going to sleep<BR>
<BR>
2011-01-13 22:23:27.389971 [DEBUG] sofia.c:4604 Channel <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> entering state [calling][0]<BR>2011-01-13 22:23:27.389971 [DEBUG] sofia.c:4604 Channel <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> entering state [terminated][503]<BR>
<BR>
2011-01-13 22:23:27.389971 [DEBUG] switch_channel.c:2455 (<A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A>) Callstate Change RINGING -> HANGUP<BR>2011-01-13 22:23:27.389971 [NOTICE] sofia.c:5244 Hangup <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]<BR>2011-01-13 22:23:27.389971 [DEBUG] switch_channel.c:2471 Send signal <A href="mailto:sofia/internal/2146130149@127.0.0.1:5060">sofia/internal/2146130149@127.0.0.1:5060</A> [KILL]<BR>
<BR>
The Speech Server is listening at TCP 0.0.0.0:5060 and Sofia Internal at TCP IP Addy of box also on port 5060.<BR>
<BR>
Any help or insight would be much appreciated.<BR>
<BR>
Cheers.<BR>
<BR>
bit<BR><BR>                                            </body>
</html>