@alexyosifov commented on this pull request.


> @@ -618,6 +627,7 @@ int decode_3gpp_sms(struct sip_msg *msg) {
                                        // Coding: 7 Bit
                                        if (rp_data->pdu.coding == 0x00) {
                                                // We don't care about the 
extra used bytes here.
+                                               rp_data->pdu.payload.sm.len = 
len;
                                                rp_data->pdu.payload.sm.len = 
gsm_to_ascii(&body.s[p], len, rp_data->pdu.payload.sm, fill_bits);

Yes "rp_data->pdu.payload.sm" is used in the gsm_to_ascii(...). You can see 
that sms.len is used in a few "if" statements.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2556#discussion_r529851407
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to