summaryrefslogtreecommitdiffstats
path: root/src/sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp.c')
-rw-r--r--src/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 17eb577..df118aa 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -168,7 +168,7 @@ char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other)
struct in_addr net = { .s_addr = htonl(other->ip) };
char *fmtp_str = NULL, *sdp;
- leg->wanted_codec = app_media_name(other->payload_msg_type);
+ leg->wanted_codec = app_media_name(GSM_TCHF_FRAME); //other->payload_msg_type);
if (strcmp(leg->wanted_codec, "AMR") == 0)
fmtp_str = talloc_asprintf(leg, "a=fmtp:%d octet-align=1\r\n", other->payload_type);