I believe I fixed this issue last week, and your line numbers look off from current tree.  What svn revision are you using?  Can you try with current trunk to confirm it is still an issue.?

 

Mike

 

 


From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Sluschny, Thomas
Sent: Wednesday, March 07, 2007 5:48 AM
To: freeswitch-dev@lists.freeswitch.org
Subject: [Freeswitch-dev] Decline not routed from sip stack to freeswitch?

 

Hi,

 

like the subjects says:

Decline not routed from sip stack (sofia) to freeswitch (mod_sofia)?

 

Here is a logging with "set TPORT_LOG=1" to see the SIP messages.

Freeswitch has sent an INVITE, the answer was RINGING an then DECLINE.

But: the DECLINE is not received in mod_sofia!!!

I expected a function call of event_callback() from sofia stack, but there is none!!

So the freeswitch waits until timeout occurs:

 

_______________________________________________________________________________________________________________________________

 

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

 

_______________________________________________________________________________________________________________________________

 

 

Can I configure sofia to supress the event_callback() for some messages (e. g. Decline)?

Or: has anyone ever seen a DECLINE in freeswitch?

 

Thanks in advance

Thomas