On 28-02 08:48, Juha Heinanen wrote:
andres,
i made another simpler cancel test. first sip:jh@test.fi invites
sip:gs@test.fi, and gs starts ringing. then jh sends cancel to r-uri
sip:gs@test.fi, which ser.cfg immediately at the start of the script
t_relay()s out, i.e., without doing anything to the request. the result
is that ser correctly sends a cancel to the ip address/port of gs.
my conclusion of this is that cancels don't need to be processed by
ser.cfg, just relayed out. perhaps others familiar with tm mystics can
confirm or deny this.
Actually I think that you should apply exactly the same logic as when
processing the INVITE. CANCEL can be also sent end-to-end and in this
case the user location lookup would be necessary to route it to the
callee.
Jan.