|
@@ -10,7 +10,7 @@ Juha Heinanen
|
|
|
|
|
|
<[email protected]>
|
|
<[email protected]>
|
|
|
|
|
|
- Copyright © 2005-2009 Juha Heinanen
|
|
|
|
|
|
+ Copyright © 2005-2010 Juha Heinanen
|
|
Revision History
|
|
Revision History
|
|
Revision $Revision$ $Date$
|
|
Revision $Revision$ $Date$
|
|
__________________________________________________________________
|
|
__________________________________________________________________
|
|
@@ -691,15 +691,13 @@ if (!next_gw()) {
|
|
|
|
|
|
4.3. defunct_gw(period)
|
|
4.3. defunct_gw(period)
|
|
|
|
|
|
- Defuncts gateway selected by preceding next_gw() call for a period of
|
|
|
|
- seconds given as argument. Argument must be a positive integer constant
|
|
|
|
- or a pseudo variable with positive integer value. Value of defunct
|
|
|
|
- column in database is not updated.
|
|
|
|
|
|
+ Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp for a period
|
|
|
|
+ of seconds given as argument. Argument must be a positive integer
|
|
|
|
+ constant or a pseudo variable with positive integer value. Value of
|
|
|
|
+ defunct column in database is not updated.
|
|
|
|
|
|
Returns 1 on success and -1 in case of error (see syslog).
|
|
Returns 1 on success and -1 in case of error (see syslog).
|
|
|
|
|
|
- Must be preceded by successful next_gw() call.
|
|
|
|
-
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
Example 1.32. defunct_gw usage
|
|
Example 1.32. defunct_gw usage
|