<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=975231209-07032007>like the subjects
says:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=975231209-07032007>Decline not routed
from sip stack (sofia) to freeswitch (mod_sofia)?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial size=2>Here is a
logging with "</FONT><FONT face=Arial><FONT size=2>set TPORT_LOG=1<SPAN
class=975231209-07032007>" to see the SIP
messages.</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial><FONT size=2><SPAN
class=975231209-07032007>Freeswitch has sent an INVITE, the answer was RINGING
an then DECLINE.</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial><FONT size=2><SPAN
class=975231209-07032007>But: the DECLINE is not received in
mod_sofia!!!</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial><FONT size=2><SPAN
class=975231209-07032007>I expected a function call of event_callback() from
sofia stack, but there is none!!</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial><FONT size=2><SPAN
class=975231209-07032007>So the freeswitch waits until timeout
occurs:</SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=975231209-07032007><FONT face=Arial><FONT size=2><SPAN
class=975231209-07032007></SPAN></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007>_______________________________________________________________________________________________________________________________</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2>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=#000000>sofia/192.168.1.111/3@192.168.1.101</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=#000000>sofia/192.168.1.111/3@192.168.1.101</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=#000000>sofia/192.168.1.111/3@192.168.1.101</FONT></A> entering state
[proceeding]<BR>recv 323 bytes from udp/[192.168.1.101]:5060 at
17:49:50.818256:<BR>
------------------------------------------------------------------------<BR>
SIP/2.0 603 Decline<BR> Via: SIP/2.0/UDP
192.168.1.111;rport=5060;branch=z9hG4bK9a2m30XmH07Fj<BR> From:
"FreeSwitch"
<sip:5555551212@192.168.1.111>;tag=8cXm6erteSH3N<BR> To:
<sip:3@192.168.1.101>;tag=3823224407<BR> Call-ID:
ec363031-46ad-122a-2780-39a48cb53b8d<BR> CSeq: 80483359
INVITE<BR> Warning: Playing 16kHz-File<BR>
Content-Length: 0<BR> <BR>
------------------------------------------------------------------------<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=#000000>sofia/192.168.1.111/2@192.168.1.101</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=#000000>sofia/192.168.1.111/2@192.168.1.101</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=#000000>sofia/192.168.1.111/2@192.168.1.101</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=#000000>sofia/192.168.1.111/2@192.168.1.101</FONT></A> hanging up, cause:
NO_ANSWER<BR>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007>_______________________________________________________________________________________________________________________________</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=975231209-07032007>Can I configure
sofia to supress the event_callback() for some messages (e. g.
Decline)?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=975231209-07032007>Or: has anyone ever
seen a DECLINE in freeswitch?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=975231209-07032007>Thanks in
advance</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=975231209-07032007>Thomas</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff></FONT></FONT><FONT><SPAN
class=975231209-07032007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></DIV></FONT></BODY></HTML>