diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 07:30:58 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 07:30:58 +0200 |
commit | 538ea6d5c64cb048ba10bf7ec7e6dae6385ce142 (patch) | |
tree | 613f9b41392a673007aec0225724035b5dda8e01 /openbsc/include/openbsc | |
parent | e14ec0dab48029bb4746b6c49d22a0ee6fa6b47c (diff) |
[nat] Send a RSIP down to the BSC after it connects
Make sure the MGCP attached to the BSC is resetting all
endpoints whenever the BSC is connecting to us as we assume
that all endpoints are available.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index ab80cb401..835a2ae88 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -35,7 +35,7 @@ #define DIR_BSC 1 #define DIR_MSC 2 -#define NAT_IPAC_PROTO_MGCP +#define NAT_IPAC_PROTO_MGCP 0xfc struct bsc_nat; @@ -176,6 +176,7 @@ struct sccp_connections *patch_sccp_src_ref_to_msc(struct msgb *, struct bsc_nat /** * MGCP/Audio handling */ +int bsc_write_mgcp(struct bsc_connection *bsc, const u_int8_t *data, unsigned int length); int bsc_mgcp_assign(struct sccp_connections *, struct msgb *msg); void bsc_mgcp_clear(struct sccp_connections *); |