[Freeswitch-dev] Decline not routed from sip stack to freeswitch?

Brian West brian.west at mac.com
Wed Mar 7 09:58:59 EST 2007


> 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 at 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 at 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 at 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 at 192.168.1.111>;tag=8cXm6erteSH3N
>    To: <sip:3 at 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 at 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 at 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 at 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 at 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?
>

You have to remember that FreeSWITCH isn't a sip stack but Sofia-SIP  
is our stack of choice.  I suspect that the NUA layer isn't passing  
this up to our layer to deal with.  I'm sure we'll have to bring this  
to their attention for a fix ;)  But you can open a bug on this at  
jira.freeswitch.org.

Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20070307/e260aa31/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 824 bytes
Desc: This is a digitally signed message part
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20070307/e260aa31/attachment.bin 


More information about the Freeswitch-dev mailing list