From: Sean Bright Date: Fri, 17 Jan 2014 22:05:04 +0000 (+0000) Subject: Make sure the maxptime attribute is added to the correct offers. X-Git-Tag: 12.1.0-rc1~3^2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f9c44cb28679a70ce9eb5f9e179410ae6a91ce;p=thirdparty%2Fasterisk.git Make sure the maxptime attribute is added to the correct offers. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@405877 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0d0f446582..8c54f02ba3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13472,7 +13472,7 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int } if (max_audio_packet_size) { - ast_str_append(&a_text, 0, "a=maxptime:%d\r\n", max_audio_packet_size); + ast_str_append(&a_audio, 0, "a=maxptime:%d\r\n", max_audio_packet_size); } if (!doing_directmedia) {