[OpenSER-Devel] [ openser-Feature Requests-1596331 ] Change header FROM in CANCEL automatically

SourceForge.net noreply at sourceforge.net
Fri Oct 5 17:13:23 CEST 2007


Feature Requests item #1596331, was opened at 2006-11-14 16:14
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1596331&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
>Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Leonid Fainshtein (leonidf)
Assigned to: Bogdan (bogdan_iancu)
Summary: Change header FROM in CANCEL automatically

Initial Comment:
Despite the automatic mode for "From" header restore is
defined (modparam("uac","from_restore_mode","auto")),
it is still necessary to change header FROM in the
script for the CANCEL requests.

----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2007-10-05 18:13

Message:
Logged In: YES 
user_id=1275325
Originator: NO

OK - DONE.

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2007-07-13 12:06

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Ardjan,

This fix is not yet done - still on my TODO list, but it will done asap
and for sure for the next release.

regards,
bogdan

----------------------------------------------------------------------

Comment By: Ardjan Zwartjes (ardjan_zwartjes)
Date: 2007-07-13 10:10

Message:
Logged In: YES 
user_id=1744253
Originator: NO

Hi Bogdan,

That's good news, any idea on when this fixup will be released? Or is it
already fixed in the current SVN version?

Kind regards,
Ardjan Zwartjes.

----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2007-07-12 18:29

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Ardjan,

I specially left aside this item because it will be automatically solved
by another fixup. According the RFC, the CANCEL (in stateful mode) must
hop-by-hop generated and not relayed. As the function generating a local
CANCEL already works, the problem will be fixed ;)

regards,
bogdan

----------------------------------------------------------------------

Comment By: Ardjan Zwartjes (ardjan_zwartjes)
Date: 2007-07-12 17:39

Message:
Logged In: YES 
user_id=1744253
Originator: NO

I'm using the from.c and from.h files of the uac module in a custom module
and ran into the same problem. I've sort of fixed this by registering a new
TM callback for type TMCB_REQUEST_IN when I call replace from. This
callback is registered for the transaction, not the message and therefore
is called when the CANCEL is received. I pass the new URI as a parameter to
the callback and do another replace_from if this callback is called for a
CANCEL. Although I wouldn't consider this approach very nice it does work.

----------------------------------------------------------------------

Comment By: Carsten Bock (carstenbock)
Date: 2007-06-21 14:05

Message:
Logged In: YES 
user_id=1488991
Originator: NO

Just a thought i has this morning:
Couldn't we make TM create the CANCEL-Messages, like it does for forked
requests?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1596331&group_id=139143



More information about the Devel mailing list