[Devel] [ openser-Patches-1669730 ] add new value to $DLG_status (
dialog module)
SourceForge.net
noreply at sourceforge.net
Fri Mar 2 16:25:27 CET 2007
Patches item #1669730, was opened at 2007-02-27 09:00
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1669730&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: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Andy Pyles (andy_pyles)
>Assigned to: Bogdan (bogdan_iancu)
Summary: add new value to $DLG_status ( dialog module)
Initial Comment:
Currently, if a broken UA fails to mirror the Record-Route header containing the cookie used for the dialog module, $DLG_status has an undefined value. This patch adds a new value 0.
sample usage:
if($DLG_status==0 && method!="BYE") {
xlog("L_INFO","BROKEN RECORD-ROUTE IMPLEMENTATION DLG_status=$DLG_status\n");
exit;
}
Patch is against current svn.
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2007-03-02 17:25
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi Andy,
I applied the patch as idea :), not as code ...If the dialog not exists,
the PV will return NULL (instead of 0). This will make possible a better
distinction between status value and dialog not found.
regards,
bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1669730&group_id=139143
More information about the Devel
mailing list