[OpenSIPS-Devel] [OpenSIPS/opensips] 4f5238: Do not delete any internal AVP if "C" flag is used...
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Aug 17 17:10:38 CEST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4f523858ca57337aec460198948b02359baced00
https://github.com/OpenSIPS/opensips/commit/4f523858ca57337aec460198948b02359baced00
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-08-17 (Wed, 17 Aug 2016)
Changed paths:
M modules/drouting/drouting.c
Log Message:
-----------
Do not delete any internal AVP if "C" flag is used.
When calling do_routing() with "C" flag (only check the prefix, without actually doing any routing), do not remove any AVP (in the beginning) as we do not add any (after prefix matching) -> no adding, so no deleting.
This allows you to safely call do_routing("C") while looping throuhg the GWs of another do_routing().
(cherry picked from commit 8fcc77cb87ba76e831466fb0a3da90eb556671d8)
More information about the Devel
mailing list