[Freeswitch-users] SIP/2.0 500 No session set by user

Erik Dekkers erik.dekkers at wvds.nl
Mon Jun 28 05:46:33 PDT 2010


Hi guys,

I've got a problem with a Aastra SIP Phone. 

When I make a call to freeswitch from this Phone, I get an return SIP message "SIP/2.0 500 No session set by user". This occurs when I call from the Aastra Phone to a Cisco Skinny Phone (mod_skinny).

When I call from Xlite to that same phone, it just Works. Besides that, when I call from the Aastra to Xlite and vice versa no problem occurs (SIP to SIP). 

I've searched the internet on this and came on the Sofia-Sip website. There I found this message is generated by soa_static.c (line 1131). There it says:

  if (user == NULL)
    return soa_set_status(ss, 500, "No session set by user");

But what does it mean by "USER"? Can somebody point me in the right direction so I can find out why it's replying with No session set by User

Below i've attached the sip trace

Thanks in advance.

Regards,

Erik (wvds-nl)




===========================================================================

sip:111 at 192.168.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bKaa627edaa1360db77.0caf3c848d78869e6
Max-Forwards: 70
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>
Call-ID: 86be725683a1a511
CSeq: 19626 INVITE
Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Contact: "Erik Dekkers" <sip:201 at 192.168.10.204:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D2433AD>"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 57i/2.6.0.66
Content-Type: application/sdp
Content-Length: 236

v=0
o=MxSIP 0 0 IN IP4 192.168.10.204
s=SIP Call
c=IN IP4 192.168.10.204
t=0 0
m=audio 3000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:on - - - -
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

===========================================================================

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bKaa627edaa1360db77.0caf3c848d78869e6
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>
Call-ID: 86be725683a1a511
CSeq: 19626 INVITE
User-Agent: FreeSWITCH Rocks!
Content-Length: 0

===========================================================================

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bKaa627edaa1360db77.0caf3c848d78869e6
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>;tag=KgpQKj9UD29mj
Call-ID: 86be725683a1a511
CSeq: 19626 INVITE
User-Agent: FreeSWITCH Rocks!
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Proxy-Authenticate: Digest realm="192.168.10.10", nonce="852fcd72-b282-df11-9043-00e081630bad", algorithm=MD5, qop="auth"
Content-Length: 0

===========================================================================

ACK sip:111 at 192.168.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bKaa627edaa1360db77.0caf3c848d78869e6
Max-Forwards: 70
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>;tag=KgpQKj9UD29mj
Call-ID: 86be725683a1a511
CSeq: 19626 ACK
User-Agent: Aastra 57i/2.6.0.66
Content-Length: 0

===========================================================================

INVITE sip:111 at 192.168.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bK97ad060aed9a928de.58ac06998b369e607
Proxy-Authorization: Digest username="201",realm="192.168.10.10",nonce="852fcd72-b282-df11-9043-00e081630bad",uri="sip:111 at 192.168.10.10:5060",response="b5416cff70cb923195c78c9c441d2186",algorithm=MD5,qop=auth,cnonce="deaeb147",nc=00000001
Max-Forwards: 70
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>
Call-ID: 86be725683a1a511
CSeq: 19627 INVITE
Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Contact: "Erik Dekkers" <sip:201 at 192.168.10.204:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D2433AD>"
Supported: gruu, path, timer, 100rel, replaces
User-Agent: Aastra 57i/2.6.0.66
Content-Type: application/sdp
Content-Length: 236

v=0
o=MxSIP 0 0 IN IP4 192.168.10.204
s=SIP Call
c=IN IP4 192.168.10.204
t=0 0
m=audio 3000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:on - - - -
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

===========================================================================

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bK97ad060aed9a928de.58ac06998b369e607
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>
Call-ID: 86be725683a1a511
CSeq: 19627 INVITE
User-Agent: FreeSWITCH Rocks!
Content-Length: 0

===========================================================================

UPDATE sip:201 at 192.168.10.204:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.10.10;rport;branch=z9hG4bKpSjty6aygUreN
Max-Forwards: 70
From: "111" <sip:111 at 192.168.10.10:5060>;tag=mSFgNDtZaB07D
To: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
Call-ID: 86be725683a1a511
CSeq: 132746103 UPDATE
Contact: <sip:192.168.10.10>
User-Agent: FreeSWITCH Rocks!
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0
P-Asserted-Identity: "test" <sip:111 at 192.168.10.10>

===========================================================================

SIP/2.0 500 No session set by user
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bK97ad060aed9a928de.58ac06998b369e607
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>;tag=mSFgNDtZaB07D
Call-ID: 86be725683a1a511
CSeq: 19627 INVITE
Contact: <sip:192.168.10.10>
User-Agent: FreeSWITCH Rocks!
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Length: 0

===========================================================================

SIP/2.0 501 Not Implemented
Via: SIP/2.0/UDP 192.168.10.10;rport=5060;branch=z9hG4bKpSjty6aygUreN;received=192.168.10.10
From: "111" <sip:111 at 192.168.10.10:5060>;tag=mSFgNDtZaB07D
To: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
Call-ID: 86be725683a1a511
CSeq: 132746103 UPDATE
Server: Aastra 57i/2.6.0.66
Supported: gruu, path
Content-Length: 0

===========================================================================

ACK sip:111 at 192.168.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.204:5060;branch=z9hG4bK97ad060aed9a928de.58ac06998b369e607
Max-Forwards: 70
From: "Erik Dekkers" <sip:201 at 192.168.10.10:5060>;tag=ed6e722b28
To: "111" <sip:111 at 192.168.10.10:5060>;tag=mSFgNDtZaB07D
Call-ID: 86be725683a1a511
CSeq: 19627 ACK
User-Agent: Aastra 57i/2.6.0.66
Content-Length: 0



More information about the FreeSWITCH-users mailing list