<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR><!--[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 name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=673430510-19032007><FONT face=Arial 
color=#0000ff size=2>I moved to sofia 1.12.5 and used the latest version, now 
everything is OK:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=673430510-19032007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=673430510-19032007><FONT face=Arial 
color=#0000ff size=2>recv 357 bytes from udp/[192.168.1.1]:5060 at 
10:00:06.054861:<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=z9hG4bK5B55XgBQUjmXK<BR>&nbsp;&nbsp; From: 
"FreeSwitch" 
&lt;sip:5555551212@192.168.1.111&gt;;tag=53SQH40g915NQ<BR>&nbsp;&nbsp; To: 
&lt;sip:1@192.168.1.1&gt;;tag=2626728529<BR>&nbsp;&nbsp; Call-ID: 
74190746-50a3-122a-2780-39a48cb53b8d<BR>&nbsp;&nbsp; CSeq: 81030866 
INVITE<BR>&nbsp;&nbsp; Warning: 399 192.168.1.1 "Information_Call_1 is already 
active"<BR>&nbsp;&nbsp; Content-Length: 0</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=673430510-19032007><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp; 
------------------------------------------------------------------------<BR>send 
312 bytes to udp/[192.168.1.1]:5060 at 10:00:06.132991:<BR>&nbsp;&nbsp; 
------------------------------------------------------------------------<BR>&nbsp;&nbsp; 
ACK sip:1@192.168.1.1 SIP/2.0<BR>&nbsp;&nbsp; Via: SIP/2.0/UDP 
192.168.1.111;rport;branch=z9hG4bK5B55XgBQUjmXK<BR>&nbsp;&nbsp; Max-Forwards: 
70<BR>&nbsp;&nbsp; From: "FreeSwitch" 
&lt;sip:5555551212@192.168.1.111&gt;;tag=53SQH40g915NQ<BR>&nbsp;&nbsp; To: 
&lt;sip:1@192.168.1.1&gt;;tag=2626728529<BR>&nbsp;&nbsp; Call-ID: 
74190746-50a3-122a-2780-39a48cb53b8d<BR>&nbsp;&nbsp; CSeq: 81030866 
ACK<BR>&nbsp;&nbsp; Content-Length: 0</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=673430510-19032007><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp; 
------------------------------------------------------------------------<BR>2007-03-19 
11:00:06 [DEBUG] mod_sofia.c:4845 event_callback() event [nua_r_invite] status 
[603][Decline] session: <A 
href="mailto:sofia/192.168.1.111/1@192.168.1.1">sofia/192.168.1.111/1@192.168.1.1</A><BR>2007-03-19 
11:00:06 [DEBUG] mod_sofia.c:4845 event_callback() event [nua_i_state] status 
[603][Decline] session: <A 
href="mailto:sofia/192.168.1.111/1@192.168.1.1">sofia/192.168.1.111/1@192.168.1.1</A><BR>2007-03-19 
11:00:06 [DEBUG] mod_sofia.c:2912 sip_i_state() Channel <A 
href="mailto:sofia/192.168.1.111/1@192.168.1.1">sofia/192.168.1.111/1@192.168.1.1</A> 
entering state [terminated]</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=673430510-19032007>Thomas</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> freeswitch-dev-bounces@lists.freeswitch.org 
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] <B>Im Auftrag von 
</B>Michael Jerris<BR><B>Gesendet:</B> Mittwoch, 7. März 2007 
17:08<BR><B>An:</B> freeswitch-dev@lists.freeswitch.org<BR><B>Betreff:</B> Re: 
[Freeswitch-dev] Decline not routed from sip stack 
tofreeswitch?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mike<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">like the subjects 
says:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here is a logging with "set 
TPORT_LOG=1" to see the SIP messages.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So the freeswitch waits until 
timeout occurs:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_______________________________________________________________________________________________________________________________</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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: 
"FreeSwitch" 
&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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_______________________________________________________________________________________________________________________________<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in 
advance<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thomas<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV></DIV></DIV></DIV></BODY></HTML>