<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Thanks David<BR>
<BR>The Speech Server application reacts to speech from the caller validated by&nbsp;a grammar. There is a facility in Speech Server to log the calls, including the audio. On calls that work, I can hear the prompts from the application as well as my responses in the session audio. On calls that don't work, I hear the prompts from the application but none of my responses. After a small period of waiting&nbsp;the&nbsp;Speech Recognizer times out and tells me that it did not hear me say anything. I have tried increasing the timeout interval but the problem remains.<BR>
&nbsp;<BR>
So I am not sure where the problem lies, is it something breaking down in Speech Server, or is the audio not making it from FreeSwitch to Speech Server. <BR>
&nbsp;<BR>
One thing for sure is that it doesnt stop working half way through the call. It either recognizes utterances from the caller or it doesn't, which would lead me to think that sometimes the call is not properly setup between Speech Server and FreeSwitch, but as I said I have run out of ideas.&nbsp;<BR>
&nbsp;<BR>
As I mentioned I do see RTP traffic, but I am afraid that I do not posses indepth knowledge about the protocol, so I am not sure how to properly analyse it.<BR>
&nbsp;<BR>
Thanks again for your input<BR>
&nbsp;<BR>
&nbsp;<BR>
Brian Campbell<BR>
&nbsp;<BR>
<DIV>

