[OpenSIPS-Devel] Regarding the CANCEL request

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Feb 16 11:15:21 CET 2010


Hi Steven,

The UAC is bogus IMO, as it makes no sense to send a CANCEL for an 
INVITE which already received a final reply . In scenario 2), the 407 
was received, so the INVITE transaction was terminate -> CANCEL makes no 
sense there.

Regards,
Bogdan

doolin wu wrote:
> Hi Bogdan,
>  
> Yes, The caller device resend  the INVITE with credentials. It caused 
> the callee rining.
>  
> Regards,
> Steven
>
> On Mon, Nov 30, 2009 at 6:15 PM, Bogdan-Andrei Iancu 
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>
>     Hi Steven,
>
>     Is the caller device doing retransmission for the INVITE (which
>     has the
>     credentials) ?
>
>     Regards,
>     Bogdan
>
>     doolin wu wrote:
>     >
>     >
>     >     I'm facing a CANCEL problem now. The problem can be described as
>     >     "UAC canceled the INVITE but UAS still state ringing status"
>     >     The UAS is a desk phone connected to VoIP network by a VoIP
>     >     gatway, the SIP server is OpenSIPS 1.5.
>     >
>     >     Based on the SIP singaling at UAC side, there scenarios to cause
>     >     the problem:
>     >     *1. Cancel before 407 Proxy Authentication Required*
>     >     INVITE ->
>     >     100 ->
>     >     CANCEL->
>     >     200 for CANCEL ( from proxy server)<-
>     >     407 for INVITE <-
>     >     ACK ->
>     >     INVITE (with authorization) ->
>     >     180 <-
>     >
>     >     In this case, the INVITE with authorization caused the UAS
>     rining.
>     >     My question is shall UAC send INVITE after receive 407 if the
>     >     first INVITE is canceling?
>     >     ...
>     >     *2. Cancel after 407 Proxy Authentication Required.*
>     >     INVITE ->
>     >     100 ->
>     >     407 <-
>     >     CANCEL->
>     >     400 for CANCEL <-
>     >     ACK ->
>     >     INVITE (with authorization) ->
>     >     180 <-
>     >     The reason caused UAS rining is same with case 1.
>     >     How to handle this scenario?
>     >     The cancel was treated as bad request due to the INVITE has
>     >     generate final response 407.
>     >     Shall UAC send CANCEL again when receive 180?
>     >     --
>     >     Best Regards,
>     >     Steven Wu
>     >
>     >
>     >
>     >
>     > --
>     > Steven Wu
>     > Teleca Mobile Solution
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Devel mailing list
>     > Devel at lists.opensips.org <mailto:Devel at lists.opensips.org>
>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>     >
>
>
>     --
>     Bogdan-Andrei Iancu
>     www.voice-system.ro <http://www.voice-system.ro/>
>
>
>     _______________________________________________
>     Devel mailing list
>     Devel at lists.opensips.org <mailto:Devel at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>
>
>
> -- 
> Steven Wu
> Teleca Mobile Solution
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Devel mailing list