`amodem_send_calls_update` calls `amodem_unsol`, which cleans modem out buffer and will cause all prepared message being overwritten. You'll probably have to call it before `amodem_begin_line`.