<HR id=stopSpelling>
From: david.ponzone@ipeva.fr<BR>Date: Tue, 21 Jun 2011 08:43:44 +0200<BR>To: freeswitch-users@lists.freeswitch.org<BR>Subject: Re: [Freeswitch-users] Intermittent Audio Problem - Incomming Calls<BR><BR>
<META name=Generator content="Microsoft SafeHTML">Brian,
<DIV><BR></DIV>
<DIV>twice you say "the IVR doesn't seem to hear anything the caller is saying".</DIV>
<DIV>I suppose that means it is an assumption because it does not react to DTMFs ?</DIV>
<DIV>Do you have the possibility in this IVR to record the call ?</DIV>
<DIV>This way, you would be sure.</DIV>
<DIV><BR></DIV>
<DIV>Also you say that Wireshark tells you the RTP traffic is fine.</DIV>
<DIV>Even when the call is not working ?</DIV>
<DIV>Do you notice anything different in this RTP ?</DIV>
<DIV>You may also take a RTP trace between FS and IVR of a non-working call, analyse the RTP flows and save the payload as raw to a file.</DIV>
<DIV>You should be able to listen to the audio with the right tool.</DIV>
<DIV><BR>
<DIV><SPAN style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 14px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 14px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span>
<DIV style="WORD-WRAP: break-word">
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span color=#1c00ff>David Ponzone &nbsp;</FONT><FONT class=ecxApple-style-span color=#000000 size=3><SPAN style="FONT-SIZE: 12px" class=ecxApple-style-span>Direction Technique</SPAN></FONT></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=ecxApple-style-span>email: <A href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</A></SPAN></FONT></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=ecxApple-style-span>tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</SPAN></FONT></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=ecxApple-style-span>gsm: &nbsp; 06 66 98 76 34</SPAN></FONT></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><BR></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#1c00ff face="'Helvetica Neue'">Service Client<SPAN class=ecxApple-converted-space>&nbsp;</SPAN></FONT><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span color=#ff0000>IP</FONT></FONT><FONT class=ecxApple-style-span color=#1c00ff face="'Helvetica Neue'">eva</FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#1c00ff face="'Helvetica Neue'"><SPAN style="FONT-FAMILY: Helvetica; COLOR: rgb(0,0,0)" class=ecxApple-style-span>
<DIV><FONT class=ecxApple-style-span face="'Helvetica Neue'"><FONT class=ecxApple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=ecxApple-style-span>tel: &nbsp; &nbsp; &nbsp;0811 46 26 26</SPAN></FONT></FONT></DIV>
<DIV><FONT class=ecxApple-style-span size=3 face="'Helvetica Neue'"><SPAN style="FONT-SIZE: 13px" class=ecxApple-style-span>
<DIV style="FONT: 10px Arial; MARGIN-BOTTOM: 0px; COLOR: rgb(0,34,243); MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px"><SPAN style="TEXT-DECORATION: underline"><A target=_blank>www.ipeva.fr</A></SPAN><SPAN style="COLOR: rgb(101,104,149)">&nbsp; -&nbsp; &nbsp;<SPAN style="COLOR: rgb(0,34,243); TEXT-DECORATION: underline"><A target=_blank>www.ipeva-studio.com</A></SPAN></SPAN></DIV>
<DIV style="FONT: 10px Arial; MARGIN-BOTTOM: 0px; COLOR: rgb(0,34,243); MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px"><SPAN style="TEXT-DECORATION: underline" class=ecxApple-style-span><BR></SPAN></DIV>
<DIV style="FONT: 10px Arial; MARGIN-BOTTOM: 0px; COLOR: rgb(0,34,243); MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px"><SPAN class=ecxApple-style-span>
<DIV style="TEXT-ALIGN: justify; FONT: 10px Arial; MARGIN-BOTTOM: 0px; COLOR: rgb(192,192,192); MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px"><I>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération.&nbsp;</I><B><I>IPeva</I></B><I>&nbsp;décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</I></DIV>
<DIV style="TEXT-ALIGN: justify; TEXT-DECORATION: underline"><FONT class=ecxApple-style-span color=#c0c0c0><I><BR></I></FONT></DIV></SPAN></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></DIV></SPAN><BR class=ecxApple-interchange-newline></SPAN><BR class=ecxApple-interchange-newline></DIV><BR>
<DIV>
<DIV>Le 21/06/2011 à 04:29, Brian Campbell a écrit :</DIV><BR class=ecxApple-interchange-newline>
<BLOCKQUOTE><SPAN style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px" class=ecxApple-style-span>
<DIV style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt" class=ecxhmmessage>
<DIV dir=ltr>I have run into a very strange issue with periodically losing Audio on Incomming calls<BR>&nbsp;<BR>I am receiving incomming calls to FreeSwitch via a DID from an ITSP. Once FreeSwitch receives the call, I am adding a header to pass the UUID (which I use later to inject some custom values into CDRs) and then bridge to an IVR application running on Microsoft Speech Server 2007 which is on a separate box, using the following dial plan<BR>&nbsp;<BR>&lt;extension name="Inbound_FromSoTel"&gt;<BR>&nbsp; &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;action application="set" data="sip_h_X-FS_UUID=${uuid}" /&gt;<SPAN class=ecxApple-converted-space>&nbsp;</SPAN><BR>&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="<A href="mailto:sofia/external/$1@173.14.17.213:5060;transport=tcp">sofia/external/$1@173.14.17.213:5060;transport=tcp</A>" /&gt;<SPAN class=ecxApple-converted-space>&nbsp;</SPAN><BR>&nbsp; &lt;/condition&gt;<BR>&lt;/extension&gt;<BR>&nbsp;<BR>Some calls are performing properly, but in some of the calls (about 30%) the IVR application doesn't seem to hear anything the caller is saying<BR>&nbsp;<BR>I have eliminated any Firewalls for testing, so I go straight from the ITSP to FreeSwitch and then to Speech Server. Thee is no NAT in play.<BR>&nbsp;<BR>There doesn't seem to be any rhyme or reason as to when a call is going to work, or when it isn't. I have also seen exactly the same behavior in a completely different environment with a different ITSP and a completely different IVR application.<BR>&nbsp;<BR>So I figure that the problem is somewhere between FreeSwitch and Speech Server, but I don't see anything wrong.<SPAN class=ecxApple-converted-space>&nbsp;</SPAN><BR>&nbsp;<BR>Using WireShark I can see the SIP signalling creating/tearing down the call and I see RTP traffic flowing both ways between FreeSwitch and Speech Server<BR>&nbsp;<BR>The version of FreeSwitch that I am running is 'FreeSWITCH Version 1.0.head (git-38f06a3 2011-05-19 15-39-43 -0500)'<BR>&nbsp;<BR>I have pasted 2 FreeSwitch traces into pastebin. The first one is of a working call, the second one is of a call where the IVR application doesn't seem to hear anything the caller is saying<BR>&nbsp;<BR>Can anyone advise on what the issue might be. I am completely out of ideas.<BR>&nbsp;<BR>Thanks<BR>&nbsp;<BR>Brian Campbell<BR><BR>&nbsp;<BR></DIV>_______________________________________________<BR>Join us at ClueCon 2011, Aug 9-11, Chicago<BR><A href="http://www.cluecon.com/" target=_blank>http://www.cluecon.com</A><SPAN class=ecxApple-converted-space>&nbsp;</SPAN>877-7-4ACLUE<BR><BR>FreeSWITCH-users mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR><A href="http://www.freeswitch.org/" target=_blank>http://www.freeswitch.org</A><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV><BR>_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org</DIV>                                               </div></body>
</html>