< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] Contact missing in 180 response...


Hi 

Contact header is not always mandatory in 180 responses.
But if response create dialog( has To tag ) Contact header is mandatory -
discussed case.

Early in the list was discussion about dum bug:
Dum assumed that any 180 responses must contain Contact.
I don't know is it fixed so far.

Regards,
Alex

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of frank
zhao
Sent: Wednesday, December 21, 2005 9:45 AM
To: John Draper
Cc: Resip Devel
Subject: Re: [reSIProcate] Contact missing in 180 response...

hi,
 1.The client's Dialog is created after the client received a "180
message" from the Proxy. So I think it is correct for the client that
it failed when calling findDialog method after receiving "180 Ring".
2.For the "100 trying " reponse, Contact is not necessary. But for
"180 Ring" message, I think the Contact header is mandatory. So you
should check your proxy.

2005/12/21, John Draper <lists@xxxxxxxxxxxxxxxx>:
> Hi,
>
> When I get a 180 response getting back after I've issued the Invite
request,
> I get the following log data returned.
>
> See my notation markers <----(n)
>
> resiprocate/dum/DialogSet.cxx:665 | findDialog:
>
15564cf74ce8b89e@am9obi1kcmFwZXJzLWNvbXB1dGVyLmxvY2Fs-1b464936-7e95afd1c8014
15ab927598c3dc178b3
> in []     <-----(1)
> resiprocate/dum/DialogSet.cxx:585 | Cannot create a dialog, no Contact
> in 180.   <----- (2)
> : DlogSet-onNonDialogCreatingProvisional -
>
> In marker (1) above,  it appears findDialog is not finding a dialog...
> is this normal?
>
> In Marker (2) is cannot create a dialog, probably because it has to,
> but the message
> says "no Contact in 180"...
>
> Does this mean the sip proxy is failing to send a "Contact:" header in
> the response?
> Or does this mean that I'm failing to send a properly formed "Contact:"
> header in my
> initial request?    If the latter,  my Initial request is....
>
> INVITE sip:u218055@xxxxxxxxxxxxxx SIP/2.0
> To: <sip:u218055@xxxxxxxxxxxxxx>
> From: <sip:u354@xxxxxxxxxxxxx:5060>;tag=1b464936
> Via: SIP/2.0/UDP
> 192.168.0.2:5060;branch=z9hG4bK-d87543-5d28bbe6117c43a5-1--d87543-;rport
> Call-ID: 15564cf74ce8b89e@am9obi1kcmFwZXJzLWNvbXB1dGVyLmxvY2Fs
> CSeq: 1 INVITE
> Contact: <sip:u354@xxxxxxxxxxx:5060>      <-----(3)
> Max-Forwards: 70
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
> Content-Type: application/sdp
> User-Agent: RTC/1.3.5369 (OnInstant/0_0)
> Content-Length: 257
>
> v=0
> o=- 0 0 IN IP4 192.168.0.2
> s=WhitePhone Mac
> c=IN IP4 192.168.0.2
> t=0 0
> m=audio 10976 RTP/AVP 0 8 3 97 101
> a=fmtp:101 0-15
> a=rtpmap:0 pcmu/8000
> a=rtpmap:8 pcma/8000
> a=rtpmap:3 gsm/8000
> a=rtpmap:97 speex/8000
> a=rtpmap:101 telephone-event/8000
>
> Note marker (3) above.  That contact field IS there, so how can it be
> missing?
>
> My 100 response is:
>
> SIP/2.0 100 Trying
> To: <sip:u218055@xxxxxxxxxxxxxx>
> From: <sip:u354@xxxxxxxxxxxxx:5060>;tag=1b464936
> Via: SIP/2.0/UDP
> 192.168.0.2:5060;branch=z9hG4bK-d87543-5d28bbe6117c43a5-1--d87543-;rport
> Call-ID: 15564cf74ce8b89e@am9obi1kcmFwZXJzLWNvbXB1dGVyLmxvY2Fs
> CSeq: 1 INVITE
> User-Agent: RTC/1.3.5369 (OnInstant/0_0)
> Content-Length: 0
>
> <<< No "Contact:" field in here,  is this normal?
>
> I get a few of these....
>
> My 180 response is:
>
> 180 Ringing R002180550267569601414752M000
> To: <sip:u218055@xxxxxxxxxxxxxx>;tag=7e95afd1c801415ab927598c3dc178b3
> From: <sip:u354@xxxxxxxxxxxxx:5060>;tag=1b464936
> Via: SIP/2.0/UDP
> 192.168.0.2:5060;branch=z9hG4bK-d87543-5d28bbe6117c43a5-1--d87543-;rport
> Call-ID: 15564cf74ce8b89e@am9obi1kcmFwZXJzLWNvbXB1dGVyLmxvY2Fs
> CSeq: 1 INVITE
> User-Agent: RTC/1.3
> Content-Length: 0
>
> As you see,  my response don't have a "Contact:" field in it...  is it
> supposed to have one?
>
> Also,  my "gdb" output displays this:
>
> *warning: can't find class named `resip::SipMessage', as given by C++ RTTI
> warning: can't find class named `resip::SipMessage', as given by C++ RTTI
> warning: can't find class named `resip::SipMessage', as given by C++ RTTI
> warning: can't find class named `resip::SipMessage', as given by C++ RTTI
>
> What does this mean?  I have that class,  why would it say it can't find
it?
> I don't get this all the time,  only sometimes...
>
> John
> *
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel