Change-Id: I066027c3cb16d5ae7c2db33983798f269bd743c4
This commit is contained in:
Neels Hofmeyr 2018-12-15 13:39:59 +01:00 committed by gsmevent admin
parent 0c232d89bf
commit 8b8d6f939a
2 changed files with 3 additions and 3 deletions

View File

@ -320,7 +320,7 @@ static void continue_mt_call(struct mncc_call_leg *leg)
return;
/* assume the type is compatible */
other_leg->payload_type = leg->base.payload_type;
other_leg->payload_type = 3; //leg->base.payload_type;
}
static void continue_call(struct mncc_call_leg *leg)
@ -382,7 +382,7 @@ static void check_rtp_create(struct mncc_connection *conn, const char *buf, int
/* extract information about where the RTP is */
leg->base.ip = rtp->ip;
leg->base.port = rtp->port;
leg->base.payload_type = rtp->payload_type;
leg->base.payload_type = 3;//rtp->payload_type;
leg->base.payload_msg_type = rtp->payload_msg_type;
/* TODO.. now we can continue with the call */

View File

@ -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);