summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorthe 34c3 gsm team <34c3-gsm@congress>2017-12-27 17:08:37 +0100
committerthe 34c3 gsm team <34c3-gsm@congress>2017-12-27 17:14:13 +0100
commit2129ed7ea337adf44128058b6260227f0fcea3bd (patch)
tree5d0cfafd31cb6dd7b70dec4aa1f4c5b05ab4fbc5 /src
parentc227fa7213c6edcc8faad8a6fbed79f158762340 (diff)
FORCE sdp to GSM/FR/8000
Diffstat (limited to 'src')
-rw-r--r--src/sdp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 213e979..35c0c59 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -179,13 +179,13 @@ char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other)
"s=GSM Call\r\n"
"c=IN IP4 %s\r\n"
"t=0 0\r\n"
- "m=audio %d RTP/AVP %d\r\n"
+ "m=audio %d RTP/AVP 3\r\n"
"%s"
- "a=rtpmap:%d %s/8000\r\n",
+ "a=rtpmap:3 %s/8000\r\n",
inet_ntoa(net), inet_ntoa(net), /* never use diff. addr! */
- other->port, other->payload_type,
+ other->port, // other->payload_type,
fmtp_str ? fmtp_str : "",
- other->payload_type,
+ //other->payload_type,
leg->wanted_codec);
talloc_free(fmtp_str);
return sdp;