[Serusers] Problem with cancel a invite

Toni Barata toni-r-barata at ptinovacao.pt
Sun Jun 26 17:52:32 CEST 2005


Hi All,

Another problem related with INVITE and CANCEL:

A makes call to B.
A cancels the call before B picks up the call.
If the proxy receives the "100 trying" and "180 ringing" before A sends CANCEL, the CANCEL is sent by the proxy to B.
But if the proxy only receives the "100 trying" before A sends CANCEL (a very fast cancel), The CANCEL is never sent by the proxy to B.

Regards,
Toni
  

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On Behalf Of Marian Dumitru
Sent: segunda-feira, 13 de Junho de 2005 11:24
To: Greger V. Teigre
Cc: Anders Hansson; serusers at lists.iptel.org
Subject: Re: [Serusers] Problem with cancel a invite

Hi Greger,

CANCEL has nothing to do with loose route - and it will never hit he 
loose route. The Route ser is set only when the dialog is established 
(200 ok); and CANCEL happens *before* the dialog completion.

The big idea with CANCEL is to take care to route it *exactly* as its 
INVITE.

As a hint, if you use TM, t_relay() all the time will take care to send 
the CANCEL to same destination as INVITE.

regards,
Marian

Greger V. Teigre wrote:
> Most likely you don't handle the CANCEL messages correctly. May be that 
> you don't do proper loose route handling.  Take a look at the example 
> configs (and the Getting Started document) at http://onsip.org/  You 
> gain much be following the logic found there, they have been verified 
> for all kinds of situations...
> g-)
> 
> Anders Hansson wrote:
> 
>> Hi all,
>> I´ve got a problem when trying to cancel an invite.
>> The situation: A makes a call to B (INVITE). B press the "hang up"
>> button. An here comes the problem.
>> From As side, everything is OK, but from Bs side, the phone is still
>> ringing...
>> How can a solve this problem? Anyone?
>>
>> Thanks,
>> Anders

-- 
Voice System
http://www.voice-system.ro

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list