Ensure that T38FaxVersion is put into outgoing SDP in the proper case.
[asterisk/asterisk.git] / channels / chan_sip.c
index 8a91c54..f5cae74 100644 (file)
@@ -10162,7 +10162,7 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int
 
                ast_str_append(&m_modem, 0, "m=image %d udptl t38", ntohs(udptldest.sin_port));
 
-               ast_str_append(&a_modem, 0, "a=T38Faxversion:%d\r\n", p->t38.our_parms.version);
+               ast_str_append(&a_modem, 0, "a=T38FaxVersion:%d\r\n", p->t38.our_parms.version);
                ast_str_append(&a_modem, 0, "a=T38MaxBitRate:%d\r\n", t38_get_rate(p->t38.our_parms.rate));
                if (p->t38.our_parms.fill_bit_removal) {
                        ast_str_append(&a_modem, 0, "a=T38FaxFillBitRemoval\r\n");