<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">src/switch_ivr_bridge.c<div><br></div><div>This could just as well be a glare condition when the call is in process of tearing down.</div><div><br></div><div>Mike</div><div><br><div><br><div><div>On Dec 8, 2009, at 6:48 PM, Nik Middleton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>



<div lang="EN-US" link="blue" vlink="blue" style="word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space">

<div class="Section1"><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">No doubt, but that’s a little
difficult as this only happens occasionally and I have 200 calls going on at
the time.&nbsp; It’s needle in the haystack stuff.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Here’s what I know.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I have an external process listening for
DTMF events.&nbsp; If I detect ‘*’ I do a kill uuid on the B leg.&nbsp;
On a number of occasions I get an error saying the B leg doesn’t exist,
so I now do a double kill on the associated leg which I get from the
event.&nbsp; I do not get a ‘doesn’t exist’ message for the A
leg, which leads me to believe that process of tearing down both bridged legs
is flawed.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">The kluge clears the B leg hang issue, so
the pressure’s off for me, but when I get a few nano seconds, I’ll
look at the code to see if there’s anything obvious.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Can anyone give me a hint on what module
handles bridged calls? (sorry, being lazy and suffering from a lack of sleep)<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Regards,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center" tabindex="-1">

</span></font></div><p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span style="font-weight:bold">On Behalf Of </span></b>Michael Jerris<br>
<b><span style="font-weight:bold">Sent:</span></b> 08 December 2009 16:16<br>
<b><span style="font-weight:bold">To:</span></b> <st1:personname w:st="on"><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></st1:personname><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] no
hangup on B leg</span></font><o:p></o:p></p>

</div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">We will really need debug logs and sip traces to be able to figure out
what exactly is going on here.<o:p></o:p></span></font></p>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">Mike<o:p></o:p></span></font></p>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>

<div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">On Dec 7, 2009, at 4:06 PM, <st1:personname w:st="on">Nik Middleton</st1:personname>
wrote:<o:p></o:p></span></font></p>

</div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><br>
<br>
<o:p></o:p></span></font></p>

<span style="orphans: 2;widows: 2;-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:
0px">

<div link="blue" vlink="blue">

<div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Sorry no, apart from the fact that I was
seeing the hangup.<u1:p></u1:p></span></font><o:p></o:p></p>

</div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

</div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

</div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I’m wondering if this a bandwidth
congestion issue.&nbsp; Is there anyway on a bridged call I could trap on dtmf
like look for ‘*’ and force a hangup?&nbsp; I don’t seem to
able to see this tone on the B leg though.<u1:p></u1:p></span></font><o:p></o:p></p>

</div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

</div>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Regards,<u1:p></u1:p></span></font><o:p></o:p></p>

</div>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center" tabindex="-1">

</span></font></div>

<div><p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><span class="apple-converted-space"><font size="2" face="Tahoma"><span style="font-size:
10.0pt;font-family:Tahoma">&nbsp;</span></font></span><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><span class="apple-converted-space">&nbsp;</span>[mailto:freeswitch-users-bounces@lists.freeswitch.org]<span class="apple-converted-space">&nbsp;</span><b><span style="font-weight:bold">On
Behalf Of<span class="apple-converted-space">&nbsp;</span></span></b>Michael
Collins<br>
<b><span style="font-weight:bold">Sent:</span></b><span class="apple-converted-space">&nbsp;</span>07 December 2009 19:12<br>
<b><span style="font-weight:bold">To:</span></b><span class="apple-converted-space">&nbsp;</span><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b><span class="apple-converted-space">&nbsp;</span>Re: [Freeswitch-users] no hangup on B
leg</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

</div><p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

<div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">On Mon, Dec 7, 2009 at 11:01 AM, <st1:personname w:st="on">Nik
 Middleton</st1:personname> &lt;<a href="mailto:nik.middleton@noblesolutions.co.uk">nik.middleton@noblesolutions.co.uk</a>&gt;
wrote:<u1:p></u1:p><o:p></o:p></span></font></p>

</div>

<div link="blue" vlink="purple">

<div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Hi all,</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">&nbsp;</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">I’ll slowly pulling my hair out on this one.&nbsp; I
had FS successfully hanging up both legs on a bridge, now today, with nothing
changed, I’m not seeing a hangup of the b leg at all.</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">&nbsp;</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">FS is behind a PIX, so it might be a weird NAT issue, but A
leg calls hangup just fine.&nbsp; Before when I had an issue with the B leg not
closing the bridge, I was at least getting a hangup event, now it’s not
being fired.&nbsp; Does anyone have an idea what might be causing this?</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">&nbsp;</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

<div><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Regards,</span></font><o:p></o:p></p>

<u1:p></u1:p></div>

</div>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

</div>

<div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt">Time for SIP traces and debug logs. Also, do you have any logs from
when things seemed to be working so that you can compare?<br>
-MC<u1:p></u1:p><o:p></o:p></span></font></p>

</div>

</div>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>

</div>

</div>

</div>

</span></div>

</div>

</div>

</div>


_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></o:smarttagtype></blockquote></div><br></div></div></body></html>