diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-08 07:18:37 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-08 07:18:37 +0800 |
commit | edd980619c1e0f12176a0e714287076a4c1fbf20 (patch) | |
tree | 30c03734f673a5baf1f7d0f6044a886b7b996532 /openbsc/include/openbsc/mgcp.h | |
parent | 2c362abfb47d75fda3b75e96060dd72d60f19445 (diff) |
mgcp: Allocate a different port for the networking...
Use the right source port when sending the message.
Conflicts:
openbsc/include/openbsc/mgcp.h
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index b650210ec..548470135 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -29,6 +29,7 @@ #include <arpa/inet.h> #define RTP_PORT_DEFAULT 4000 +#define RTP_PORT_NET_DEFAULT 16000 /** * Calculate the RTP audio port for the given multiplex * and the direction. This allows a semi static endpoint @@ -92,6 +93,7 @@ struct mgcp_config { int audio_payload; int audio_loop; int rtp_bts_base_port; + int rtp_net_base_port; int endp_dscp; /* only used in forward mode */ |