aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 10:51:27 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 22:52:25 +0200
commit408cc4ace99a9163136af601549a5d1b67a168c7 (patch)
tree7457aa49ef0c944ecc8fc4feb4c9e32a9f6d6a0f /openbsc/include/openbsc/mgcp.h
parentb4b135efbf17f81a3faccb488ca35a5086adc618 (diff)
[mgcp] Add an option to allow using reallocing an endpoint
For some mode of operation it can be acceptable to reallocate an already allocated endpoint. This can be the case when we only deal with one call agent that is keeping track of the endpoint but slightly confused.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index c4081b109..71b7fc14e 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -97,6 +97,9 @@ struct mgcp_config {
char *forward_ip;
int forward_port;
+ /* spec handling */
+ int force_realloc;
+
mgcp_change change_cb;
mgcp_policy policy_cb;
mgcp_reset reset_cb;