<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<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.EmailStyle17
        {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>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I believe I fixed this issue last week,
and your line numbers look off from current tree.&nbsp; What svn revision are you
using?&nbsp; Can you try with current trunk to confirm it is still an issue.?<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'>&nbsp;<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'>Mike<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'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<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'>
freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Sluschny, Thomas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, March 07, 2007
5:48 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">freeswitch-dev@lists.freeswitch.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [Freeswitch-dev] Decline
not routed from sip stack to freeswitch?</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>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>like the subjects says:</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Decline not routed from sip stack (<st1:City w:st="on"><st1:place
 w:st="on">sofia</st1:place></st1:City>)&nbsp;to freeswitch (mod_sofia)?</span></font><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is a logging with &quot;set TPORT_LOG=1&quot; to see
the SIP messages.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Freeswitch has sent an INVITE, the answer was RINGING an
then DECLINE.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>But: the DECLINE is not received in mod_sofia!!!</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I expected a function call of event_callback() from <st1:City
w:st="on"><st1:place w:st="on">sofia</st1:place></st1:City> stack, but there is
none!!</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So the freeswitch waits until timeout occurs:</span></font><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>_______________________________________________________________________________________________________________________________</span></font><o:p></o:p></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2007-03-06 18:49:50 [DEBUG] mod_sofia.c:4373
event_callback() event [nua_r_invite] status [180][Ringing] session: <a
href="mailto:sofia/192.168.1.111/3@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/3@192.168.1.101</span></font></a><br>
2007-03-06 18:49:50 [DEBUG] mod_sofia.c:4373 event_callback() event
[nua_i_state] status [180][Ringing] session: <a
href="mailto:sofia/192.168.1.111/3@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/3@192.168.1.101</span></font></a><br>
2007-03-06 18:49:50 [DEBUG] mod_sofia.c:2565 sip_i_state() Channel <a
href="mailto:sofia/192.168.1.111/3@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/3@192.168.1.101</span></font></a>
entering state [proceeding]<br>
recv 323 bytes from udp/[192.168.1.101]:5060 at 17:49:50.818256:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; SIP/2.0 603 Decline<br>
&nbsp;&nbsp; Via: SIP/2.0/UDP
192.168.1.111;rport=5060;branch=z9hG4bK9a2m30XmH07Fj<br>
&nbsp;&nbsp; From: &quot;FreeSwitch&quot;
&lt;sip:5555551212@192.168.1.111&gt;;tag=8cXm6erteSH3N<br>
&nbsp;&nbsp; To: &lt;sip:3@192.168.1.101&gt;;tag=3823224407<br>
&nbsp;&nbsp; Call-ID: ec363031-46ad-122a-2780-39a48cb53b8d<br>
&nbsp;&nbsp; CSeq: 80483359 INVITE<br>
&nbsp;&nbsp; Warning: Playing 16kHz-File<br>
&nbsp;&nbsp; Content-Length: 0<br>
&nbsp;&nbsp; <br>
&nbsp;&nbsp;
------------------------------------------------------------------------<br>
2007-03-06 18:50:00 [NOTICE] switch_ivr.c:2752 switch_ivr_originate() Hangup <a
href="mailto:sofia/192.168.1.111/2@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/2@192.168.1.101</span></font></a>
[CS_HOLD] [NO_ANSWER]<br>
2007-03-06 18:50:00 [INFO] switch_channel.c:969 switch_channel_perform_hangup()
Kill <a href="mailto:sofia/192.168.1.111/2@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/2@192.168.1.101</span></font></a> [1]<br>
2007-03-06 18:50:00 [DEBUG] switch_core.c:2903 switch_core_session_run() (<a
href="mailto:sofia/192.168.1.111/2@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/2@192.168.1.101</span></font></a>)
State HANGUP<br>
2007-03-06 18:50:00 [DEBUG] mod_sofia.c:1282 sofia_on_hangup() Channel <a
href="mailto:sofia/192.168.1.111/2@192.168.1.101"><font color=black><span
style='color:black'>sofia/192.168.1.111/2@192.168.1.101</span></font></a>
hanging up, cause: NO_ANSWER<o:p></o:p></span></font></p>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>_______________________________________________________________________________________________________________________________<o:p></o:p></span></font></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can I configure <st1:City w:st="on"><st1:place w:st="on">sofia</st1:place></st1:City>
to supress the event_callback() for some messages (e. g. Decline)?<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Or: has anyone ever seen a DECLINE in freeswitch?<o:p></o:p></span></font></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thomas<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'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

</body>

</html>