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