[SIPForum-discussion] Which should be the correct behaviour?

Herve Jourdain herve.jourdain at mstarsemi.com
Wed Apr 2 10:08:32 UTC 2008


Hi,

 

You’re right, I forgot the ACK in scenario 1, but it’s normal to send it –
it’s an INVITE transaction.

As to the second scenario, this could happen I guess in case of “cross
messages”. I think the peer answered the INVITE more or less at the same
time the CANCEL was sent, so when the peer receives the CANCEL it has
already responded, so the CANCEL is not taken into account anymore, I think.

Especially if SIP phone sends ACK, then it means the conversation should be
established from that point.

And if the call needs to be terminated, then only a BYE will do at that
point.

 

Regards,

 

Herve

 

  _____  

From: Andrea Puddu [mailto:androjoker at hotmail.com] 
Sent: mardi 1 avril 2008 15:53
To: Herve Jourdain; 'prasanna c'; discussion at sipforum.org
Subject: RE: [SIPForum-discussion] Which should be the correct behaviour?

 

Thanks everybody very much.
Herve, you are correct.

Furthermore, with one kind of phone I am experiencing this behaviour:

Scenario 1: 

SIP phone sends an INVITE (D1)

SIP phone sends a CANCEL (C1)

SIP phone receives C1 200 OK

SIP phone receives 487 Request terminated

SIP phone sends ACK

                        SIP phone receives D1 200 OK

                        SIP phone ignore the message

Scenario 2: 

SIP phone sends an INVITE (D1)

SIP phone sends a CANCEL (C1)

SIP phone DOES NOT receive C1 200 OK

                        SIP phone receives D1 200 OK
 
                       SIP phone sends ack and keeps sending some CANCEL




Do you think they are correct?

Thanks,

Andrea





  _____  

From: herve.jourdain at mstarsemi.com
To: c_prasanna_c at hotmail.com; androjoker at hotmail.com;
discussion at sipforum.org
Subject: RE: [SIPForum-discussion] Which should be the correct behaviour?
Date: Tue, 1 Apr 2008 14:18:23 +0200

Hi,

 

I would only add that it’s likely that SIP phone receives D1 487 Request
Terminated


 

Regards,

 

Hervé

 

  _____  

From: discussion-bounces at sipforum.org
[mailto:discussion-bounces at sipforum.org] On Behalf Of prasanna c
Sent: vendredi 28 mars 2008 13:19
To: Andrea Puddu; discussion at sipforum.org
Subject: Re: [SIPForum-discussion] Which should be the correct behaviour?

 

Both are not correct scenario.  Sip phone MUST not send CANCEL without
receiving any Provisional response response. If CANCEL is sent after
receiving any provisional response, then Scenario 1 is correct.

  _____  

From: androjoker at hotmail.com
To: discussion at sipforum.org
Date: Fri, 28 Mar 2008 11:10:21 +0000
Subject: [SIPForum-discussion] Which should be the correct behaviour?

 

Hello, 

does anybody know which should be the correct phone behaviour in these two
scenarios?

-          Scenario 1:

SIP phone sends an INVITE (D1)

SIP phone sends a CANCEL (C1)

SIP phone receives C1 200 OK 

SIP phone receives D1 200 OK 

 

-          Scenario 2:

SIP phone sends an INVITE (D1)

SIP phone sends a CANCEL (C1)

SIP phone DOES NOT receive C1 200 OK 

SIP phone receives D1 200 OK

 

Thanks,

 

Andrea

 

  _____  

Windows Live Mobile Scarica
<http://windowslivemobile.msn.com/Homepage.aspx?lang=it-it>  subito
Messenger per il tuo cellulare 

 

  _____  

Planning marriage in 2008! Join Shaadi.com matrimony FREE! Try it now!
<http://ss1.richmedia.in/recurl.asp?pid=429> 

 

  _____  

Windows Live Mail Tutta la tua posta in
<http://get.live.com/wlmail/overview>  un solo posto! Scarica il programma

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080402/e58b38df/attachment-0002.html>


More information about the discussion mailing list