aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_protocol.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-01 22:38:25 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-02 19:08:09 +0100
commit8b19dee437cdd73f75413d5f936e768939e3db71 (patch)
tree107881508da43f7e408674e519fdba380a74f83e /openbsc/src/mgcp/mgcp_protocol.c
parent5f2cd842818a8809865d1caacc78bdf92c823e40 (diff)
mgcp: Send data from the network to the transcoder too
We now should be able to transcode in both directions.
Diffstat (limited to 'openbsc/src/mgcp/mgcp_protocol.c')
-rw-r--r--openbsc/src/mgcp/mgcp_protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c
index 84fd1551e..f8f70679e 100644
--- a/openbsc/src/mgcp/mgcp_protocol.c
+++ b/openbsc/src/mgcp/mgcp_protocol.c
@@ -942,8 +942,8 @@ static void create_transcoder(struct mgcp_endpoint *endp)
if (!endp->is_transcoded)
return;
- send_msg(endp, in_endp, endp->trans_bts.local_port, "CRCX", "recvonly");
- send_msg(endp, in_endp, endp->trans_bts.local_port, "MDCX", "recvonly");
+ send_msg(endp, in_endp, endp->trans_bts.local_port, "CRCX", "sendrecv");
+ send_msg(endp, in_endp, endp->trans_bts.local_port, "MDCX", "sendrecv");
send_msg(endp, out_endp, endp->trans_net.local_port, "CRCX", "sendrecv");
send_msg(endp, out_endp, endp->trans_net.local_port, "MDCX", "sendrecv");