[Devel] [ openser-Feature Requests-1662566 ] Enhance
t_check_status()
SourceForge.net
noreply at sourceforge.net
Mon Feb 19 10:09:01 CET 2007
Feature Requests item #1662566, was opened at 2007-02-18 00:49
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1662566&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: Invalid
Priority: 5
Private: No
Submitted By: Norman Brandinger (goestelecom)
>Assigned to: Bogdan (bogdan_iancu)
Summary: Enhance t_check_status()
Initial Comment:
I would like to suggest an enhancement to tm/tm.c t_check_status(), or perhaps the addition of a "$T_Check_Status" variable.
The idea would to be able to create the following code in a configuration file:
switch($T_Check_Status) {
...
}
or
switch (t_check_status() {
case 302:
xlog("L_NOTICE", "Recipient moved, redirecting\n");
$ru = "new_location at gw.com";
t_relay();
break;
case 481:
xlog("L_NOTICE", "Call Leg/Transaction Does Not Exist\n);
exit;
default:
xlog("L_NOTICE", "Warning Unhandled Status\n");
}
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2007-02-19 11:09
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi Norman,
you already have the PV $T_reply_code in TM. See:
http://www.openser.org/docs/modules/1.2.x/tm.html#AEN559
regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1662566&group_id=139143
More information about the Devel
mailing list