[OpenSER-Devel] [ openser-Feature Requests-1596331 ] Change header
FROM in CANCEL automatically
SourceForge.net
noreply at sourceforge.net
Thu Jul 12 16:39:10 CEST 2007
Feature Requests item #1596331, was opened at 2006-11-14 15:14
Message generated for change (Comment added) made by ardjan_zwartjes
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: None
Status: Open
Resolution: None
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: Ardjan Zwartjes (ardjan_zwartjes)
Date: 2007-07-12 16: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 13: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